Created attachment 141946 [details] menu SUMMARY STEPS TO REPRODUCE 1. Open Kmail composer with the global menu enabled 2. click on the hamburger menu 3 . OBSERVED RESULT See screenshot EXPECTED RESULT Text is truncated correctly and not just cut SOFTWARE/OS VERSIONS Linux/KDE Plasma: openSUSE tumbleweed (but using kdesrc-build) KDE Plasma Version: master KDE Frameworks Version: master Qt Version: 5.15.2 ADDITIONAL INFORMATION
This bug happens in any QMenu that adds a section (QMenu::addSection(text)) with text that is very very long. The bug is encountered in KHamburgerMenu when a global menu bar is used because in that case no "Show Menubar" action is visible which reduces the overall width of this menu so it is narrower than the "<amount> Menu Bar Exclusive Actions" section text. I think the correct fix for this isn't in KConfigWidgets since this is a general problem on how section text sometimes doesn't fit in the QMenu. Maybe it should be fixed in the style. >EXPECTED RESULT >Text is truncated correctly and not just cut Alternatively the width of the QMenu should be wider so everything fits.
*** Bug 443805 has been marked as a duplicate of this bug. ***
Just fixed in Bug 450333! *** This bug has been marked as a duplicate of bug 450333 ***