Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-41944

[REG 5.3->5.4] Windows 7: Scrollbar gripper is not hidden when scroll handle is too small for gripper

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P4: Low P4: Low
    • 5.4.0
    • 5.4.0
    • None
    • Windows 7 [only]
    •  763a48fe1af5b0482f929a79ded05ea21456a916 (qtbase/5.4, 22.10.2014, 5.4) , 963037d86b6298fd314450f933376fe589b309e6 (qtbase/5.4, 22.10.2014, 5.4) https://codereview.qt-project.org/#/c

      On Windows, if you resize a window containing scroll bars to be small enough that the scroll bar's handle gets very small, the gripper on the handle should disappear. However, the gripper is instead drawn at (0, 0) of the scroll bar instead of being hidden.

      The attached screenshots show the qtbase/examples/widgets/widgets/sliders/sliders.pro example experiment. To reproduce the bug, resize the window to the smallest possible size and notice how the horizontal scroll bar has the gripper drawn at (0, 0).

      I believe that this commit was introduced in 176bd1edfadcb68b914a27de75502edeb1081253, which references QTBUG-38993 and QTBUG-38858.

        1. Slider_GripperBadRect.PNG
          15 kB
          Adam Light
        2. Slider_GripperOKRect.PNG
          15 kB
          Adam Light
        3. qtbug41944_diag_4.diff
          2 kB
          Friedemann Kleint
        4. qtbug41994_53_diag.diff
          2 kB
          Friedemann Kleint
        For Gerrit Dashboard: QTBUG-41944
        # Subject Branch Project Status CR V

            kleint Friedemann Kleint
            aclight Adam Light
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes