Bug 451965 - Submenu misplacement since new outer margins of hightlight in menus
Summary: Submenu misplacement since new outer margins of hightlight in menus
Status: CONFIRMED
Alias: None
Product: Breeze
Classification: Plasma
Component: QStyle (other bugs)
Version First Reported In: master
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2022-03-27 17:13 UTC by Derek Christ
Modified: 2023-01-08 10:33 UTC (History)
3 users (show)

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


Attachments
Context menu on desktop (429.86 KB, image/png)
2022-03-27 17:13 UTC, Derek Christ
Details
Context menu in system-monitor (24.70 KB, image/png)
2022-03-27 17:13 UTC, Derek Christ
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Derek Christ 2022-03-27 17:13:26 UTC
Created attachment 147772 [details]
Context menu on desktop

SUMMARY
Submenus in menus get horizontally misplaced since the addition of the new outer margins of hightlight in menus.
The submenu is placed at the edge of the highlight instead of the menu itself which looks weird. I attached a screenshot that shows the misplacement of the submenu.

The Breeze Style for QQC2 is not affected by this bug as far as I can tell. I also attached a screenshot from the system-monitor where the submenu gets correctly aligned to the main menu and not the highlight.


STEPS TO REPRODUCE
1. Run the git master version of Plasma
2. Right click on the desktop and hover over an item that opens a submenu

OBSERVED RESULT
Submenu is aligned to the highlight

EXPECTED RESULT
Submenu is aligned to the main menu

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux
KDE Plasma Version: 5.24.80
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.3
Kernel Version: 5.16.14-1-MANJARO (64-bit)
Graphics Platform: X11
Comment 1 Derek Christ 2022-03-27 17:13:54 UTC
Created attachment 147773 [details]
Context menu in system-monitor
Comment 2 Nate Graham 2022-03-28 22:08:48 UTC
Can confirm.
Comment 3 Derek Christ 2023-01-08 10:33:28 UTC
Other GUI interfaces do not seem to have a clear answer to this question either (Firefox, Windows, MacOS, ...) and most tend to place the submenu directly at the end of the highlight. So both possibilities may be valid.

Perhaps the goal of the bug report should be to make it consistent in Plasma, based on the style that is more accepted among the community.