Right now gnome-screensaver's lock dialog starts up with a prompt of "Password: " hardcoded, and the entry fields visible and enabled. It's possible that PAM will ask for something else instead of "Password: " so this causes confusing changing messages in those cases. Also, it's possible that pam won't prompt for any keyboard input at all, but instead display a message to the user like "Please insert smart card". The entry should either be hidden by default or disabled by default.
Yeah, this was a conscious decision. It is to support typing before the dialog comes up.
ah that makes sense. Well, maybe we can do something like realize the entry but not show it until pam asks for input.
*** This bug has been marked as a duplicate of 201878 *** *** This bug has been marked as a duplicate of 201878 ***
Not sure why this bug got, closed...reopened now.
Created attachment 137520 [details] hide and show various UI elements depending on what PAM is asking for, process pam conversation in a thread So I commited the above to rawhide. It hides the entry by default, but attempts to doing key queueing on the plug side like the socket side does. The key queuing doesn't work though--the first few characters don't get through. The patch also punts PAM processesing to a thread, so that the "Cancel" button responds even while the PAM modules is blocked doing network I/O or waiting for the user to insert a smart card.