Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.12.2
-
0525d640cd11ddced2ec418be182c585204fc45f (qt/qtquickcontrols2/5.12)
Description
When calling QQmlEngine::retranslate() it will cause the background of a highlighted MenuItem to be smaller than the Menu width.
Before calling retranslate() it will be correct as the highlight will go all the way across of the menu width, but after retranslate is called it will be just the size of the text. In the example, move the mouse over a menu item and then wait a few seconds before it will redraw and be too short.
This is only in the Imagine style as it is fine in the other styles.
Attachments
Issue Links
- depends on
-
QTBUG-75141 Make tst_qquickmenu run with all styles
- Closed
- relates to
-
QTBUG-75142 Mirrored MenuItems with sub-menus do not fill the Menu's width as they should
- Closed
For Gerrit Dashboard: QTBUG-75051 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
258633,5 | WIP: Imagine: fix MenuItems reverting to implicit size on retranslate() | 5.12 | qt/qtquickcontrols2 | Status: ABANDONED | -2 | 0 |
258906,13 | Fix MenuItem width not matching Menu's available width | 5.12 | qt/qtquickcontrols2 | Status: MERGED | -2 | 0 |