Skip to content
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

Keyboard paste does not work on MacOS #6466

Closed
1 task
homocomputeris opened this issue May 11, 2020 · 25 comments
Closed
1 task

Keyboard paste does not work on MacOS #6466

homocomputeris opened this issue May 11, 2020 · 25 comments
Labels
status: waiting-for-feedback The submitter or other users need to provide more information about the issue

Comments

@homocomputeris
Copy link

JabRef 5.0--2020-03-06--2e6f433 on Mac OS X 10.15.4 x86_64 Java 13.0.2

Steps to reproduce the behavior:

  1. Copy text in any other application
  2. Try to paste it with Command-V
  3. Nothing happens
  4. Right click to paste via context menu
@AEgit
Copy link

AEgit commented May 11, 2020

Possible duplicate of #6293 (the fix was reverted, so the issue has been re-opened).

@homocomputeris
Copy link
Author

But that one says that Ctrl-V does work. On Mac Command-V does not work

@Siedlerchr
Copy link
Member

@homocomputeris It would be nice if you could check with @Gena928
#6419 (comment)

@homocomputeris
Copy link
Author

homocomputeris commented May 11, 2020

In my case the Paste from the context menu works, and there is no double paste.
Or maybe I misunderstand something

@Gena928
Copy link
Contributor

Gena928 commented May 11, 2020

@homocomputeris
but Ctrl+V does not work, correct?

@homocomputeris
Copy link
Author

@Gena928 No, neither Command-V nor Control-V (I've checked just in case).

@Gena928
Copy link
Contributor

Gena928 commented May 11, 2020

@homocomputeris
I just recorded small video on my google drive, where I try to reproduce the error. Looks like it works on my computer, and not works on yours.

Can you please install Java 14 and try to repeat the issue?

@AEgit
Copy link

AEgit commented May 11, 2020

Note, that @homocomputeris was not using the latest development version when posting the issue. I do not know, whether that explains the difference but wanted to make both of you aware of it.

@homocomputeris
Copy link
Author

Can you please install Java 14 and try to repeat the issue?

Java is bundled with Jabref, how do I use a newer version?

@AEgit
Copy link

AEgit commented May 11, 2020

Download the current dev version from here:
https://builds.jabref.org/master/

Note, that since this is a dev version you should ALWAYS have a backup of your JabRef database.

@homocomputeris
Copy link
Author

homocomputeris commented May 11, 2020

I've downloaded the portable

JabRef 5.1--2020-05-11--754c7ee
Mac OS X 10.15.4 x86_64 
Java 14.0.1
  1. Command-V does not work
  2. Edit - Paste does not work (the Edit entry is highlighted in blue when I press Cmd-V)
  3. Right-click - Paste works

@Gena928 I think I do and see the same thing (including the Edit menu blinking) but nothing is pasted

@AEgit
Copy link

AEgit commented May 11, 2020

A random idea - did you originally also try the portable version? If yes, @Gena928 did you use the portable version as well? If not, maybe the issue is restricted to the portable version.

Sorry, cannot help more (I don't have a Mac).

@Gena928
Copy link
Contributor

Gena928 commented May 11, 2020

I use full version. Never used portable so far.
I'll download it and try.

@homocomputeris
Copy link
Author

homocomputeris commented May 11, 2020

@AEgit I use the brew cask version, whatever it is.

I have found the reason: I use US Dvorak. Jabref does not recognize Dvorak shortcuts, while all the other applications do. QWERTY shortcuts (that is, Cmd-J in Dvorak which is the same keys as Cmd-C in QWERTY) work in Jabref.

@AEgit
Copy link

AEgit commented May 11, 2020

@homocomputeris : Cheers, well done in narrowing down the issue. So it comes down to the keyboard layout.

@Siedlerchr
Copy link
Member

@homocomputeris Can you please check if changing the keybinding (Options -> Customize Keybdingss) in JabRef for Paste (category Edit) helps?
By default JabRef assumes ctrl+v and cmd+v for mac

@Gena928
Copy link
Contributor

Gena928 commented May 11, 2020

@homocomputeris,
may I ask you to insert a few records in your database?
we have another issue No.6419 , where JabRef inserts duplicates. Please, if possible:

  • open Google Scholar site
  • copy 2-3 BibTex entries, one by one from your browser and paste to JabRef.
  • first one should be OK, the second and third should produce duplicates, as stated here

Are there any duplicates in your database?

@homocomputeris
Copy link
Author

homocomputeris commented May 11, 2020

By default JabRef assumes ctrl+v and cmd+v for mac

When I change Paste to the Dvorak Ctrl-V, it writes Ctrl-PERIOD. However, it still accepts only Cmd-V in Qwerty (that is Cmd-J in Dvorak).

Are there any duplicates in your database?

No, there is not. But pasting (and any other operation like opening menus and dialogues) takes about 5 seconds.

@Siedlerchr
Copy link
Member

After changing the keybindings you might need to restart jabref

@homocomputeris
Copy link
Author

I did.

@Siedlerchr
Copy link
Member

Siedlerchr commented Aug 2, 2020

@homocomputeris This should now be fixed in latest master
cmd+ C and cmd+ V should work now
Only the Paste menu does not

@Siedlerchr Siedlerchr added the status: waiting-for-feedback The submitter or other users need to provide more information about the issue label Aug 2, 2020
@homocomputeris
Copy link
Author

@Siedlerchr It works for text in text fields. Thanks!

@Siedlerchr
Copy link
Member

For the paste button from the Menu, this issue is tracked here. There is a jdk/javafx bug which triggers events twice and thefore the buttons in the menu won't work on the maintable. Refs #6293

@homocomputeris
Copy link
Author

Keyboard shortcuts do not work once again

JabRef 5.1--2020-08-30--e023aa0
Mac OS X 10.15.7 x86_64 
Java 15

@Siedlerchr
Copy link
Member

Siedlerchr commented Oct 28, 2020

They should work fine in the latest development version from https://builds.jabref.org/master

koppor pushed a commit that referenced this issue Apr 1, 2023
41531558a8 Fix unsigned newspaper articles throughout Chicago 17 (#6486)
7678212826 Create trames.csl (#6479)
0cae26ac85 Update hochschule-fur-soziale-arbeit-fhnw.csl (#6480)
85c4b693a2 Update to UP Harvard Theology & Religion (#6485)
c273aa7e43 Update ieee.csl (#6481)
fe67b80e47 Update open-window.csl (#6367)
f2229705ef Create iainutuban-tarbiyah.csl (#6361)
1867a56a26 Create business-and-human-rights-journal (#6359)
1371dbdf26 Update iso690-author-date-es.csl (#6477)
6953a43efd Update ieee.csl (#6478)
f56d5ef1cc Create czech-journal-of-international-relations.csl (#6453)
678b53f99c Update harvard-stellenbosch-university.csl (#6464)
3074938038 Update ucl-university-college-apa.csl (#6475)
27dab9ea0f Update iso690-author-date-es.csl (#6476)
a8aea63d00 Create elsevier-american-chemical-society.csl (#6342)
f8f290fa63 Update iso690-author-date-es.csl (#6472)
7fdc621eee Update journal-of-neolithic-archaeology (#6466)
7025568e70 Update offa.csl (#6465)
2d69299b19 Create uni-fribourg-theologie.csl (#6473)
8db531a73e Create travail-et-emploi.csl (#6351)
c8b54fc531 Make monash-university-harvard dependent style (#6470)
b95f59ff5c Update journal-of-the-marine-biological-association-of-the-united-kingdom.csl (#6456)
a12b513119 Update universite-du-quebec-a-montreal.csl (#6463)
048e6641e4 Update zeitschrift-fur-geschichtsdidaktik.csl (#6454)
f0d3d7ef15 Update journal-fur-kulturpflanzen-journal-of-cultivated-plants.csl (#6447)
3b814fe048 Update the-accounting-review.csl (#6459)
f24befd580 Update survey-of-ophthalmology.csl from ama.csl to its own independent style (#6460)
c868ab54f6 Create vancouver-alphabetical.csl (#6461)
782e39cfe1 Update american-institute-of-physics.csl (#6457)
a56cf03e3c Fix Chicago Cases & Newspaper sorting (#6458)

git-subtree-dir: buildres/csl/csl-styles
git-subtree-split: 41531558a873b2533f2d17d8d6484c2408174fce
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting-for-feedback The submitter or other users need to provide more information about the issue
Projects
None yet
Development

No branches or pull requests

4 participants