Bug 503518

Summary: KHamburgerMenu "More Actions" looks odd if using "Application menu" in titlebar
Product: [Frameworks and Libraries] frameworks-kconfigwidgets Reporter: John Veness <john.kde>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs-null>
Status: ASSIGNED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 6.13.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: How the Konsole hamburger More submenu looks when there is an Application menu button in the titlebar

Description John Veness 2025-04-29 10:38:50 UTC
Created attachment 180765 [details]
How the Konsole hamburger More submenu looks when there is an Application menu button in the titlebar

SUMMARY
If you have added the "Application menu" icon to the titlebar, in Plasma System Settings, the KHamburgerMenu "More Actions" submenu looks odd.

STEPS TO REPRODUCE
1. Open System Settings
2. Navigate to Colors & Themes > Window Decorations > Configure Titlebar Buttons
3. Drag the "Application menu" button into the titlebar
4. Click Apply
5. Open Konsole
6. Click on the hamburger menu
7. Highlight "More"
8. Look at the submenu that appears

OBSERVED RESULT
Submenu has at the top a separator with "More Actions" on it, looking messy.

EXPECTED RESULT
No separator at the top of the submenu, i.e. File should be at the top of the submenu.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20250426
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.13.0
Qt Version: 6.9.0
Kernel Version: 6.14.4-1-default (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION
I'm working on a patch to fix this.

If there is no "Application menu" button in the titlebar, then the top of the submenu has a "Show Menubar with All Actions" entry at the top, with the More Actions separator showing below. This makes more sense, and the additional width makes the "More Actions" text on the separator not looking quite so odd.
Comment 1 Bug Janitor Service 2025-04-29 11:01:57 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kconfigwidgets/-/merge_requests/263