laurent22 / joplin

Joplin - the privacy-focused note taking app with sync capabilities for Windows, macOS, Linux, Android and iOS.
https://joplinapp.org
Other
45.95k stars 4.99k forks source link

PRIMARY selection does not work on Linux Desktop. #215

Closed matoken closed 5 years ago

matoken commented 6 years ago

Operating system

Application

Hello I am importing evernote data and using Joplin. I use it on the Linux Desktop. Clipboard can be used, but PRIMARY selection (https://en.wikipedia.org/wiki/X_Window_selection) does not work.

I heavily use this, so I am glad that you can respond.

laurent22 commented 6 years ago

Hmm I'm not sure what can be done about this, shouldn't it "just work"? I guess each application shouldn't need custom code to handle this?

Or maybe it's a bug in Electron? Do you know if the PRIMARY selection works with other Electron apps like Skype for instance?

matoken commented 6 years ago

I'm sorry I do not understand Electron.

I tried PRIMARY selection in some applications. It seems to work with Skype and Marp.

- Joplin skype Marp
shift + Ins x o o
middle-mouse x o o

The copy source is Leafpad 0.8.18.1. I tried with Joplin 1.0.64-x86_64, Skype 8.15.0.4 and Marp v0.0.11 (https://yhatt.github.io/marp/). Distribution is Debian sid amd64.

daniellandau commented 5 years ago

For me primary selection works in the direction other apps -> Joplin, meaning I can middle click in Joplin and the contents of the primary selection are pasted. Selecting text in Joplin from the rendered pane correctly fills the primary selection, but from the edit pane it does not.

Does the edit view do something strange with the selection?

stale[bot] commented 5 years ago

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as "backlog" and I will leave it open. Thank you for your contributions.

daniellandau commented 5 years ago

Yes this is still a problem.

daniellandau commented 5 years ago

On further testing the direction other apps -> Joplin works for me with an actual mouse middle click, but not on a trackpad triple click. I don't know what to do about that one.