Bug 210852

Summary: Context menus go off-screen
Product: [Unmaintained] plasma4 Reporter: William Kendrick <nbs>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: andresbajotierra, marcan
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Unspecified   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description William Kendrick 2009-10-17 02:57:18 UTC
Version:           0.3 (using KDE 4.3.2)
Installed from:    Unlisted Binary Package

I have a notes plasmoid on the right side of my desktop.  If I right-click to bring up the plasmoid's context menu, it is often too close to the edge, and goes off the screen.  The menu should keep itself on-screen.  (For comparison, try right-clicking at the far right of a maximized Konqueror window :) )
Comment 1 Dan Hagerstrand 2009-10-17 03:03:18 UTC
It seems to me that part of the problem is how the menu is created. It seems to be part of the widget itself, as it goes under other notes, etc. and thus cannot reasonably determine the screen geometry. I don't really know the code, but this is what seems to be happening.
Comment 2 Hector Martin 2009-10-17 03:46:24 UTC
The little pop-up sidebars that are used to move and resize widgets are definitely aware of the screen edges, though.
Comment 3 Dan Hagerstrand 2009-10-17 07:12:50 UTC
That's because those are handled by Plasma, not the widget itself. Plasma is aware of screen geometry. So are the pop-up menus (under normal circumstances, anyway). However, for some reason, it looks like this pop-up menu is being done through the level of the widget, and thus the screen geometry is not passed down to it. There is no way for it to determine where the edges are.
Comment 4 Dario Andres 2009-10-18 02:18:48 UTC
This is related to bug 208914 / bug 207266  ( bug 162913 )
Thanks

*** This bug has been marked as a duplicate of bug 208914 ***