Bug 404942 - Allow configuring whether overflowing menus vertically scroll or horizontally expand
Summary: Allow configuring whether overflowing menus vertically scroll or horizontally...
Status: CONFIRMED
Alias: None
Product: Breeze
Classification: Plasma
Component: QStyle (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Kai Uwe Broulik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-01 13:53 UTC by Guido Sanchez
Modified: 2025-10-24 18:48 UTC (History)
5 users (show)

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


Attachments
Global menu item covering all screen. (339.91 KB, image/png)
2019-03-01 13:53 UTC, Guido Sanchez
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Guido Sanchez 2019-03-01 13:53:43 UTC
Created attachment 118458 [details]
Global menu item covering all screen.

SUMMARY


STEPS TO REPRODUCE
1. Start with a fresh installation of Kubuntu 18.04.
2. Add an empty panel on top with Global Menu.
3. Open a menu that has a lot of items, so it doesn't fit the screen.

OBSERVED RESULT

The menu expands horizontally and ends covering all the screen.

EXPECTED RESULT

a) The menu should add top and bottom arrows to slide.
b) The menu should use the screen size minus the panels size to display the items, since the panels are configured to be on top of windows.


SOFTWARE/OS VERSIONS
Windows: 
MacOS: 
Linux/KDE Plasma: Kubuntu 18.04
(available in About System)
KDE Plasma Version: 5.12.7
KDE Frameworks Version: 5.44.0
Qt Version: 5.9.5

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2019-03-01 15:07:00 UTC
Here's a patch: https://phabricator.kde.org/D19444
Comment 2 Guido Sanchez 2019-03-01 17:11:32 UTC
Wow Nate, thanks a lot. That was fast! Following the discussion on https://phabricator.kde.org/D19444 seems that making it configurable would keep most users happy. KVantum engine has an option that lets you choose wether you want the menus to scroll or not.

What about the menus covering the panels that are set to be on top of windows?
Comment 3 Noah Davis 2023-08-02 06:27:50 UTC
This seems to be fixed, except for expected result B. That part may be solvable by restricting the menu's height in the `plasma-workspace/applets/appmenu/lib/appmenuapplet.cpp` file's, `void AppMenuApplet::trigger(QQuickItem *ctx, int idx)` function.
Comment 4 Noah Davis 2023-08-02 06:30:45 UTC
I changed the title to reflect the fact that part B has not been addressed
Comment 5 Nate Graham 2025-10-24 18:47:57 UTC
My patch was rejected and making this configurable in the widget is overkill. It could maybe be made configurable in Breeze itself. Moving there.