Closed Bushuo closed 1 year ago
If I can be of any help, I have programming experience and Java knowledge. I would just need someone to point me in the right direction 🎉
Thanks for your interest! Any help is appreciated! The key issue is that JavaFX still has a bug that a key combination like copy or pasting also triggers the menu items and so generates events twice.
https://bugs.openjdk.org/browse/JDK-8205915.
Codwise you would need to check at some place where the focus is https://github.com/JabRef/jabref/blob/25b6858741fea4c8b84c7889d23061109aca5108/src/main/java/org/jabref/gui/JabRefFrame.java#L335-L342
There are also a couple of other related issues Might be related #9096
As a general advice for newcomers: check out Contributing for a start. Also, guidelines for setting up a local workspace is worth having a look at.
Feel free to ask here at GitHub, if you have any issue related questions. If you have questions about how to setup your workspace use JabRef's Gitter chat. Try to open a (draft) pull-request early on, so that people can see you are working on the issue and so that they can see the direction the pull request is heading towards. This way, you will likely receive valuable feedback.
Thanks for the info :) I will give it a try over the weekend.
Is the issue still open? Can i work on this?
The menuitem for paste declared in edit menu(screenshot of the code is attaced) is root cause of the replication. Its action get triggered, when cmd+v is pressed inside the 'New entry from plaintext' dialog. Unable to find out which listener is doing this. Note: the stagemanager says focusowner is MainTable, unable to capture the keybinding inside the event listener in MainTable. Screenshot of the debugger is also attached.
Can I get some help in finding the part of code that causes this issue?
JabRef version
5.7 (latest release)
Operating system
macOS
Details on version and operating system
mac os Monterey 12.6 on M1 Air
Checked with the latest development build
Steps to reproduce the behaviour
Load a bibtex reference into the clipboard like this one:
}