Public bug reported:

Context: I usually set the lock delay to 30 minutes, and do it via
gsettings since GNOME Settings allows values of 15 min max.

Problem: This value is reset to "uint32 0" (zero) when I click the tab
Privacy & Security in GNOME Settings. Since the change happens silently
the user will not be aware of it.


Example to replicate:

1. Open terminal and set a custom delay value (30 min in this case):

$ gsettings set org.gnome.desktop.session idle-delay 1800

2. Monitor the key for change:

$ gsettings monitor org.gnome.desktop.session idle-delay

3. Open GNOME Settings and click "Privacy & Security"

4. The key is changed, on step 3, to "uint32 0" as seen in the terminal
monitoring the key:

$ gsettings monitor org.gnome.desktop.session idle-delay
idle-delay: uint32 0


The option to lock the screen after a delay can be set in (at least) three 
different locations:

1. Settings -> Power -> Screen Blank

2. Settings -> Privacy & Security -> Screen Lock -> Blank Screen Delay

3. $ gsettings set org.gnome.desktop.session idle-delay 1800

(1 and 2 are drop-down lists going from "Never" up to "15 minutes". In
3, I used "1800" = 30 min.)

The issue only happens when I click the tab "Privacy & Settings" (I
believe this tab is new in Ubuntu 24.04, I don't recall seeing it in
20.04 or 22.04). I can click all other tabs, including the tab "Power",
without problem.

I was able to replicate the issue in another laptop, also with Ubuntu
24.04.


Machine details
----------------------------------------
$ lsb_release -rd
No LSB modules are available.
Description:    Ubuntu 24.04.1 LTS
Release:        24.04

$ apt-cache policy gnome-shell
gnome-shell:
  Installed: 46.0-0ubuntu6~24.04.5
  Candidate: 46.0-0ubuntu6~24.04.5
  Version table:
 *** 46.0-0ubuntu6~24.04.5 500
        500 http://pt.archive.ubuntu.com/ubuntu noble-updates/main amd64 
Packages
        100 /var/lib/dpkg/status
     46.0-0ubuntu6~24.04.3 500
        500 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages
     46.0-0ubuntu5 500
        500 http://pt.archive.ubuntu.com/ubuntu noble/main amd64 Packages

$ apt-cache policy gnome-screensaver
gnome-screensaver:
  Installed: (none)
  Candidate: 3.6.1-13ubuntu4
  Version table:
     3.6.1-13ubuntu4 500
        500 http://pt.archive.ubuntu.com/ubuntu noble/universe amd64 Packages

Note I thought the idle-delay was part of package gnome-screensaver but
it turns out I don't even have it installed. The package description
says "This package is not necessary in the GNOME desktop environment,
because GNOME Shell contains its own screen lock implementation. (...)"
so I filled this bug under gnome-shell.

** Affects: gnome-shell (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2083869

Title:
  Screen Blank delay (idle-delay) is set to 0 (zero) by clicking Privacy
  & Security tab in Settings

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/2083869/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to