Summary: | KWindowEffects::enableBlurBehind() region is no longer relative to the top-left corner of the client area on Plasma6 Wayland | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Paul McAuley <kde> |
Component: | effects-various | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | nate |
Priority: | NOR | Keywords: | qt6, regression |
Version: | master | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/kwin/-/commit/fdcc9be2ce11b04dc423eeb896edcb06571dbc4f | Version Fixed In: | 6.0.1 |
Sentry Crash Report: | |||
Attachments: | Illustration on Plasma6 of BlurBehind not being applied to the client top-left (scaling 100%) |
Description
Paul McAuley
2024-03-03 12:03:56 UTC
Can you provide a demo application showing the issue please? (In reply to Vlad Zahorodnii from comment #1) > Can you provide a demo application showing the issue please? Sure. First install the latest Klassy plasma6.0 branch as follows: git clone https://github.com/paulmcauley/klassy.git cd klassy git checkout plasma6.0 ./install.sh Then enable both the Klassy window decoration and Klassy application style in system settings. Set your colour scheme to one which contains header colours, such as Breeze Light or Breeze Dark. Then go to the Window Decoration settings, click on the pencil icon when hovered over Klassy and then click "Presets..." button at the top-right. Load the "Glassy Klassy" preset. If you open an application with headers such as the latest Dolphin (Qt5), Kate (Qt5), Konsole (Qt6) or Kmail (Qt6) you will see the issue with blur missing halfway down the header, as in the screenshot I attached previously. I have also just made some changes, so the line which contains the call to KWindowEffects::enableBlurBehind() is now at: https://github.com/paulmcauley/klassy/blob/120332dfd4dd830359dd170020adcd5fd57ce229/kstyle/breezestyle.cpp#L1726 You can also install from the Plasma5.27 branch on Plasma 5.27 to see the headers showing blur as they should be. (you should also disable any spacer buttons in the Window Decoration settings before installing Klassy otherwise it will crash - I have not yet updated it to deal with this new feature) A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/5359 Git commit 8736e44e1a4373f8549d969868e7aa49bdcb152f by Vlad Zahorodnii. Committed on 05/03/2024 at 13:34. Pushed by vladz into branch 'master'. effect: Fix EffectWindow::contentsRect() It should specify the client rect inside the frame. 2556378dfa866f99561d09dcd7ac113804972567 incorrectly assumed that the buffer geometry includes the decoration. M +1 -1 src/effect/effectwindow.cpp https://invent.kde.org/plasma/kwin/-/commit/8736e44e1a4373f8549d969868e7aa49bdcb152f Git commit fdcc9be2ce11b04dc423eeb896edcb06571dbc4f by Vlad Zahorodnii. Committed on 05/03/2024 at 13:57. Pushed by vladz into branch 'Plasma/6.0'. effect: Fix EffectWindow::contentsRect() It should specify the client rect inside the frame. 2556378dfa866f99561d09dcd7ac113804972567 incorrectly assumed that the buffer geometry includes the decoration. (cherry picked from commit 8736e44e1a4373f8549d969868e7aa49bdcb152f) M +1 -1 src/effect/effectwindow.cpp https://invent.kde.org/plasma/kwin/-/commit/fdcc9be2ce11b04dc423eeb896edcb06571dbc4f |