-
-
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
ESC should close the dialog #8888
Comments
All tabs in the preferences need to be checked for this behavior. |
Same for the error log |
Might be related #7392 (comment) |
JabRef 100.0.0 When testing this issue - it appears to be the case that if I select any tab (even the General tab that is already selected when the dialog opens) then the ESC button will not close the dialog as expected. This issue appears to be more 'newcomer-friendly' than the previous issue I selected. If possible, I would like to have it assigned to me so that I can attempt to resolve this bug. |
@sjb-ch1mp Thanks for taking a look! There was also recently another related issue to the use of the ENTER buton #9225 |
Partially fixed by @sjb-ch1mp in #9268 . A different strategy might be needed to address it for all |
@k3KAW8Pnf7mkmdSMPHz27 Thanks so much for your feedback! I was under the impression that I had tested the other ListViews that appeared in the different menus, but I clearly was not very thorough because I immediately found more that did not respect the CLOSE event, for example: Options > Preferences > Citation key generator > Key patterns Working under the hypothesis that the event is being consumed before it can reach the ListView component - I implemented an EventFilter in the BaseDialog class that specifically listens for the CLOSE event during the event capturing phase. This appears to have worked for all ListViews in all dialogs (as opposed to just the main Preferences tabs). I have implemented this solution in #9275. |
It should be implemented - if the super constructor is called --> org.jabref.gui.util.BaseDialog#BaseDialog |
JabRef version
Latest development branch build (please note build date below)
Operating system
Windows
Details on version and operating system
No response
Checked with the latest development build
Steps to reproduce the behaviour
Expectation: at step 4 and 7, the dialog should close
Appendix
...
Log File
The text was updated successfully, but these errors were encountered: