Bug 506104 - Hamburger menu button overlaps first letter of header
Summary: Hamburger menu button overlaps first letter of header
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kirigami
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 6.15.0
Platform: Other Other
: NOR normal
Target Milestone: Not decided
Assignee: kdelibs bugs
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2025-06-24 10:54 UTC by Schrijvers Luc
Modified: 2025-06-25 13:42 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.16
Sentry Crash Report:


Attachments
Kalk and KTrip default view (506.92 KB, image/png)
2025-06-24 10:54 UTC, Schrijvers Luc
Details
Cut off text with the hamburger menu (2.63 KB, image/png)
2025-06-24 10:55 UTC, Schrijvers Luc
Details
Fixed space (488.95 KB, image/png)
2025-06-25 10:43 UTC, Schrijvers Luc
Details

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