Can not disable screen locking after suspend in ubuntu 20.04 (gnome-flashback)

Bug #1891681 reported by Dmitry Golik
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-flashback (Ubuntu)
Fix Released
Undecided
Unassigned
Focal
Fix Released
Undecided
Unassigned

Bug Description

[Impact]

When suspending the computer, screen lock activates even if it is disabled.

[Test Case]

1. Disable screen locking by running the following command:
gsettings set org.gnome.desktop.screensaver lock-enabled false
2. Log into GNOME Flashback (Metacity) session.
3. Suspend the computer and then wake it up back.
4. There should be no lock screen, the desktop should be seen as before suspend.

[Regression Potential]

See https://gitlab.gnome.org/GNOME/gnome-flashback/-/commit/fd4855c406106750 for the upstream fix.

The fix is trivial: when gf_prefs_get_lock_enabled() returns false, listener_lock_cb() is not called. In any case, potential regressions would be limited to screen locking code.

[Original Description]

Hello!

I updated from 18.04 to 20.04 and since then unable to disable lock screen, despite it was disabled in 18.04. Corresponding setting in the gui does not take effect, so does gsettings set org.gnome.desktop.screensaver lock-enabled false or xset s off. I also tried sudo dpkg-reconfigure gdm3 (the setting was sddm, and i changed it to gdm3) with the same effect.

After suspension i get picture with purple fossa and password field, in which i can not change keyboard layout with keyboard, but only with mouse. My session is gnome-flashback (3.36.3-0ubuntu1) metacity (1:3.36.1-1). The lock screen does not appear after screensaver (i use xscreensaver).

However once this lock screen stopped to appear, but at the same time the system started to enter suspend mode randomly and quite often. After rebooting the lock screens came back.

Also the sound volume is set to "mute" sometimes after suspend.

journalctl -xe starting at the beginning of suspension (unfortunately it is in part in russian) in the attached file.

I asked this on askubuntu and was advised to file a bug here. https://askubuntu.com/questions/1265613/can-not-disable-screen-locking-after-suspend-in-20-04

Thanks in advance.

Revision history for this message
Dmitry Golik (wormball) wrote :
Revision history for this message
Alberts Muktupāvels (muktupavels) wrote :

Fix (screen lock on suspend when it is disabled) will be available in next 3.36.x release - https://gitlab.gnome.org/GNOME/gnome-flashback/-/commit/fd4855c406106750a53b01776d7e4346cc252bb4.

Revision history for this message
Dmitry Golik (wormball) wrote :

Thanks!

Revision history for this message
Dmitry Shachnev (mitya57) wrote :

This is now fixed in the development Ubuntu release (gnome-flashback 3.37.3). A fix for stable release (Ubuntu 20.04) will be available a bit later.

Changed in gnome-flashback (Ubuntu):
status: New → Fix Released
Changed in gnome-flashback (Ubuntu Focal):
status: New → In Progress
description: updated
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Dmitry, or anyone else affected,

Accepted gnome-flashback into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gnome-flashback/3.36.4-0ubuntu1 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, what testing has been performed on the package and change the tag from verification-needed-focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-focal. In either case, without details of your testing we will not be able to proceed.

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

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in gnome-flashback (Ubuntu Focal):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-focal
Revision history for this message
Alberts Muktupāvels (muktupavels) wrote :

3.36.4-0ubuntu1 fixes problem. With automatic screen lock disabled screen is not locked on suspend.

tags: added: verification-done verification-done-focal
removed: verification-needed verification-needed-focal
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-flashback - 3.36.4-0ubuntu1

---------------
gnome-flashback (3.36.4-0ubuntu1) focal; urgency=medium

  * New upstream bugfix release (LP: #1892628).
    - Update lock screen window on monitor changes (LP: #1891855).
    - Don't lock screen on suspend if automatic screen lock is disabled
      (LP: #1891681).
    - Updated translations (LP: #1882531).

 -- Dmitry Shachnev <email address hidden> Sun, 23 Aug 2020 16:04:59 +0300

Changed in gnome-flashback (Ubuntu Focal):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for gnome-flashback has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.