Bug 506104

Summary: Hamburger menu button overlaps first letter of header
Product: [Frameworks and Libraries] frameworks-kirigami Reporter: Schrijvers Luc <begasus>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: nate, notmart
Priority: NOR Keywords: regression
Version First Reported In: 6.15.0   
Target Milestone: Not decided   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed/Implemented In: 6.16
Sentry Crash Report:
Attachments: Kalk and KTrip default view
Cut off text with the hamburger menu
Fixed space

Description Schrijvers Luc 2025-06-24 10:54:25 UTC
Created attachment 182598 [details]
Kalk and KTrip default view

SUMMARY

Hamburger menu cuts of first letter on the right when hovering over it or clicking on it.

STEPS TO REPRODUCE
1. Open an application that is using kirigami/kirigami-addons (latest I've checked were Kalk and KTrip).

OBSERVED RESULT

Hamburger menu on the top left cuts of the first letter on the right side when hovering or clicking on it.

EXPECTED RESULT

Text not being cut off, a bit more space should be reserved between the menu and the text to the right.

SOFTWARE/OS VERSIONS
Haiku: R1B5 64bit
(available in the Info Center app, or by running `kinfo` in a terminal window)
KDE Frameworks Version: 6.15.0 (6.16.0 for kalk build with kde-builder)
Qt Version: 6.9.1
Comment 1 Schrijvers Luc 2025-06-24 10:55:05 UTC
Created attachment 182599 [details]
Cut off text with the hamburger menu
Comment 2 Nate Graham 2025-06-24 19:23:53 UTC
Can reproduce with Breeze too.
Comment 3 Bug Janitor Service 2025-06-25 09:03:03 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kirigami/-/merge_requests/1841
Comment 4 Schrijvers Luc 2025-06-25 10:43:00 UTC
With latest changes in the proposed MR it looks a alot better. Thanks for the quick reply!
Comment 5 Schrijvers Luc 2025-06-25 10:43:52 UTC
Created attachment 182641 [details]
Fixed space

Screenshot in the front with the applied patch to kirigami 6.15.0.
Comment 6 Marco Martin 2025-06-25 13:28:27 UTC
Git commit 3b01fcec379aed981143373feedfad5c1a434f94 by Marco Martin.
Committed on 25/06/2025 at 10:18.
Pushed by mart into branch 'master'.

Fix spacing of global menu button in toolbar

fix the spacing between the global menu button and the page title
by fixing the decision on when to put the extra units.smallspace,
based if the toolbar is populated in any way

M  +19   -3    src/controls/private/globaltoolbar/PageRowGlobalToolBarUI.qml

https://invent.kde.org/frameworks/kirigami/-/commit/3b01fcec379aed981143373feedfad5c1a434f94