-
-
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
JabRef and the X Window clipboard/selections #2389
Comments
Thanks for your report, this seems to be a java problem. I found some info
about in this German java book which states that java currently cannot use
the secondary clipboard:
http://openbook.rheinwerk-verlag.de/javainsel9/javainsel_19_025.htm
However, primary is supported
|
With JavaFX it seems to be impossible (?): How can I read the X11 clipboard from a JavaFX application?. So strange that this seems not to be discussed on stackoverflow... I am now playing around with |
@snisnisniksonah found https://bugs.openjdk.java.net/browse/JDK-8088117:
The solution won't satisfy you:
Reading @glaubitz (https://lists.debian.org/debian-java/2017/08/msg00024.html), I have the hope, there could be someone "just" implementing that. |
Since this is not possible to implement, I close the issue. Having the hope that JDK9 or JDK10 can solve that, I added on-hold label and close the issue for now. |
I rechecked the issue on openjdk and it is still not implemented. |
There is a SO answer from Feb 2019: https://stackoverflow.com/a/54530538/873282. Needs to be checked. |
Hey! I would like to work on this issue, if it is available :"D |
Go ahead! 👍 |
@gregoa We worked on it and think, we fixed it. Could you try the latest build at https://builds.jabref.org/master and report back if it works for you. |
On Sun, 27 Oct 2019 07:31:16 -0700, Oliver Kopp wrote:
@gregoa We worked on it and think, we fixed it. Could you try the
latest build at https://builds.jabref.org/master and report back if
it works for you.
I tried with the linux portable version, and I can confirm that it
works, i.e. I can both Ctrl-C/Ctrl-V and
select/paste-with-middle-click.
Thanks for implementing this feature!
Cheers,
gregor
…--
.''`. https://info.comodo.priv.at -- Debian Developer https://www.debian.org
: :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D 85FA BB3A 6801 8649 AA06
`. `' Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
`- NP: Maryse Nicolai: n/a
|
[JabRef version 3.8~pre2+ds-1 from Debian/experimental. But the issue is not specific to this version.]
The X Window System has usually three "selections": primary/XA_PRIMARY - copying by highlighting with the first mouse button, pasting by clicking the third (middle) button; secondary/XA_SECONDARY (never seen this in action); and clipboard/XA_CLIPBOARD which acts like the clipboard on e.g. Windows (Ctrl-C, Ctrl-V and copy/paste menu items or buttons).
It seems that JabRef only supports the last version (the "clipboard"). This can be seen e.g.
I don't know how to make Java under X11 use the XA_PRIMARY selection as well but I'm sure this is not the first time in the history of Java that this question comes up :)
Cheers,
gregor
The text was updated successfully, but these errors were encountered: