Bug 431978 - Blurry Chromium decorations with scale > 100
Summary: Blurry Chromium decorations with scale > 100
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: decorations (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-23 08:10 UTC by Carlos
Modified: 2024-06-04 10:01 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos 2021-01-23 08:10:54 UTC
SUMMARY

Enabling Chromium CSD produces blurry buttons (maximize, close, etc).

STEPS TO REPRODUCE

1. Install Chromium
2. Launch Chromium
3. In Settings set it to use CSD
4. Check that decorations are for your current theme

OBSERVED RESULT

Decorations follow the current Plasma theme but buttons are very blurry.

EXPECTED RESULT

Decorations follow the current Plasma theme and buttons are correctly rendered.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Arch Linux
(available in About System)
KDE Plasma Version: 5.20
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Carlos 2021-01-23 08:12:01 UTC
Sorry, I forgot to mention that you should set a scaling factor different than 100%.
Comment 2 Carlos 2021-01-23 18:16:29 UTC
I believe this might be do to fractional scaling, every other GTK app seems to be scaled at 1x or 2x, but the titlebar of Chromium is similar in size to other Qt apps (currently at 150%). I know GTK can't handle fractional scales and I assume the CSD is rendered using GTK but, anyway, shouldn't them be rendered at 2x and the downscaled? If that were the case they shouldn't be as blurry as they are, given the blurriness they seem to be just upscaled from a small version.
Comment 3 Paul McAuley 2021-04-02 21:01:15 UTC
Chromium uses auto-generated .png files whereas most other other GTK CSD apps use auto-generated SVGs. I think this blurriness is due to the auto-generation in kde-gtk-config scaling the titlebar button icons to too small a size as in bug 426074.
Comment 4 David Edmundson 2024-06-04 10:01:20 UTC
This isn't in kwin's control