GNOME Bugzilla – Bug 693756
loginDialog: fix cancel from "Not Listed?"
Last modified: 2015-05-02 15:47:11 UTC
Since commit 1ae0fadbf483128e27565baba6e8684bc5defca2 we no longer start a PAM conversation as soon as the user clicks the "Not Listed?" button. Instead we defer starting the PAM conversation until the user types their username. Unfortunately, the cancel button resets the dialog back to the user list indrectly by cancelling the current PAM conversation. This means if the user hasn't yet entered thier username then the cancel button doesn't work. This commit performs a direct dialog reset in the case the PAM conversation hasn't been started yet.
Created attachment 235977 [details] [review] loginDialog: fix cancel from "Not Listed?"
Review of attachment 235977 [details] [review]: Looks good.
Review of attachment 235977 [details] [review]: Eek. I'm not sure I like one path being an implicit result of the cancel, and another calling _reset. I think having one _reset function call do everything is a good idea.
The problem is that GDM sometimes emits a Reset on its own, for example for a successful switching.
Attachment 235977 [details] pushed as 7da186d - loginDialog: fix cancel from "Not Listed?"
I still experience this.