Bug 502152

Summary: Gap between menu and submenu
Product: [Plasma] Breeze Reporter: vsf712
Component: gtk themeAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: agrinev98, kdedev, uhhadd
Priority: NOR    
Version First Reported In: 6.3.3   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot of Galculator submenu

Description vsf712 2025-03-29 10:39:03 UTC
Created attachment 179838 [details]
Screenshot of Galculator submenu

SUMMARY

In some GTK3 applications, there is a gap between the menu and submenu, as shown in the screenshot.

STEPS TO REPRODUCE
1.  Open GTk3 application with menubar (e.g. Galculator).
2.  Open menuitem with submenu.

OBSERVED RESULT

Visible gap between menu and submenu.

EXPECTED RESULT

Submenu should be close to menu, like in Breeze Qt.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.3.3
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.2
Comment 1 TraceyC 2025-04-04 00:38:49 UTC
I am able to see this on git-master with DeaDBeeF. (Galculator isn't available on Solus and hasn't seen an update in 10 years, so I couldn't test that)

In DeaDBeeF go to Playback - Shuffle, the gap is visible with the Breeze GTK theme
With the Default and Space-dark themes, the submenu overlaps the parent menu a little

It does seem like there's a miscalculation going on