View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005540 | JEDI VCL | 00 JVCL Components | public | 2011-03-31 17:46 | 2011-04-06 21:13 |
Reporter | ralfiii | Assigned To | jfudickar | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 3.39 | ||||
Target Version | Fixed in Version | ||||
Summary | 0005540: TJvFileName fails to open Filebrowser if illegal path in textfield | ||||
Description | * place a TJvFormStorage on a form * Run the app * Enter "foo:foo" into the TJvFormStorage * Press the "browse"-button -> No file browser opens | ||||
Tags | No tags attached. | ||||
|
Sorry I do not understand what you are telling us. Where should the "foo:foo" be entered? Could you create a sample? Regards Jens |
|
Uups. Mistyped. Forget all the FormStorages, I meant TJvFileName. Put an TJvFileName on a form and enter the text there, then press the button. |
|
Which Delphi and OS version. For me it works with D-XE and Win 7. Regards Jens |
2011-04-04 08:49
|
Delete.7z (319,802 bytes) |
|
With Delphi2007 and Delphi2010, WinXP I've attached a demo-app compiled in Delphi2007 |
|
The problem seems to be a problem of the core delphi openfile dialog, and it seems to be fixed in D2010. I've tested in D7 and there the component returns directly when this invalid filename is entered. In D2009, D2010 and DXE (I will attached both versions) it works without problems. |
2011-04-04 22:47
|
TJvFileName_fails_to_open.7z (1,004,025 bytes) |
|
I have tested all your 4 exe-files on a fresh WinXP-Virtual machine and all 4 Exe-Files fail. (they all don't show the file browser when clicking the button) I tested on a german WinXP Prof, Version 2002, SP2 Btw: impressive differences in file size, Delphi-Apps are growing enormously :) |
|
So what should we do? It seems to be a OS based problem, and this is nothing we could handle so easy on our level. |
|
The problem seems to be TOpenDialog - it refuses to open when filename = 'foo:foo'. We could improve the function ValidFileName in JvJCLUtils, then this problem would not occur, or we simply ignore it. I guess ignoring is quite ok in this case. jfudickar: Thanks anyway! |
|
I would also think not to change it. With Win7 the filedialog comes. So what is a valid file name :-) |
Date Modified | Username | Field | Change |
---|---|---|---|
2011-03-31 17:46 | ralfiii | New Issue | |
2011-03-31 21:35 | jfudickar | Note Added: 0018495 | |
2011-03-31 21:35 | jfudickar | Status | new => feedback |
2011-04-01 08:51 | ralfiii | Note Added: 0018498 | |
2011-04-01 22:08 | jfudickar | Note Added: 0018505 | |
2011-04-04 08:49 | ralfiii | File Added: Delete.7z | |
2011-04-04 08:50 | ralfiii | Note Added: 0018508 | |
2011-04-04 22:47 | jfudickar | Note Added: 0018511 | |
2011-04-04 22:47 | jfudickar | File Added: TJvFileName_fails_to_open.7z | |
2011-04-05 09:02 | ralfiii | Note Added: 0018512 | |
2011-04-05 09:13 | jfudickar | Note Added: 0018513 | |
2011-04-05 10:00 | ralfiii | Note Added: 0018514 | |
2011-04-06 21:13 | jfudickar | Note Added: 0018515 | |
2011-04-06 21:13 | jfudickar | Status | feedback => resolved |
2011-04-06 21:13 | jfudickar | Resolution | open => fixed |
2011-04-06 21:13 | jfudickar | Assigned To | => jfudickar |