Keepassxc: Give search field keyboard focus by default at startup

Created on 3 Aug 2017  路  7Comments  路  Source: keepassxreboot/keepassxc

When I start keepassxc, I either want to add a password, or look up one. Most often I want to look up a password. Hence, it would be handy if the search field has focus by default. Now I always have to press TAB twice.

Expected Behavior

Startup Keepassxc and start typing to search

Current Behavior

After starting Keepassxc I have to press TAB twice to enter the search field.

Possible Solution

Make the search field have keyboard focus after opening a database. Possibly make that focus optional in case some users do not want that behavior (although it is not clear which component currently has the focus, so I guess changing the default won't affect anyone).

thanks for considering!

Most helpful comment

You are right, this feature may be very useful.

All 7 comments

ctrl+f will focus the search field. There was a discussion on this in the past that resulted in the current behavior.

I searched the issue tracker before posting my issue but didn't find any
discussion. Could you link to it so I better understand because I fail to
take advantage of the current behavior so I guess I'm missing something.
Thanks

You are right, this feature may be very useful.

I've submitted pull request #887 that should solve the issue.

that's awesome, Noettore. I tested your PR briefly and it works excellent. It also focuses the search field after unlock :+1:

i tested the updated PR, everything :ok_hand: :)

related to #401 thanks @Noettore for the pr :)

Was this page helpful?
0 / 5 - 0 ratings