Summary: | Shadows around Aurorae-decorated windows are not rendered proportionally (Scale-Factor 200%+, wayland, qt) | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | gonanza <gonanza> |
Component: | aurorae | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | farline99, nate |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian unstable | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=465790 | ||
Latest Commit: | https://invent.kde.org/plasma/kwin/commit/5e16c3337e266adcccce00cf698c679d5012fb48 | Version Fixed In: | 5.27.2 |
Attachments: | Screenshot |
Description
gonanza
2022-04-18 12:12:58 UTC
You're on X11, right? This is due to KWin not being hidpi-aware on X11. It's working properly on Wayland. Oh, I completely missed the fact that you said you're already on Wayland, sorry. Must be a bug then. Created attachment 156360 [details]
Screenshot
Issue is still here. Screenshot above. Arch Linux, plasma 5.27, frameworks 103, Wayland, HiDPI 200%. Can reproduce. A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/3641 Git commit 01fd54d7538a1b8a9c954645142af699284d01d5 by David Edmundson. Committed on 21/02/2023 at 11:07. Pushed by davidedmundson into branch 'master'. Aurorae: Add dummy window for working device pixel ratio Aurorae uses a QQuickWindow that receives an implicit scale through the QPA. Unfortunately there's a known quirk with device pixel ratio not being followed when offscreen surfaces are never shown and an independent render control is used. Without this QQuickRenderControl::grab ends up using a buffer the size of the window * dpr, but with the contents rendered at 1x in the corner along with incorrect device pixel ratio information. This patch copies a used solution from EffectQuickView. This can be resolved more neatly with newer Qt. Related: bug 465790 M +13 -1 src/plugins/kdecorations/aurorae/src/aurorae.cpp M +1 -0 src/plugins/kdecorations/aurorae/src/aurorae.h https://invent.kde.org/plasma/kwin/commit/01fd54d7538a1b8a9c954645142af699284d01d5 Git commit 5e16c3337e266adcccce00cf698c679d5012fb48 by Vlad Zahorodnii, on behalf of David Edmundson. Committed on 21/02/2023 at 11:55. Pushed by vladz into branch 'Plasma/5.27'. Aurorae: Add dummy window for working device pixel ratio Aurorae uses a QQuickWindow that receives an implicit scale through the QPA. Unfortunately there's a known quirk with device pixel ratio not being followed when offscreen surfaces are never shown and an independent render control is used. Without this QQuickRenderControl::grab ends up using a buffer the size of the window * dpr, but with the contents rendered at 1x in the corner along with incorrect device pixel ratio information. This patch copies a used solution from EffectQuickView. This can be resolved more neatly with newer Qt. Related: bug 465790 (cherry picked from commit 01fd54d7538a1b8a9c954645142af699284d01d5) M +13 -1 src/plugins/kdecorations/aurorae/src/aurorae.cpp M +1 -0 src/plugins/kdecorations/aurorae/src/aurorae.h https://invent.kde.org/plasma/kwin/commit/5e16c3337e266adcccce00cf698c679d5012fb48 It is fixed. Thank you, KDE ❤️❤️😍😍 |