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

Details

    • Bug
    • Resolution: Done
    • 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

    Description

      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.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes