Bug 489562

Summary: Pure GTK4 apps show round corners under the titlebar
Product: [Plasma] Breeze Reporter: medin <med.medin.2014>
Component: gtk themeAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: 4wy78uwh, agrinev98, nate, q1253328221, uhhadd
Priority: NOR    
Version First Reported In: 6.1.1   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.5.3
Sentry Crash Report:
Attachments: Round corners under titlebar - transmission-gtk and handbrake

Description medin 2024-07-01 18:41:45 UTC
Created attachment 171248 [details]
Round corners under titlebar - transmission-gtk and handbrake

See attached image for more info.

Operating System: Manjaro Linux 
KDE Plasma Version: 6.1.1
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2
Kernel Version: 6.9.7-1-MANJARO (64-bit)
Graphics Platform: Wayland
Comment 1 Nate Graham 2024-07-02 18:49:32 UTC
This is almost certainly a GTK issue, as the content affected by the rounded corners is drawn by GTK, not us. I'd guess it's assuming CSDs rather than SSDs and not handling that latter case correctly. Please report this to the GTK devs.
Comment 2 Nate Graham 2024-07-02 22:01:49 UTC
My mistake, this is indeed our styling bug.
Comment 3 John Kizer 2025-05-05 05:36:19 UTC
*** Bug 503598 has been marked as a duplicate of this bug. ***
Comment 4 Nate Graham 2025-11-12 15:06:47 UTC
Git commit 11ccf1341943eed68db25ed92974e608bdfc4dce by Nate Graham, on behalf of Kevin Duan.
Committed on 12/11/2025 at 15:06.
Pushed by ngraham into branch 'master'.

Fix corner radii for CSD and SSD-using GTK apps
FIXED-IN: 6.5.3

Use standard 5px corner radius, but only for corners that are also window corners.

M  +5    -1    src/gtk4/widgets/_window_decorations.scss

https://invent.kde.org/plasma/breeze-gtk/-/commit/11ccf1341943eed68db25ed92974e608bdfc4dce
Comment 5 Nate Graham 2025-11-12 15:08:20 UTC
Git commit 22c3c8309c76230706f6009e422490091e273b80 by Nate Graham.
Committed on 12/11/2025 at 15:08.
Pushed by ngraham into branch 'Plasma/6.5'.

Fix corner radii for CSD and SSD-using GTK apps
FIXED-IN: 6.5.3

Use standard 5px corner radius, but only for corners that are also window corners.


(cherry picked from commit 11ccf1341943eed68db25ed92974e608bdfc4dce)

6dd7cdfa Edit _window_decorations.scss for fix bug 503598
0e037923 Edit _window_decorations.scss for fix bug 489562
8dccd3fa Edit _window_decorations.scss
c3ce9db8 Edit _window_decorations.scss
0e9bd2e0 Edit _window_decorations.scss
914b729f Edit _window_decorations.scss

Co-authored-by: Kevin Duan <duankaiwen@ubuntukylin.com>

M  +5    -1    src/gtk4/widgets/_window_decorations.scss

https://invent.kde.org/plasma/breeze-gtk/-/commit/22c3c8309c76230706f6009e422490091e273b80