Skip to content

Unable to alt+tab to password editing window

Problem

Can't alt+tab from another app to the password editing window.

Steps to reproduce

Open the app, unlock your device, select a password entry and click open. Now alt+tab away from that window. When you alt+tab back, observe that only the background window (the one with the tree of passwords) appears in the list. Switching to it does set the focus to that background window, not the password editing window.

Also, using the keyboard to tab over to the "Generate" button and pressing the space bar to activate it also changes focus back to the background window.

More info

This appears to be related to the EditAccount class (client/esdb-gui/account/editaccount.cpp) which inherits from EditEntryDialog, which inherits from QDialog. The documentation for QDialog makes is sound like this is maybe not the class we want.

We might want a normal QT window (QWindow)? Modal dialogs have a return value, which may be relevant for this use case, as this may be used for either saving or abandoning any changes the user may have made.

Edited by Adam
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information