Bug 378536

Summary: Window title isn't RGB antialiased
Product: [Plasma] kwin Reporter: Alex <eneeen>
Component: decorationsAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: minor CC: bhush94, hugo.pereira.da.costa, kde, pbs3141, plasma-bugs
Priority: NOR    
Version: 5.9.4   
Target Milestone: 5   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Window title greyscale antialiasing - screenshot zoom

Description Alex 2017-04-07 12:06:57 UTC
Created attachment 104916 [details]
Window title greyscale antialiasing - screenshot zoom

After switching on RGB antialiasing inside fonts settings it seems, that window title is still antialiased using greyscale method, not RGB.
Comment 1 Kai Uwe Broulik 2017-04-07 12:11:41 UTC
Re-assigning to Breeze window decoration which paints the label
Comment 2 Hugo Pereira Da Costa 2017-04-07 14:35:44 UTC
Hi, Thanks for reporting
Two questions: 
- does it work as expected with other window decorations ? 
- any idea how to setup RGB font antialiasing in Qt ? (I would have thought it automatic, but maybe am missing something.
Comment 3 Alex 2017-04-07 14:57:14 UTC
It seems that only window title has got problem with rgb antialiasing.
RGB is not enabled by default in Neon distro. To enable it go to font settings and  change antialiasing from system settings to enabled, then choose settings and change subpixel to rgb there.
Comment 4 Hugo Pereira Da Costa 2017-04-07 21:21:26 UTC
So double checking here. It seems the problem is also present for any other window decoration, (e.g. oxygen, plastique, which is Aurorae). So upstreaming to kwin.
Comment 5 Martin Flöser 2017-04-08 06:22:11 UTC
@Hugo: could it be that antialising is just not enabled on the QPainter KWin passes to the decoration?

What could be a nice test is to compare how it looks in the kcm.
Comment 6 Hugo Pereira Da Costa 2017-04-08 07:19:24 UTC
Hi Martin 
There is antialiasing 
Just not the right one 
I do not know how to change/test anti-aliasing type in qt .
Comment 7 Martin Flöser 2017-04-08 15:15:22 UTC
Me neither
Comment 8 Christoph Feck 2017-04-14 17:52:41 UTC
https://bugreports.qt.io/browse/QTBUG-22334
Comment 9 Martin Flöser 2017-04-14 20:29:55 UTC
Thanks for the explanation. Just looked at the code: that check is still there and as I don't see a way to fake decos to be an internal widget I unfortunately have to conclude: upstream issue.
Comment 10 Hugo Pereira Da Costa 2018-02-10 06:32:48 UTC
*** Bug 390183 has been marked as a duplicate of this bug. ***