Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
6.5.0 Beta1
-
-
e26a87f1e (dev), b29f12be3 (6.6), 76b3a4cd5 (6.5)
Description
Looks like 46f98147f4e3a09b32042c0655d5de7285a795e3 ([~santhoshkumar]) introduces a regression for all widgets in RTL mode - e.g. the scrollbars are painted in the wrong order and the scroll direction is wrong:
This is due to the fact that visualRect() is called twice inside qwindowsvistastyle::subControlRect() in the default branch because the base class (qcommonstyle) already calls visualRect() and it's called again afterwards (line 4511).
I've attached a testcase for a QScrollBar but there should also be other widgets affected.
Found by a user report in the forum: https://forum.qt.io/topic/148177/
Attachments
For Gerrit Dashboard: QTBUG-116224 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
497752,2 | WindowsVista style: fix subControlRect() in rtl mode | 6.5 | qt/qtbase | Status: MERGED | +2 | 0 |
497753,2 | WindowsVista style: fix subControlRect() in rtl mode | 6.6 | qt/qtbase | Status: MERGED | +2 | 0 |
497781,2 | WindowsVista style: fix subControlRect() in rtl mode | dev | qt/qtbase | Status: MERGED | +2 | 0 |