Details
-
Bug
-
Resolution: Done
-
P4: Low
-
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
- is duplicated by
-
QTBUG-42066 Scrollbar handle image is not display at the right place when handle smaller than image
- Closed
- is required for
-
QTBUG-40277 Adapt styles to High DPI
- Closed
- replaces
-
QTBUG-42001 contextinfo example scrollbar gripper overlaps up arrow button
- Closed