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.