Bug 413050

Summary: Breeze style and scaling on Windows
Product: [Plasma] Breeze Reporter: Christoph Cullmann <cullmann>
Component: QStyleAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED NOT A BUG    
Severity: normal CC: cullmann, kde, nate
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: 100%
200%
150% Breeze 5.17 without framework integrations

Description Christoph Cullmann 2019-10-16 18:21:03 UTC
Created attachment 123247 [details]
100%

We try to use the Breeze style on Windows at the moment as the normal Qt styles fail with different issues during scaling.

Breeze looks "good" but has one issue: The sizes with e.g. 150% scaling look more or less like with 200%.

See the attached screenshots.
Comment 1 Christoph Cullmann 2019-10-16 18:21:13 UTC
Created attachment 123248 [details]
200%
Comment 2 Christoph Cullmann 2019-10-16 18:21:31 UTC
The 100% screenshot is actually 150% ;=)
Comment 3 Christoph Cullmann 2019-10-16 18:21:51 UTC
Beside this glitch, Breeze is by far the best scaling style I found.
Comment 4 Kai Uwe Broulik 2019-10-16 18:51:16 UTC
Do we actually support Breeze on Windows? Why not use Windows native style?
Comment 5 Christoph Cullmann 2019-10-16 18:52:58 UTC
Because it doesn't work at all if you scale stuff ;=)

See:

https://doc.qt.io/qt-5/highdpi.html

"While the macOS style fully supports high-DPI, the Windows desktop style currently has some limitations with certain scale factors. In these cases, consider using the Fusion style instead, which aims to support high-DPI in all cases."

I tried Fusion, but that fails in other ways like the normal Windows style.

:(((
Comment 6 Christoph Cullmann 2019-10-16 18:53:58 UTC
Perhaps Breeze is even nice as is and the issue is that we compile the frameworks integration stuff at the moment, I try to fix that (and I see that we missed to update in craft to latest Breeze...)
Comment 7 Christoph Cullmann 2019-10-16 19:02:50 UTC
Hmm, no, update and avoiding to build frameworks integration doesn't seem to solve that issue.
Comment 8 Christoph Cullmann 2019-10-16 19:32:28 UTC
Created attachment 123250 [details]
150% Breeze 5.17 without framework integrations
Comment 9 Christoph Cullmann 2019-10-16 19:35:17 UTC
Without the framework integration plugins the icon sizes look OK in the menu, perhaps the check box sizes are just strange.

See the https://bugsfiles.kde.org/attachment.cgi?id=123250 screenshot.
Comment 10 Christoph Cullmann 2019-10-19 16:40:56 UTC
I investigated this more and this is plainly a Qt issue:

https://bugreports.qt.io/browse/QTBUG-62914

They round up => that messes up the size and makes applications first "too small" and then "too large"...

Given for 5.14 one can opt-in, I close this now.