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

OGL + XAWT: FileDialog drop-down is not properly painted when navigating thro' sub dirs

XMLWordPrintable

    • b62
    • sparc
    • solaris_10
    • Verified

      I am showing a frame that has 2 buttons. Click on one of the buttons. A file dialog will open up. View the drop-down once. Now I am selecting some folders from left-side list till I reach a folder that does not have any sub-folders. The path selected is relatively long with atleast 10 folders in it from the root. Now when I click on the drop-down button (next to 'Enter path or folder name' field), a drop-down appears. But the contents in the drop-down are not painted at the right location and they are shifted down towards the left side within the drop-down. So all the items are truncated and I could not make out anything from what is shown there.

      This is reproducible only on XAWT with OpenGL pipleline and not reproducible with Win32. I reproduced it on SolarisSparc10-JDS (SunBlade2500) with XVR-600 frame buffer installed with Sun OGL libraries. I reproduced it with Mustang-b51 and not reproducible on earlier builds because of a deadlock bug in OGL+XAWT code that prevented file dialog from coming up properly (which got fixed b51).

      I have attached a sample test to this bug report.

            dcherepanov Dmitry Cherepanov
            pmohansunw Praveen Mohan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: