Bug 284357 - Leaving a resource with a contextual menu open leads to screen locker issues
Summary: Leaving a resource with a contextual menu open leads to screen locker issues
Status: RESOLVED UNMAINTAINED
Alias: None
Product: Active
Classification: Plasma
Component: General (show other bugs)
Version: PA 2
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: unscheduled
Assignee: active
URL:
Keywords:
: 286342 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-10-18 12:54 UTC by Javier Llorente
Modified: 2020-06-29 08:45 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Javier Llorente 2011-10-18 12:54:02 UTC
Version:           unspecified
OS:                Linux

Leaving a resource with a contextual menu open leads to a screen locker + contextual menu shown on top. Trying to unlock the screen for the first time will fail, the second time will succeed but you'll get a gray window with no content (screen locker?) covering all the screen and no peek area for some seconds.
This happens on 2011-10-18-00-53-meego-plasma-contour-in-progress-USB-live.is

Reproducible: Didn't try

Steps to Reproduce:
1. Long tap on a resource to get the contextual menu
2. Leave the device running for some time
3. Once you see the screen locker, try to unlock it
4. Observe the result (the contextual menu might be displayed before unlocking)


Expected Results:  
The contextual menu should not be displayed on top of the screen locker.
Comment 1 Martin Flöser 2011-10-18 17:40:18 UTC
I'm not sure how the context menu in Plasma Active is implemented but if it is 
a normal Window, I am sorry to say that this is a well known and common 
limitation of the X Windowing System: it is impossible to lock the screen 
while a context menu or a normal menu is shown.

Reason: the context menu performs a keyboard grab which means that the screen 
locker cannot get the grab and refuses to lock the screen.
Comment 2 Javier Llorente 2011-10-19 10:06:30 UTC
Well, in my case the screen was locked (or it looked like that).
Comment 3 Javier Llorente 2011-11-11 16:06:14 UTC
*** Bug 286342 has been marked as a duplicate of this bug. ***
Comment 4 groot 2020-06-29 08:45:50 UTC
Plasma Active is no longer under development. (Martin's comment about screen locking is still relevant in X11, I think, but doesn't apply to the unmaintained-product Plasma Active)