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

REGRESSION: Can't click on Scrollbar of a JComboBox drop down with Windows LaF

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 1.4.0
    • client-libs



      Name: rmT116609 Date: 11/02/2001


      java version "1.4.0-beta3"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta3-b84)
      Java HotSpot(TM) Client VM (build 1.4.0-beta3-b84, mixed mode)

      With windows look and feel click and release on a JComboBox that has a list of choices long enough to
      require a scrollbar. If you then attampt to click on the scrollbar to scroll the list of choices the drop down
      dissappears instead.

      When I first played with the combo box example using the windows look and feel it worked correctly, no
      matter how much a fiddled with the comboboxes. But I swithed back to the metal (java) look and feel
      played a bit and then switched back and to windows look and feel and it started failing 100% of the time.

      I made another important discovery!!! There is another bug that is related. When the windows look and feel
      is in the state where it is always failing it seems it doesn't matter where you click in the drop down list - the
      result is that the list dissappears without any selection action being taken or scroll or anything.

      With that same session of SwingSet2 I switched back and forth several times between the java look and feel
      and the windows look and feel, the windows look and feel was consistently broken for all but the very first
      time I tried it. The java look and feel worked fine every time.

      I exited and launched the SwingSet2 demo again. The first time I switched to windows look and feel it worked.
      I switched back to java look and feel and then back to windows look and feel and it was broken again. I tried
      two more times.. same result - when I switch to windows look and feel the second time it will be stuck such that
      it always fails.

      please look into Bug Id 4163682 for information as well.


      Additional information:

      When I first encountered the bug I was using an XML editor called "Merlot" version 1.0.1 http://www.merlotxml.org/downloads.shtml

      I have re tried the experiement on my home computer (same JDK, Win2k SP2, dual processor, 256MB RAM, GeForce DDR ). I used
      the SwingSet2 demo that comes with the JDK.
      (Review ID: 134847)
      ======================================================================

            peterz Peter Zhelezniakov
            rmandalasunw Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: