Password overlay dialogue breaks during screen lock while overlay present

Bug #1866275 reported by Matthew Ruffell
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
GNOME Shell
New
Unknown
gnome-shell (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

If you have a password overlay dialogue box present on your screen, for example, trying to mount an encrypted disk image from gnome-disks, or trying to unlock an ssh key, if the lock screen appears while the dialogue is in place, after unlocking the screen, you can still enter your password into the dialogue and the action still happens (mounting the disk image, unlocking the ssh key), but the dialogue box gets stuck and does not disappear.

Steps for reproducing:

1) In gnome-disks, make a small 10mb disk image, select ext4 and luks. Set a trivial password.
2) Attempt to mount the encrypted disk image
3) When the password unlock dialogue appears, lock your screen (super + L)
4) Wake the screen up, unlock computer
<note, password overlay dialogue covers lock screen password prompt>
5) Enter password into existing dialogue
6) The dialogue now cannot be dismissed.

Logs:

Mar 06 12:46:36 ubuntu0 udisksd[749]: Set up loop device /dev/loop5 (backed by /home/ubuntu/Documents/diskimage.img)
Mar 06 12:46:37 ubuntu0 systemd[1]: fprintd.service: Succeeded.
Mar 06 12:46:40 ubuntu0 dbus-daemon[703]: [system] Activating via systemd: service name='net.reactivated.Fprint' unit='fprintd.service' requested by ':1.307' (uid=1000 pid=1506 comm=">
Mar 06 12:46:40 ubuntu0 systemd[1]: Starting Fingerprint Authentication Daemon...
Mar 06 12:46:40 ubuntu0 dbus-daemon[703]: [system] Successfully activated service 'net.reactivated.Fprint'
Mar 06 12:46:40 ubuntu0 systemd[1]: Started Fingerprint Authentication Daemon.
Mar 06 12:46:40 ubuntu0 gdm-password][1921]: pam_unix(gdm-password:auth): Couldn't open /etc/securetty: No such file or directory
Mar 06 12:46:43 ubuntu0 gnome-shell[1506]: JS WARNING: [resource:///org/gnome/shell/gdm/authPrompt.js 316]: reference to undefined property "_defaultButtonWellActor"
Mar 06 12:46:43 ubuntu0 gdm-password][1921]: pam_unix(gdm-password:auth): Couldn't open /etc/securetty: No such file or directory
Mar 06 12:46:43 ubuntu0 gdm-password][1921]: gkr-pam: unlocked login keyring
Mar 06 12:46:43 ubuntu0 NetworkManager[706]: <info> [1583452003.9911] agent-manager: agent[69f92bd444c1b400,:1.307/org.gnome.Shell.NetworkAgent/1000]: agent registered
Mar 06 12:46:43 ubuntu0 dbus-daemon[1259]: [session uid=1000 pid=1259] Activating service name='org.freedesktop.FileManager1' requested by ':1.50' (uid=1000 pid=1506 comm="/usr/bin/gn>
Mar 06 12:46:44 ubuntu0 dbus-daemon[1259]: [session uid=1000 pid=1259] Activating service name='org.gnome.Nautilus' requested by ':1.50' (uid=1000 pid=1506 comm="/usr/bin/gnome-shell >
Mar 06 12:46:44 ubuntu0 gnome-shell[1506]: Unable to mount volume 10.0 MB Encrypted: Gio.IOErrorEnum: An operation is already pending
Mar 06 12:46:51 ubuntu0 udisksd[749]: Unlocked device /dev/loop5 as /dev/dm-3
Mar 06 12:46:51 ubuntu0 kernel: EXT4-fs (dm-3): mounted filesystem without journal. Opts: (null)
Mar 06 12:53:50 ubuntu0 gnome-shell[1506]: JS WARNING: [resource:///org/gnome/shell/ui/unlockDialog.js 762]: reference to undefined property "_authPrompt"
Mar 06 12:53:50 ubuntu0 gnome-shell[1506]: JS ERROR: TypeError: this._authPrompt is undefined
                                           _escape@resource:///org/gnome/shell/ui/unlockDialog.js:762:13

Version info:
- Ubuntu 20.04
- gnome-shell 3.35.91-1ubuntu2

Attached is a screencast demonstrating each of the steps for reproducing.

Revision history for this message
Matthew Ruffell (mruffell) wrote :
description: updated
Revision history for this message
Matthew Ruffell (mruffell) wrote :
Changed in gnome-shell (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Sebastien Bacher (seb128) wrote :

Daniel, could you have a look to this one?

Changed in gnome-shell (Ubuntu Focal):
assignee: nobody → Daniel van Vugt (vanvugt)
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

All comments will be in the upstream bug to avoid duplication: https://gitlab.gnome.org/GNOME/gnome-shell/issues/2321

Changed in gnome-shell (Ubuntu Focal):
status: Triaged → In Progress
Changed in gnome-shell:
status: Unknown → New
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Not a priority at all. It's really obscure and difficult to encounter:

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2321#note_744172

Also it's not a security issue.

Changed in gnome-shell (Ubuntu Focal):
assignee: Daniel van Vugt (vanvugt) → nobody
status: In Progress → New
tags: added: rls-ff-notfixing
tags: removed: champagne
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

... so we can wait for upstream to fix it, along with its sister bug:
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2446

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-shell (Ubuntu):
status: New → Confirmed
no longer affects: gnome-shell (Ubuntu Focal)
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.