-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Left and right keys do not work in the search bar #3081
Comments
Also confirmed under Windows. The left/right keys move the focus away from the field. |
I'll be so brave and add this to the 4.0 milestone as one of the things we can fix before the final release. |
Even the "Mouse down" event focuses the next button. This actually renders the autocompletion useless since one cannot select the next item. |
Could adding an else { e.consume(); } here fix this? jabref/src/main/java/org/jabref/gui/search/GlobalSearchBar.java Lines 197 to 212 in 2abf651
Since i'm not a 100% certain how the searchbar should behave i don't know what to look for when testing, but i didn't see anything out of the ordinary in a quick GUI test. |
Tested it. Works. Have a slight other issue (see JabRef#252), but not a blocker. |
And another one, which is not directly related to this PR: JabRef#253 |
I did some research onto this specific issue and it seems like the problem is here the JToolBar which has an implicit KeyListener registered for the arrow keys. |
JabRef 4.0-dev--snapshot--2017-08-06--master--b7743c4d7
Mac OS X 10.11.6 x86_64
Java 1.8.0_144
Steps to reproduce:
The text was updated successfully, but these errors were encountered: