-
Bug
-
Resolution: Not an Issue
-
P3
-
None
-
5.0
-
x86
-
linux_sun
I am showing a frame with a button. When the button is clicked, a native file dialog appears. I am running this app on a linux / solaris with XToolkit. When I click on the button the first time, the file dialog appears properly at the specified location with a standard size. I am cancelling it and clicking on the button again. This time, the file dialog looks much smaller in size and I had to resize it to make components visible. This is incorrect. Regardless of how many times the dialog is shown, it must be shown in a standard size or the size specified by the user.
This is not reproducible on Motif, Win32. This is reproducible only on XToolkit. This is reproducible with Tiger-beta and not on previous releases. Since XToolkit is the default toolkit on linux for tiger, this is a regression on Linux for tiger.
I have attached a sample test. Execute it on linux / solaris with XToolkit. Click on the 'Show Dialog' button. You would see a file dialog. Cancel the file dialog and click on the same button again. Check whether the dialog's size is same as before. If not, it is a bug.
This is not reproducible on Motif, Win32. This is reproducible only on XToolkit. This is reproducible with Tiger-beta and not on previous releases. Since XToolkit is the default toolkit on linux for tiger, this is a regression on Linux for tiger.
I have attached a sample test. Execute it on linux / solaris with XToolkit. Click on the 'Show Dialog' button. You would see a file dialog. Cancel the file dialog and click on the same button again. Check whether the dialog's size is same as before. If not, it is a bug.
- relates to
-
JDK-5097472 Dialog's methods are unusable with FileDialog, leads to unpredictable behavior
-
- Open
-