Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Allow Enter key to select recent DB on OS X #2331
Motivation and context
I work with a few different password DBs. I like to use the keyboard heavily in KeePassXC. I can close an existing DB with Ctrl+W, but I have to use the mouse to open a recent one. Hitting Enter does not work on OS X. Details are below.
My C++ is extremely rusty, so any feedback would be appreciated.
Per StackOverflow , a recommended solution is to catch the enter/return key press manually.
This seems like a common problem with Qt.   I'm guessing other
How has this been tested?
Manually tested on OS X 10.11.6 with Qt 5.11.2. I have not tested on a Windows/X11 environment to verify that the
Screenshots (if appropriate):
Types of changes
What do you mean giving the selection box focus? I can select things in the list with arrow keys, but Enter does not open the DB.
I have not tested this on other OSes, but the Qt docs claim that Enter will activate things on Windows/X11. I believe this is an OS X specific problem.
I was considering getting rid of the