| Summary: | Allow configuring whether overflowing menus vertically scroll or horizontally expand | ||
|---|---|---|---|
| Product: | [Plasma] Breeze | Reporter: | Guido Sanchez <sanchez.guido> |
| Component: | QStyle | Assignee: | Kai Uwe Broulik <kde> |
| Status: | CONFIRMED --- | ||
| Severity: | wishlist | CC: | mvourlakos, nate, noahadvs, plasma-bugs-null, uhhadd |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Global menu item covering all screen. | ||
Here's a patch: https://phabricator.kde.org/D19444 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? 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. I changed the title to reflect the fact that part B has not been addressed My patch was rejected and making this configurable in the widget is overkill. It could maybe be made configurable in Breeze itself. Moving there. |
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