Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-5097242

REG: File dialog size becomes small when bringing up for the second time, XTlkt

XMLWordPrintable

    • 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.

            yan Yuri Nesterenko
            pmohansunw Praveen Mohan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: