Bug 515636 - Breeze does not reserve enough space before the sub-menu indicator
Summary: Breeze does not reserve enough space before the sub-menu indicator
Status: CONFIRMED
Alias: None
Product: Breeze
Classification: Plasma
Component: QStyle (other bugs)
Version First Reported In: 6.5.5
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-02-06 16:07 UTC by Tobias Leupold
Modified: 2026-02-09 13:34 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Colliding submenu indicator when using breeze (10.86 KB, image/png)
2026-02-06 16:07 UTC, Tobias Leupold
Details
No sub-menu indicator collision when usinf Fusion (8.25 KB, image/png)
2026-02-06 16:07 UTC, Tobias Leupold
Details
Minimal example to produce the problem (10.00 KB, application/gzip)
2026-02-09 13:34 UTC, Tobias Leupold
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Leupold 2026-02-06 16:07:10 UTC
Created attachment 189290 [details]
Colliding submenu indicator when using breeze

SUMMARY

When adding a sub-menu and the action's name is longer than other menu entries, the sub-menu indicator does collide with the name. The width is enough for the menu's text itself, but no space is reserved for the indicator. Does not happen with Fusion (cf. the screenshots of a trivial example I'll attach)

STEPS TO REPRODUCE

Open some menu with a long text for a submenu

OBSERVED RESULT

The submenu indicator collides with the text

EXPECTED RESULT

The submenu indicator should not collide, obviously ;-)

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Gentoo
KDE Plasma Version: 6.5.5
KDE Frameworks Version:  25.12.1
Qt Version: 6.10.1
Comment 1 Tobias Leupold 2026-02-06 16:07:50 UTC
Created attachment 189291 [details]
No sub-menu indicator collision when usinf Fusion
Comment 2 Arjen Hiemstra 2026-02-09 12:23:41 UTC
I've seen this happen with the "application menu" button that shows the application's menu bar contents. Weirdly enough, this doesn't seem to happen in a lot of other places. I suspect something is going wrong in the menu spacing calculation that doesn't trigger if certain other features are enabled.
Comment 3 Tobias Leupold 2026-02-09 13:34:30 UTC
For the sake of completeness, I'll attach my minimal example I used to take the screenshots
Comment 4 Tobias Leupold 2026-02-09 13:34:54 UTC
Created attachment 189392 [details]
Minimal example to produce the problem