The window title is not reseted when a password fails
- Open Evince without arguments
- From the Recent Documents view, open a file with a password
- Press 'Cancel' in the Password dialog.
Evince goes back to the Recent Documents view, but the title is set to "Password Required" and the filename.
The Password mode should be unset.
Regarding to the implementation, there is only a signal when the password was ok, but not when it fails. Adding a signal for password failure might help to go back to the previous state.
Another alternative is behave the same as when Evince opens the file from the shell. It starts a empty window, with the password dialog. When it fails, it provides a message in the in window with a button to try to unlock the document again.