Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
6.6.1, 6.6
-
None
-
deepin / chrome 120.0.6099.129
-
-
0534a93ef (dev), 7b38b5e36 (6.7), 79e5cc7e1 (6.6)
Description
- use chrome create a shorcut of website(chrome–menu–more tools–create shortcut)
- desktop file path `~/.local/share/applications/chrome-fldmbijiogoemfecifgkfeoadboaboni-Profile_12.desktop`
- icon path `/home/mike/.local/share/icons/hicolor/16x16/apps`
- QIcon::fromTheme("chrome-fldmbijiogoemfecifgkfeoadboaboni-Profile_12") got iconName `chrome` with path `/usr/share/icons/Papirus/96x96/apps/chrome.svg`
Because libqtxdg adapts to Qt6 and is still on ` WIP` , xdgiconloader cannot be used to find icons in Qt6, and `QIconLoader` in Qt6 is already doing these things. But It dashfallbacks in advance when searching for icons before searching for the complete iconname in hicolor.
https://github.com/lxqt/libqtxdg/pull/261 has fixed this issue
Attachments
For Gerrit Dashboard: QTBUG-121030 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
530805,6 | Make sure hicolor is searched before dash fallbacks | dev | qt/qtbase | Status: MERGED | +2 | 0 |
531529,2 | Make sure hicolor is searched before dash fallbacks | 6.7 | qt/qtbase | Status: MERGED | +2 | 0 |
531716,2 | Make sure hicolor is searched before dash fallbacks | 6.6 | qt/qtbase | Status: MERGED | +2 | 0 |