Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.5.3, 6.6.3, 6.7.2
-
None
Description
Platform menu icon gets corrupted when changing screen scale factor if the menu item is disabled.
Code sample:
import QtQuick import QtQuick.Window import Qt.labs.platform as Platform Window { visible: true Platform.Menu { id: menu Platform.MenuItem { text: 'Smile!' icon.source: 'qrc:/smile.png' enabled: false } } TapHandler { acceptedButtons: Qt.RightButton onTapped: menu.open() } }
Full reproducer - reproducer.zip
Steps to reproduce:
1. Set screen scale factor to 125%
2. Build and run sample program
3. Click right mouse button and observe the menu, it looks as expected
4. Change screen scale factor to 100%
5. Observe the menu once again, the icon is corrupted - BUG
Attachments
Issue Links
- relates to
-
QTBUG-103017 Qt.labs.platform Menu does not show icons
- Closed
-
QTBUG-69558 Implement support for native Popups and Menus
- Open