Public bug reported:

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.

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


** Tags: champagne focal

** Attachment added: "Screencast of password overlay bug"
   
https://bugs.launchpad.net/bugs/1866275/+attachment/5334104/+files/Screencast%20from%2006-03-20%2012%3A46%3A31.webm

** Description changed:

  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.
+ 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
-                                            
+                                            
_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.

** Bug watch added: gitlab.gnome.org/GNOME/gnome-shell/issues #2321
   https://gitlab.gnome.org/GNOME/gnome-shell/issues/2321

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

Title:
  Password overlay dialogue breaks during screen lock while overlay
  present

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

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

Reply via email to