Bug 360699

Summary: Font settings ignored with qt 5.6
Product: [Plasma] kwin Reporter: beojan <beojan>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED LATER    
Severity: normal    
Priority: NOR    
Version: 5.5.5   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description beojan 2016-03-18 11:35:23 UTC
When used with qt 5.6, kwin ignores the KDE font settings.

Reproducible: Always

Steps to Reproduce:
1. Change "Window title" font settings to something distinctive
2. Install qt 5.6 (in my case, from Arch testing repo)
3. Restart kwin

Actual Results:  
Window titles are in a generic sans font with point size 11 or 12.

Expected Results:  
Window titles should be in font set above
Comment 1 Thomas Lübking 2016-03-18 12:10:10 UTC
which decoration?
Comment 2 beojan 2016-03-18 12:14:37 UTC
All decorations, but I was using Papirus Dark (Aurorae).
Comment 3 Thomas Lübking 2016-03-18 12:16:46 UTC
does "all" include the breeze decoration?
Comment 4 beojan 2016-03-18 12:19:14 UTC
I think so (I downgraded back to qt 5.5.1 as there were other issues with the Qt Style settings in System Settings being ignored (all applications were using Breeze), and a similar font size issue in the application launcher (I have my DPI set correctly, and normally use size 6 fonts).
Comment 5 Thomas Lübking 2016-03-18 12:22:29 UTC
> Qt Style settings in System Settings being ignored
Sounds like a general bug in the QPA or the QPA not being loaded at all (ABI mismatch??)

Please return to this if it's still a problem and one can inspect what's going on.
It's hardly a specific bug in KWin (which just forwards the QFontDatabase font)
Comment 6 beojan 2016-03-18 12:24:20 UTC
That would explain it, given the KDE packages in Arch are compiled against Qt 5.5.
Comment 7 Martin Flöser 2016-03-18 14:54:44 UTC
(In reply to beojan from comment #6)
> That would explain it, given the KDE packages in Arch are compiled against
> Qt 5.5.

frameworksintegration (with Plasma 5.6 also plasmaintegration) must (!) be recompiled against the new Qt version. Distributions should know that, please remind your distributor about that.