[kwin] [Bug 453229] New setBlurRegion() API gives blocky/aliased blur region corners on Wayland HiDPI
https://bugs.kde.org/show_bug.cgi?id=453229 Zamundaaa changed: What|Removed |Added Status|ASSIGNED|RESOLVED Latest Commit||https://invent.kde.org/plas ||ma/kwin/-/commit/92e4a79031 ||e5ecae501713474136729573e13 ||585 Resolution|--- |FIXED --- Comment #13 from Zamundaaa --- Git commit 92e4a79031e5ecae501713474136729573e13585 by Xaver Hugl. Committed on 13/02/2026 at 21:07. Pushed by zamundaaa into branch 'master'. scene/windowitem: apply corner rounding on both decoration and surface Previously, the border radius was set only on the surface. If the decoration set a border radius for the top corners, the surface would get clipped, instead of the decoration. To avoid also clipping shadows, this sets the corner radius on a new container item for both surface and decoration, instead of setting it on the WindowItem directly. Related: bug 514792 M +16 -20 src/scene/windowitem.cpp M +5-2src/scene/windowitem.h M +39 -27 src/scene/workspacescene.cpp https://invent.kde.org/plasma/kwin/-/commit/92e4a79031e5ecae501713474136729573e13585 -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 453229] New setBlurRegion() API gives blocky/aliased blur region corners on Wayland HiDPI
https://bugs.kde.org/show_bug.cgi?id=453229 Zamundaaa changed: What|Removed |Added Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas |ma/kwin/-/commit/92e4a79031 |ma/kwin/-/commit/c19e862150 |e5ecae501713474136729573e13 |ca7c19acc70fd58aa6f570a343f |585 |d7d --- Comment #14 from Zamundaaa --- Git commit c19e862150ca7c19acc70fd58aa6f570a343fd7d by Xaver Hugl. Committed on 13/02/2026 at 21:33. Pushed by zamundaaa into branch 'Plasma/6.6'. scene/windowitem: apply corner rounding on both decoration and surface Previously, the border radius was set only on the surface. If the decoration set a border radius for the top corners, the surface would get clipped, instead of the decoration. To avoid also clipping shadows, this sets the corner radius on a new container item for both surface and decoration, instead of setting it on the WindowItem directly. Related: bug 514792 (cherry picked from commit 92e4a79031e5ecae501713474136729573e13585) Co-authored-by: Xaver Hugl M +16 -20 src/scene/windowitem.cpp M +5-2src/scene/windowitem.h M +39 -27 src/scene/workspacescene.cpp https://invent.kde.org/plasma/kwin/-/commit/c19e862150ca7c19acc70fd58aa6f570a343fd7d -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 453229] New setBlurRegion() API gives blocky/aliased blur region corners on Wayland HiDPI
https://bugs.kde.org/show_bug.cgi?id=453229 --- Comment #12 from Paul McAuley --- work/zamundaaa/clip-on-window kwin branch is now fixed -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 453229] New setBlurRegion() API gives blocky/aliased blur region corners on Wayland HiDPI
https://bugs.kde.org/show_bug.cgi?id=453229 --- Comment #11 from Paul McAuley --- Created attachment 189497 --> https://bugs.kde.org/attachment.cgi?id=189497&action=edit Illustration of dark corners appearing when window content needs clipped Hi Xaver, I just tried the changes you made on your work/zamundaaa/clip-on-window kwin branch with the Plasma master. Now there is a new problem. When there are no borders set, and you apply setBorderRadius to clip the window content, then dark corners appear. On first inspection, this seems to only appear on dialogs and not mainWindows. See the attached photo for illustration. You can also see for yourself with the Klassy window decoration branch at https://github.com/paulmcauley/klassy/tree/setBorderRadius-with-borders (newly updated to work with all use cases), and load the "Defenestrated 11" preset in the window decoration settings. You might have to move the window to see the dark corners on dialogs. Paul -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 453229] New setBlurRegion() API gives blocky/aliased blur region corners on Wayland HiDPI
https://bugs.kde.org/show_bug.cgi?id=453229 Nate Graham changed: What|Removed |Added Version First|git master |6.4.80 Reported In|| -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 453229] New setBlurRegion() API gives blocky/aliased blur region corners on Wayland HiDPI
https://bugs.kde.org/show_bug.cgi?id=453229 --- Comment #10 from Zamundaaa --- (In reply to Paul McAuley from comment #8) > I assume you are referring to the KDecoration3 setBorderRadius() function? > On Plasma 6.5.4, if you apply setBorderRadius() to all corners, then the > borders are not considered (including the titlebar). It only is useful on > Plasma 6.5 to round the bottom corners when there are no borders, or round > all borders when you also hide the titlebar. Yeah, as it turns out, the corner radius was only set on the surface. The MR makes it work as expected. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 453229] New setBlurRegion() API gives blocky/aliased blur region corners on Wayland HiDPI
https://bugs.kde.org/show_bug.cgi?id=453229 Bug Janitor Service changed: What|Removed |Added Status|REOPENED|ASSIGNED --- Comment #9 from Bug Janitor Service --- A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/8774 -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 453229] New setBlurRegion() API gives blocky/aliased blur region corners on Wayland HiDPI
https://bugs.kde.org/show_bug.cgi?id=453229 Paul McAuley changed: What|Removed |Added Resolution|FIXED |--- Status|RESOLVED|REOPENED -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 453229] New setBlurRegion() API gives blocky/aliased blur region corners on Wayland HiDPI
https://bugs.kde.org/show_bug.cgi?id=453229 --- Comment #8 from Paul McAuley --- Created attachment 189320 --> https://bugs.kde.org/attachment.cgi?id=189320&action=edit setBorderRadius applied to all corners when borders are present - Plasma 6.5.4 (In reply to Zamundaaa from comment #7) > It's supported since 6.5. Note that decorations have to opt into it, it's > not a fully automatic thing. I assume you are referring to the KDecoration3 setBorderRadius() function? On Plasma 6.5.4, if you apply setBorderRadius() to all corners, then the borders are not considered (including the titlebar). It only is useful on Plasma 6.5 to round the bottom corners when there are no borders, or round all borders when you also hide the titlebar. See the attachment for how this looks with window decoration code from https://github.com/paulmcauley/klassy/tree/setBorderRadius-with-borders. Unless of course, this has been fixed with Plasma 6.6? (I have not yet tried) -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 453229] New setBlurRegion() API gives blocky/aliased blur region corners on Wayland HiDPI
https://bugs.kde.org/show_bug.cgi?id=453229 --- Comment #7 from Zamundaaa --- It's supported since 6.5. Note that decorations have to opt into it, it's not a fully automatic thing. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 453229] New setBlurRegion() API gives blocky/aliased blur region corners on Wayland HiDPI
https://bugs.kde.org/show_bug.cgi?id=453229 GoldBarb changed: What|Removed |Added CC||[email protected] -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 453229] New setBlurRegion() API gives blocky/aliased blur region corners on Wayland HiDPI
https://bugs.kde.org/show_bug.cgi?id=453229 --- Comment #6 from Paul McAuley --- (In reply to Zamundaaa from comment #5) > Blur regions are now clipped more nicely with the new rounded corners code, > so this should no longer be an issue. Thanks. On which Plasma version is the new rounded corners code? -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 453229] New setBlurRegion() API gives blocky/aliased blur region corners on Wayland HiDPI
https://bugs.kde.org/show_bug.cgi?id=453229 Zamundaaa changed: What|Removed |Added Status|CONFIRMED |RESOLVED Resolution|--- |FIXED CC||[email protected] --- Comment #5 from Zamundaaa --- Blur regions are now clipped more nicely with the new rounded corners code, so this should no longer be an issue. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 453229] New setBlurRegion() API gives blocky/aliased blur region corners on Wayland HiDPI
https://bugs.kde.org/show_bug.cgi?id=453229 John changed: What|Removed |Added Status|REPORTED|CONFIRMED Ever confirmed|0 |1 -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 453229] New setBlurRegion() API gives blocky/aliased blur region corners on Wayland HiDPI
https://bugs.kde.org/show_bug.cgi?id=453229 John changed: What|Removed |Added CC||[email protected] -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 453229] New setBlurRegion() API gives blocky/aliased blur region corners on Wayland HiDPI
https://bugs.kde.org/show_bug.cgi?id=453229 Paul McAuley changed: What|Removed |Added Summary|New setBlurRegion() API |New setBlurRegion() API |gives blocky/aliased blur |gives blocky/aliased blur |region corners on Wayland |region corners on Wayland ||HiDPI -- You are receiving this mail because: You are watching all bug changes.
