jabref: Paste button on maintable does not work properly
JabRef 5.1–2020-04-12–771af5d Linux 5.4.19-050419-generic amd64 Java 14
- I have tested the latest development version from http://builds.jabref.org/master/ and the problem persists
Steps to reproduce the behavior:
- Open two different bibfiles (A and B) with a couple of entries
- Select and copy one or more entries from the entry table of file A (via
Ctr-C
or via theCopy
button). - Switch to the entry table of file B.
- Use the
Paste
button. - (For me) The entry is not inserted in file B.
- Use
Ctr-V
instead and the entry is inserted in file B.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 21 (13 by maintainers)
Commits related to this issue
- Follow up fix for copy paste Fixes #6293 Also enable paste menu/action for empty libraries with no entries yet — committed to JabRef/jabref by Siedlerchr 4 years ago
- Follow up fix for copy paste (#6820) Fixes #6293 Also enable paste menu/action for empty libraries with no entries yet — committed to JabRef/jabref by Siedlerchr 4 years ago
The problem is that on MacOSX the command + v triggers the keyEvent which is handled in MainTable and consumed. However, afterwards it still propagates to the owner of the keybinding, the EditAction which then is triggered like if someone had pressed the MenuItem manually. Seems to be this bug: https://bugs.openjdk.java.net/browse/JDK-8205915
JabRef 5.1–2020-04-20–d9fe981 Linux 5.4.19-050419-generic amd64 Java 14.0.1
Can confirm, too. Thanks for the fix.
JabRef 5.1–2020-04-20–bc57d22 Windows 10 10.0 amd64 Java 14.0.1
I can confirm, this has been fixed in the current dev version.