Bug 466956

Summary: Corners in GTK theme Adwaita are not rounded
Product: [I don't know] kde Reporter: David <david.cortes.rivera>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: nate
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: synaptic_sharp_corners

Description David 2023-03-06 18:09:30 UTC
SUMMARY
If I install the new KDE package to configure GTK app themes, the "Adwaita" and "Adwaita-dark" themes that comes with it will not have rounded corners in menus.

STEPS TO REPRODUCE
1. Install package "kde-config-gtk-style".
2. Go to System Settings -> Application Style -> Configure GNOME/GTK Application Style -> GTK Theme -> choose "Adwaita-dark".
3. Open some GTK app with menus, such as "evolution" or "sublime".

OBSERVED RESULT
Corners of menus are sharp rectangles.

EXPECTED RESULT
Corners of menus should be rounded like in real gnome's adwaita and adwaita-dark.

SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux 12
KDE Plasma Version: 5.27.2
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.0-5-amd64 (64-bit)
Graphics Platform: X11
Processors: 20 × 12th Gen Intel® Core™ i7-12700H
Memory: 62.6 GiB of RAM
Graphics Processor: Mesa Intel® Graphics
Manufacturer: SLIMBOOK
Product Name: Executive

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2023-03-07 20:04:02 UTC
Can you attach a screenshot that shows the issue?
Comment 2 David 2023-03-07 20:16:41 UTC
Created attachment 157092 [details]
synaptic_sharp_corners

Here's a picture of a menu from "synaptic" (GTK app) when using theme "adwaita-dark", having sharp corners in the menus.
Comment 3 Nate Graham 2023-03-07 20:26:37 UTC
Thanks. Because this is a GTK app displaying a GTK theme, no KDE code is involved. It's an issue in GTK, the app, or the theme.
Comment 4 David 2023-03-07 20:27:23 UTC
(In reply to Nate Graham from comment #3)
> Thanks. Because this is a GTK app displaying a GTK theme, no KDE code is
> involved. It's an issue in GTK, the app, or the theme.

But those corners look sharp in GNOME when using adwaita-dark.
Comment 5 Nate Graham 2023-03-07 21:16:39 UTC
You mean they *don't* look sharp in GNOME? Even when running the app as root?
Comment 6 David 2023-03-08 14:57:32 UTC
(In reply to Nate Graham from comment #5)
> You mean they *don't* look sharp in GNOME? Even when running the app as root?

Just tried in under GNOME and for this specific app (synaptic) and for others like "evolution", the corners look rectangular, but then for apps like "gedit" or "nautilus", the corners look rounded.
Comment 7 Nate Graham 2023-03-08 16:02:32 UTC
As far as I can tell, the differences can be explained by the fact that those apps are using different UI elements;  the menus with the square corners are using basic GTK menus, while the ones with rounded corners are GTK popovers, not menus. And popovers have rounded corners.