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

REG: Choice's drop-down appears at wrong location when placed inside a scrollpane, XToolkit

XMLWordPrintable

    • b28
    • 6
    • b43
    • x86, sparc
    • linux_sun, solaris, solaris_10
    • Verified

      I am placing a Choice component inside a scrollpane and adding the scrollpane to a frame. When I resize the frame little bit inward and click on the Choice, the drop-down appears at a wrong location. It is shown much away from the actual component. This is embarassing.

      This is reproducible only on XToolkit, only with Mustang builds. Not reproducible on Tiger-FCS with XAWT. Not reproducible with Motif, Win32. I reproduced it on Cinnabar as well as SolSparc10-CDE with Mustang b29-b32.

      I have attached a sample test. Execute the sample test. You would see a frame with a scrollpane. Resize the frame in the inward direction by moving the left border of the frame towards right. Scroll the scrollpane in order to make Choice visible. Make sure the size of the scrollpane is equivalent to or slightly bigger than choice's size. Click on Choice. You would notice that the drop-down of choice appearing in a different location. I have attached the screenshot of the same.

      ###@###.### 2005-04-26 11:29:44 GMT

            dmikhalksunw Denis Mikhalkin (Inactive)
            pmohansunw Praveen Mohan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: