-
Bug
-
Resolution: Fixed
-
P3
-
5.0
-
b45
-
sparc
-
solaris_9
-
Verified
I am setting a file name programmatically through setFile() method call. I am opening the file dialog and navigating through some of the directories. As soon as I make some selection in the file dialog (dir), the file name set is getting overridden. This is incorrect. This makes sense when the user selects some file but doesn't make sense when the user selects some folder.
This is reproducible with XToolkit on Tiger as well as Mustang. Not reproducible on Motif and Win32. On Motif / Win32, the file name set programmatically is retained until the user selects some file from the dialog.
I have attached a sample test. Execute the sample test. You would see a frame with 2 buttons. Click on SAVE button. A file dialog will be opened with a file name set already. Double-click on any of the folder names and click OK. If the file name is printed as null on the console, the bug is reproduced. The expected value must be <selected dir> + <file name set>.
###@###.### 2005-04-25 12:58:19 GMT
This is reproducible with XToolkit on Tiger as well as Mustang. Not reproducible on Motif and Win32. On Motif / Win32, the file name set programmatically is retained until the user selects some file from the dialog.
I have attached a sample test. Execute the sample test. You would see a frame with 2 buttons. Click on SAVE button. A file dialog will be opened with a file name set already. Double-click on any of the folder names and click OK. If the file name is printed as null on the console, the bug is reproduced. The expected value must be <selected dir> + <file name set>.
###@###.### 2005-04-25 12:58:19 GMT