Bug 493391

Summary: The context menu's arrow points to the wrong side when the Right-Clicking on the far right of the screen
Product: [Plasma] plasmashell Reporter: Fernando M. Muniz <fernandommuniz>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: minor CC: felixernst, filip.kendes1, kde
Priority: NOR    
Version First Reported In: 6.1.5   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=507531
Latest Commit: Version Fixed In:
Sentry Crash Report:
Bug Depends on:    
Bug Blocks: 507531    
Attachments: The ">" should go to the left corner and become "<" to match its behaviour.

Description Fernando M. Muniz 2024-09-20 04:18:04 UTC
Created attachment 173902 [details]
The ">" should go to the left corner and become "<" to match its behaviour.

Just a visual inconsistency, a minor issue.
Comment 1 Filip 2024-09-20 11:28:31 UTC
We can't change that. Arrow just displays that the submenu will open. And since there is no space on the screen to the right, it opens on the left side. It can't be dynamically be moved left and right and there is no need to do it I think.
Comment 2 Felix Ernst 2025-01-01 13:43:44 UTC
I think the idea has some merit but whether the menu will appear on the right or the left depends on the width of the sub-menu. The sub-menu is typically not created until the menu is opened, so unless we want to change this (which would incure an extra performance penatly on menu creation), there is no way to know on which side the sub-menu should appear. So I concur with Filip that we can't really change that.