Bug 374035 - Some controls do not scale according to current DPI
Summary: Some controls do not scale according to current DPI
Status: CLOSED NOT A BUG
Alias: None
Product: Breeze
Classification: Plasma
Component: general (show other bugs)
Version: 5.8.4
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Development Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-22 12:41 UTC by artem
Modified: 2016-12-22 20:12 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Breeze theme does not fully respect DPI setting (369.77 KB, image/png)
2016-12-22 12:41 UTC, artem
Details
Fusion theme respects DPI (368.50 KB, image/png)
2016-12-22 12:44 UTC, artem
Details

Note You need to log in before you can comment on or make changes to this bug.
Description artem 2016-12-22 12:41:29 UTC
Created attachment 102943 [details]
Breeze theme does not fully respect DPI setting

I'm using KDE on 4k display without scaling (scaling makes 4k useless) but with DPI set to 280. Some controls of Breeze theme do not scale properly accoring to DPI setting. Checkboxes, radio buttons, scrollbars, drop-down and up/down icons, sliders are very tiny, while buttons and textboxes a properly sized (see the screenshot). This makes hard to use this theme with high resolution. At the same time the Fusion theme works just fine (see another screenshot).
Comment 1 artem 2016-12-22 12:44:09 UTC
Created attachment 102944 [details]
Fusion theme respects DPI
Comment 2 David Edmundson 2016-12-22 12:51:44 UTC
How are you setting the scaling?
Comment 3 artem 2016-12-22 13:05:09 UTC
KDE system settings -> Fonts -> Force fonts DPI: 280
Comment 4 David Edmundson 2016-12-22 13:17:33 UTC
Changing the font setting generally only affect fonts.

Use Display & Monitor -> Scale which will affect everything.
Comment 5 artem 2016-12-22 13:53:28 UTC
The Scale feature affects anything in ugly manner. It forces everything to be rendered in low resolution (texts, images), and then just stretches the result to fit the current resolution. This makes the picture not so sharp as it should be on 4k, but even worse than on low dpi screens. I was hoping that I will see high quality graphics on high resolution, not a workaround.

Is this official position of KDE developers to not support DPI other than 96 when rendering GUI?
Comment 6 Christoph Feck 2016-12-22 14:08:55 UTC
We can only support what Qt offers us. Right now, Qt only supports scaling by integer factors, i.e. 1x, 2x, 3x etc.
Comment 7 David Edmundson 2016-12-22 15:18:16 UTC
>It forces everything to be rendered in low resolution (texts, images), and then just stretches the result to fit the current resolution

That's not what happens.
Comment 8 artem 2016-12-22 19:51:28 UTC
David, you are right, most apps work well now. However, there is still a problem with render quality in Gwenview. It seems it does not support high resolution yet.
Comment 9 artem 2016-12-22 20:12:53 UTC
I've found a bug report about this problem which has been created one year ago and still unconfirmed. Is this going to be fixed in the nearest future? https://bugs.kde.org/show_bug.cgi?id=353910