adur1990 / Pass-for-macOS

macOS wrapper for pass, the standard UNIX password manager
BSD 3-Clause "New" or "Revised" License
112 stars 8 forks source link

The app doesn't get focus unless clicked #61

Closed sahinakkaya closed 1 year ago

sahinakkaya commented 1 year ago

Describe the bug

I don't know if it is only me or this is expected behaviour but the app doesn't get focus unless clicked.

To Reproduce

Activate the app via keybinding or by clicking its icon in the menu bar and search for some password. The password list cannot be navigated with arrow keys unless you click to the list.

Expected behavior

I expect the app to get focus when it is activated.

Desktop Environment

sahinakkaya commented 1 year ago

Since no one cared, I decided to implement this by myself and guess what I found: you can navigate the list with Tab/Shift+Tab *

I might still implement the same functionality for arrow keys but currently this looks OK to me.

adur1990 commented 1 year ago

Hi,

this is intended behaviour. When you search for a password, your focus is on the search field, so the arrow keys do what arrow keys do in a text field: move the cursor. You have to change the focus to the list by pressing tab or click, then you can use the arrow keys.