Bug 466678

Summary: Missing icon sizes are replaced with different higher-res versions at 100% and 200% screen scale
Product: [Frameworks and Libraries] frameworks-kiconthemes Reporter: Alexander Wilms <f.alexander.wilms>
Component: generalAssignee: Christoph Feck <cfeck>
Status: CONFIRMED ---    
Severity: normal CC: kdelibs-bugs-null, nate
Priority: NOR    
Version First Reported In: 5.103.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=466630
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Cuttlefish screenshot of system-switch-user icon at 100% scale on Wayland
Cuttlefish screenshot of system-switch-user icon at 200% scale on Wayland
Cuttlefish screenshot of system-switch-user icon at 100% scale on X11
Cuttlefish screenshot of system-switch-user icon at 200% scale on X11

Description Alexander Wilms 2023-03-01 20:43:17 UTC
SUMMARY
The Breeze icon theme does not contain a 16 px version of the system-switch-user icon. Therefore, a higher-resolution icon is scaled down and used when a 16 px version of this icon is requested. The resolution of the original icon that's used as a placeholder differs depending on the used graphics platform. At 100% scale, the 22 px icon is scaled to 16 px and at 200% scale, the 32 px icon is scaled to 16 px.

This issue was discovered while investigating https://bugs.kde.org/show_bug.cgi?id=466630

STEPS TO REPRODUCE
1. Set screen scale to 100% under "System settings > Display and Monitor > Display Configuration > Scale"
2. Open the icon viewer cuttlefish
3. Search system-switch-user icon
4. Set screen scale to 200%
5. Log out and back in
5. Open the icon viewer cuttlefish
6. Search system-switch-user icon

OBSERVED RESULT
The 16 px versions of the icon differ based on the screen scale used.

EXPECTED RESULT
The icons always look identical at a particular size

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20230228
KDE Plasma Version: 5.27.1
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.12-1-default (64-bit)
Graphics Platform: Wayland


ADDITIONAL INFORMATION
Comment 1 Alexander Wilms 2023-03-01 20:44:45 UTC
Created attachment 156895 [details]
Cuttlefish screenshot of system-switch-user icon at 100% scale on Wayland
Comment 2 Alexander Wilms 2023-03-01 20:44:58 UTC
Created attachment 156896 [details]
Cuttlefish screenshot of system-switch-user icon at 200% scale on Wayland
Comment 3 Alexander Wilms 2023-03-01 20:45:15 UTC
Created attachment 156897 [details]
Cuttlefish screenshot of system-switch-user icon at 100% scale on X11
Comment 4 Alexander Wilms 2023-03-01 20:45:27 UTC
Created attachment 156898 [details]
Cuttlefish screenshot of system-switch-user icon at 200% scale on X11
Comment 5 Nate Graham 2023-03-02 20:10:49 UTC
Can reproduce. It's weird.
Comment 6 Alexander Wilms 2023-03-02 20:15:52 UTC
This part of the original report is wrong:

"The resolution of the original icon that's used as a placeholder differs depending on the used graphics platform."

The placeholder depends on the screen scale, not the graphics platform.