cdown / clipmenu

Clipboard management using dmenu
MIT License
1.14k stars 91 forks source link

Need to copy twice to paste in Rider #119

Closed DamienCassou closed 4 years ago

DamienCassou commented 4 years ago

The Jetbrains Rider IDE acts weird when using clipmenud. Here is how to reproduce:

  1. start clipmenud
  2. open rider
  3. open gedit
  4. write something with gedit, select it, and Ctrl+c
  5. go to rider, type Ctrl+v

Expected: the copied text appears Actual: nothing appears

  1. Go back to gedit
  2. press Ctrl+c again on the same text
  3. go to rider, type Ctrl+v, the text correctly appears

I always have to copy something twice for it to be pastable inside Rider. Pasting anywhere else works as expected. I haven't found any other application which acts the same.

If I kill clipmenud, pasting in Rider works perfectly fine.

Yes, this is weird.

cdown commented 4 years ago

At a guess, Rider tries to take ownership of the clipboard or something (although I didn't install it to test). The second copy works because it bypasses clipmenu because of duplicate detection.

If this guess is right, then I suppose running clipmenud with CM_OWN_CLIPBOARD=0 works?

I'm wondering if we should go back and make this the default again.

GladOSkar commented 4 years ago

Yeah for me this problem started showing up again as well. Lots of web apps and quite a few applications seem to take ownership and require a second copy since the last time i updated

DamienCassou commented 4 years ago

I suppose running clipmenud with CM_OWN_CLIPBOARD=0 works?

this works for me!

cdown commented 4 years ago

Release 6.0.0 has CM_OWN_CLIPBOARD=0 by default and a whole bunch of other fixes. Let me know if you still experience issues. Thanks for the report! :-)

DamienCassou commented 4 years ago

Thank you