Bug 489562 - Pure GTK4 apps show round corners under the titlebar
Summary: Pure GTK4 apps show round corners under the titlebar
Status: RESOLVED FIXED
Alias: None
Product: Breeze
Classification: Plasma
Component: gtk theme (other bugs)
Version First Reported In: 6.1.1
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 503598 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-07-01 18:41 UTC by medin
Modified: 2025-11-12 15:08 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 6.5.3
Sentry Crash Report:


Attachments
Round corners under titlebar - transmission-gtk and handbrake (47.75 KB, image/png)
2024-07-01 18:41 UTC, medin
Details

Note You need to log in before you can comment on or make changes to this bug.
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