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

Steps to reproduce the behavior:

  1. Open two different bibfiles (A and B) with a couple of entries
  2. Select and copy one or more entries from the entry table of file A (via Ctr-C or via the Copy button).
  3. Switch to the entry table of file B.
  4. Use the Paste button.
  5. (For me) The entry is not inserted in file B.
  6. 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

Most upvoted comments

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.