Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
5.15.2, 6.5, 6.7.0
-
None
-
-
5ea248155 (dev), 64984f66a (6.7)
Description
This bug is only present with Qt 6.7.0 (or higher?). It work fine with older Qt versions.
It is only present on Windows 11. It work fine with Windows 10 and other operating systems.
This bug is only present if you start the application with the default Qt style. It work fine if you start the application for example with the fusion style.
/edit Christian Ehrlicher:
As my comment and reproducer shows it has not much to do with the new windows11 style - it just reveals a bug which was there already since ages. QWidget::render() does not correctly set the layout direction from the current widget to the painter used for rendering.
If you have a Qt application with a right to left languarge, then the aligment of strings in the main menu is wrong. It is left alignet instead of right.
Attachments
For Gerrit Dashboard: QTBUG-124931 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
560424,1 | QWidget: fix render() in RTL mode | tqtc/lts-6.5 | qt/tqtc-qtbase | Status: NEW | +2 | 0 |
559421,6 | QWidget: fix render() in RTL mode | dev | qt/qtbase | Status: MERGED | +2 | +1 |
560340,2 | QWidget: fix render() in RTL mode | 6.7 | qt/qtbase | Status: MERGED | +2 | 0 |