It's impossible to exit from screensaver if a menu or an application grabs the screen

Bug #1321075 reported by Marco Trevisan (Treviño) on 2014-05-20
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Unity
In Progress
High
Marco Trevisan (Treviño)
unity (Ubuntu)
High
Marco Trevisan (Treviño)
Xenial
High
Marco Trevisan (Treviño)

Bug Description

[Impact]
The user cannot exit from screensaver if a menu or an applications grabs the screen. Fixing this bug will make the lockscreen experience more reliable.

[Test Case]
1) Call something like
    sleep 3 && gdbus call --session --dest com.canonical.Unity --object-path \
    /com/canonical/Unity/Session --method com.canonical.Unity.Session.ActivateScreenSaver
2) Open a menu within 3 seconds

The unity screen is turned off, but moving the mouse or hitting the keyboard won't hide the unity blank window.

The same issue happens if the lockscreen is configured to start after X seconds after the screen has been turned off.

[Regression potential]
Make sure screensaver works with and without grabbing.

Related branches

no longer affects: unity/7.2
no longer affects: unity/7.3
Stephen M. Webb (bregma) on 2014-06-20
Changed in unity:
milestone: 7.3.0 → 7.3.1
Stephen M. Webb (bregma) on 2015-02-11
Changed in unity:
milestone: 7.3.1 → 7.3.2
Stephen M. Webb (bregma) on 2015-03-19
Changed in unity:
milestone: 7.3.2 → 7.3.3
tags: added: rls-w-incoming
Changed in unity:
milestone: 7.3.3 → 7.4.0
tags: added: rls-x-incoming
removed: rls-w-incoming
Will Cooke (willcooke) on 2015-11-23
tags: removed: rls-x-incoming
tags: added: unity-backlog
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity - 7.5.0+17.04.20161111.1-0ubuntu1

---------------
unity (7.5.0+17.04.20161111.1-0ubuntu1) zesty; urgency=medium

  * LockScreenController: use InputMonitor to get all the events and
    hide the Blank Window (LP: #1321075)
  * LockScreenController: use input monitor to get the events to switch
    monitor (LP: #1316862)
  * LauncherOptions: use track_obj to manage option changes (LP:
    #1622995)

 -- Marco Trevisan (Treviño) <mail@3v1n0.net> Fri, 11 Nov 2016 16:01:53 +0000

Changed in unity (Ubuntu):
status: In Progress → Fix Released
Changed in unity (Ubuntu):
importance: Undecided → High
Changed in unity (Ubuntu Xenial):
importance: Undecided → High
Andrea Azzarone (azzar1) on 2017-07-17
description: updated
Amr Ibrahim (amribrahim1987) wrote :

Ping!
SRU into Xenial.

no longer affects: unity/7.2

Hello Marco, or anyone else affected,

Accepted unity into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/unity/7.4.5+16.04.20171116 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-xenial to verification-done-xenial. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-xenial. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in unity (Ubuntu Xenial):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-xenial
Łukasz Zemczak (sil2100) wrote :

Hello Marco, or anyone else affected,

Accepted unity into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/unity/7.4.5+16.04.20171201.3 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-xenial to verification-done-xenial. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-xenial. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Ads20000 (ads20000) wrote :

Unable to reproduce the bug (in VirtualBox - low graphics mode, single monitor) so I can't verify the fix. Unable to switch to non-lowgfx because I get 'No such key 'lowgfx'' when trying to run `gsettings set com.canonical.Unity lowgfx false`.

Ads20000, are you sure you upgraded all the unity related packages from proposed?

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers