Bug 484137

Summary: In global or widget Edit Mode, a short widget's toolbar/handle can go out of screen bounds on the top or bottom edges
Product: [Plasma] plasmashell Reporter: Brodie Robertson <brodierobertson54321>
Component: Edit ModeAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: minor CC: nate, notmart
Priority: NOR    
Version First Reported In: 6.0.3   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 6.2.0
Sentry Crash Report:
Attachments: The menu being cut off by the top of the screen

Description Brodie Robertson 2024-03-21 08:15:07 UTC
Created attachment 167542 [details]
The menu being cut off by the top of the screen

SUMMARY
If a widget is too close to the top or bottom of the screen the config menu will get cut out, yet if it's too close to the side it will move to ensure it's always visible


STEPS TO REPRODUCE
1. Put a widget too close to the top or bottom
2. Open the widgets config menu
3. You can't see a section of it

OBSERVED RESULT
The menu is cut off

EXPECTED RESULT
The menu should move to ensure it is always visible regardless of how close the widget is to the edge

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0 
Qt Version: 6.6.2

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2024-04-11 20:01:44 UTC
Can reproduce the issue.
Comment 2 Bug Janitor Service 2024-08-15 10:13:30 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2442
Comment 3 Niccolò Venerandi 2024-08-15 17:07:22 UTC
Git commit 1248ab054a53f172e5f7e7fd1d2d41a06db842ce by Niccolò Venerandi.
Committed on 15/08/2024 at 17:06.
Pushed by niccolove into branch 'master'.

Avoid frame of ConfigOverlay going outside the screen

M  +12   -0    containments/desktop/package/contents/ui/ConfigOverlay.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/1248ab054a53f172e5f7e7fd1d2d41a06db842ce