Bug 355866

Summary: Svg size hint should be scaled by device pixel ratio
Product: [Frameworks and Libraries] libplasma Reporter: Kai Uwe Broulik <kde>
Component: libplasmaAssignee: Marco Martin <notmart>
Status: RESOLVED DUPLICATE    
Severity: normal CC: katyaberezyaka, nate
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=390147
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Kai Uwe Broulik 2015-11-24 21:59:30 UTC
The size hint provided by the icon, for example 22-22-foo is to load a less detailed graphic when a smaller icon is requested. On a high dpi screen it will request a larger icon that will eventually be rendered on the same physical area as on a low dpi screen making the icon hard to see due to thin lines.

Reproducible: Always

Steps to Reproduce:
1. Have high dpi screen
2. Look at battery icon in tray
3.

Actual Results:  
It is using the regular Fill icons

Expected Results:  
It should be using the 22-22-Fill icons because it's a small icon
Comment 1 Marco Martin 2015-11-24 22:13:10 UTC
this happens using QT_DEVICE_PIXEL_RATIO or the internal way?
Comment 2 Kai Uwe Broulik 2015-11-24 22:14:52 UTC
It's using Units::devicePixelRatio() as far as I can see
Comment 3 Nate Graham 2020-11-30 21:34:50 UTC
Is this related to or the same issue as Bug 390147?
Comment 4 Nate Graham 2021-07-28 16:48:38 UTC
In fact this is fixed by the fix for Bug 390147; duping.

*** This bug has been marked as a duplicate of bug 390147 ***