Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.8.0, 6.8.1
-
Windows 11
-
-
298e81192 (dev), a223eca4a (6.9)
Description
The icons set in QListWidgetItem appear stretched by 4 pixels when using the Windows native theme. other themes are not affected.
Native (Windows 11):
I've found that Qt alters the size of rectangles used for SE_ItemViewItemDecoration, expanding it by 4 pixels, resulting in the stretched icons
I've attached a sample app, by default it will run using the native theme, an argument of -f can be used to force fusion theme
I've attached a patch that removes this adjustment, however, I do not know if this will cause other issues
Attachments
For Gerrit Dashboard: QTBUG-131955 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
633876,3 | Windows11Style/WindowsVistaStyle: don't modify SE_ItemViewItemDecoration | dev | qt/qtbase | Status: MERGED | +2 | 0 |
640742,2 | Windows11Style/WindowsVistaStyle: don't modify SE_ItemViewItemDecoration | 6.9 | qt/qtbase | Status: MERGED | +2 | 0 |