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

scrollbar spans are wrong

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.0
    • client-libs
    • sparc
    • solaris_2.4

      From ###@###.### Mon Jan 1 20:03:33 1996
      To: Arthur.Vanhoff@Eng (Arthur van Hoff)
      From: Larry Podmolik <###@###.###>
      Subject: A few java questions, bugs

      o The Scrollbar class seems all goofed up, and in different ways
              on different platforms:

              - On Sun, there are problems with the "span" of the scrollbar.
                I could find no way to make the scrollbar realize that my
                entire logical area would fit within the "visible" are,
                and therefore the scrollbar should display with the
                movable part being the entire size of the scrollbar. (Did
                that make sense?) In other words even if I explicitly do
                something like

                      Scrollbar sb = ...
                      sb.setValues(0, 100, 0, 100);

                the proportional size of the scrollbar thumb is drawn as
                if it is only about 50% visible. If this explanation doesn't
                make sense, I can send you a code example that demonstrates
                the problem.

              - On Windows 95, the scrollbar behaves much better (the above
                problem doesn't occur), but it is just plain UGLY! Do you
                plan to use the Windows native controls for FCS?

              - On both platforms, there are scrolling problems. For one,
                the scrollbar doesn't move if you hold down the mouse button
                on one of the arrows on the end. On Sun, clicking in the
                area between the end arrow and the scrollbar thumb acts
                very weird -- you get movement only if you move the mouse
                around while holding down the button! I think this also
                happens if you hold down the button over the arrows.

            gsaab Georges Saab
            ahoffsunw Arthur Hoff (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: