| Summary: | Windows decorations and themes are not blurred when transparent themes are applied on both X11 and Wayland | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | Petar Nedyalkov <shakerbg> |
| Component: | effects-various | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | agurenko, nate |
| Priority: | NOR | Keywords: | qt6, wayland-only |
| Version First Reported In: | 5.92.0 | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/kwin/-/commit/e6685c0d21489f31dfdca8187de796c8e48a25ff | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
| Attachments: |
KDE Plasma 6
KDE Plasma 5 |
||
|
Description
Petar Nedyalkov
2024-01-16 13:44:51 UTC
Created attachment 164950 [details]
KDE Plasma 5
The blur API in aurorae has changed in Plasma 6. See https://develop.kde.org/docs/plasma/aurorae/#blur However, it also looks like blur regressed in Plasma 6 A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/5024 A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/5025 Git commit f44484137eb379a9486f4c31165df611f02f16b7 by Vlad Zahorodnii. Committed on 24/01/2024 at 09:24. Pushed by vladz into branch 'master'. plugins/blur: Fix blur behind decoration Currently, if only blur behind decoration is enabled, no m_windows entry is going to be created and so the blur effect won't blur the background. M +30 -22 src/plugins/blur/blur.cpp M +4 -1 src/plugins/blur/blur.h https://invent.kde.org/plasma/kwin/-/commit/f44484137eb379a9486f4c31165df611f02f16b7 Git commit e6685c0d21489f31dfdca8187de796c8e48a25ff by Vlad Zahorodnii. Committed on 24/01/2024 at 09:36. Pushed by vladz into branch 'Plasma/6.0'. plugins/blur: Fix blur behind decoration Currently, if only blur behind decoration is enabled, no m_windows entry is going to be created and so the blur effect won't blur the background. (cherry picked from commit f44484137eb379a9486f4c31165df611f02f16b7) M +30 -22 src/plugins/blur/blur.cpp M +4 -1 src/plugins/blur/blur.h https://invent.kde.org/plasma/kwin/-/commit/e6685c0d21489f31dfdca8187de796c8e48a25ff The issue is not fixed. For retesting, I use Breeze window decoration and application style. STEPS TO REPRODUCE (with color scheme only) 1. Go to the "System Settings" -> Colors & Themes -> Colors 2. Choose "Alpha" color theme. (https://store.kde.org/p/1972214) 3. Apply it. 4. Observe Blur effect is applied only on Konsole. All other kinds of KDE software are not blurred when we use a transparent themes. https://i.imgur.com/6mGPN6X.png SOFTWARE/OS VERSIONS Operating System: openSUSE Tumbleweed 20240128 KDE Plasma Version: 6.0.80 KDE Frameworks Version: 5.249.0 Qt Version: 6.6.1 Kernel Version: 6.7.1-2-default (64-bit) Session Type: Wayland NOTE: The same issue can be reproduced on Plasma 6.0 RC2 as well. > Breeze window decoration and application style
Breeze style doesn't support blurred background, you'll need to use a different decoration and application style.
https://invent.kde.org/plasma/kwin/-/merge_requests/5024 fixed missing blur in aurorae decorations. Note that there was an API breaking change and window decorations that need blur should add the new mask element, as described in https://develop.kde.org/docs/plasma/aurorae/#blur It's not enough to use a color scheme with translucent colors, the widget style should request blur. Breeze doesn't do it because it's not part of its design language. You would need to use a widget style that supports blur. kvantum supports blur but it seems like it enables blur only for certain windows. For example, kvantum manager gets blurred background but dolphin and other applications don't. Neither such application attempts to request blur, I confirmed it by analyzing WAYLAND_DEBUG output. If apps miss blurred background with kvantum style, I recommend to report this issue to kvantum developers. I don't think there's something that we can do on the compositor side. Aurorae decorations regressed, but that was fixed. Thank you for letting me know, Vlad Zahorodnii! |