Keepassxc-browser: Conflict with default TOTP keyboard shortcut (Alt+Shift+T)

Created on 24 Jan 2020  路  8Comments  路  Source: keepassxreboot/keepassxc-browser

The keyboard shortcut Alt+Shift+T is currently the default shortcut for filling in the TOTP code. On a Linux system running GNOME, typing Alt+Shift+T into Firefox toggles the Tools menu in the browser instead of triggering the KeepassXC-Browser extension.

One possible solution would be to make the default TOTP shortcut something that doesn't conflict with a browser menu shortcut, such as Alt+Shift+O.

Another solution would be to use a different combination than Alt+Shift. Ctrl+Alt would work for all of the default combinations (Ctrl+Alt+U, Ctrl+Alt+I, Ctrl+Alt+T, and Ctrl+Alt+G). Ctrl+Shift is not ideal, because Ctrl+Shift+T restores the last closed tab in Firefox.

KeepassXC-Browser version: 1.5.4

Related: #606

PR pending bug

All 8 comments

Does this happen only with Chrome? You can always configurate the keyboard shortcuts by yourself.

Defining these shortcuts is not easy. Quite often they collide with something pre-defined.

Btw, you can also fill the TOTP by using the new icon.

This only happens in Firefox. Chrome doesn't have a default keyboard shortcut for TOTP, and it's unset in KeepassXC-Browser. (I'm not sure if this difference was intended.)

I've already reconfigured the shortcuts on my browsers, and the suggestion of changing the default keyboard shortcuts is intended to benefit new users of KeepassXC-Browser.

Sorry, I meant does this happen only with Gnome? My brains switched the word.

I just confirmed that this also happens on KDE Plasma on Linux. Firefox opens the Tools menu when Alt+Shift+T is pressed, which overrides the default keyboard shortcut in KeepassXC-Browser. The shortcut is inherent to Firefox, and not GNOME.

There's no conflict on macOS (since menus can only be selected with keystrokes after typing Ctrl+F2). I don't have a Windows computer handy at the moment.

I guess it would be enough to change the Linux shortcut. Of course we must check Windows behaviour also.

I've tested this on Windows, and I can confirm that Alt+Shift+T also triggers the Firefox Tools menu instead of the KeepassXC-Browser action on Windows.

Thank you for testing this!

Another solution would be to use a different combination than Alt+Shift. Ctrl+Alt would work for all of the default combinations (Ctrl+Alt+U, Ctrl+Alt+I, Ctrl+Alt+T, and Ctrl+Alt+G). Ctrl+Shift is not ideal, because Ctrl+Shift+T restores the last closed tab in Firefox.

This will not work because:

Note: All key combinations must include either Ctrl* or Alt. Combinations that involve Ctrl+Alt are not permitted in order to avoid conflicts with the AltGr key.

Was this page helpful?
0 / 5 - 0 ratings