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

Pasting from clipboards managers don't work correctly #575

Open
megatux opened this issue Jun 23, 2020 · 11 comments
Open

Pasting from clipboards managers don't work correctly #575

megatux opened this issue Jun 23, 2020 · 11 comments

Comments

@megatux
Copy link

megatux commented Jun 23, 2020

This only happened to me with Howl, no other program.
I use a clipboard manager to have a history of texts & reuse them.
Selecting an old item and pasting it from clipboard does not paste the selected text, but the previously selected one, I think.
Leave a screencast.
ezgif-4-648c13527d34

@nilnor
Copy link
Contributor

nilnor commented Jun 30, 2020

Hmm, think I might have an idea. What cm do you use?

@megatux
Copy link
Author

megatux commented Jun 30, 2020

Diodon inside elementaryOS

@megatux
Copy link
Author

megatux commented Aug 28, 2020

@nilnor any updates on this? Can I help with anything else? This is my main issue with the editor, as it's harder to use it for daily work. Thx!

@megatux
Copy link
Author

megatux commented Apr 14, 2024

Same happens on Wayland. Tried with Niri compositor + clipman.

@nilnor
Copy link
Contributor

nilnor commented Apr 15, 2024

@megatux In general development has been slow, but I have made progress with a Gtk-4 port which I use myself and what will eventually become the next release. I won't be doing anything for the old Gtk-3 version, but it would be interesting to hear how it works there if you have the time at some point. The work is being done in the gtk-4 branch, but it's rough still with only the Steinom theme ported so far.

@megatux
Copy link
Author

megatux commented Apr 15, 2024

Great to know there is a newer branch, with gtk4!. I just tried it, and the issue seems to be there, too.

@nilnor
Copy link
Contributor

nilnor commented Apr 15, 2024

How do you invoke the pick and paste?

@megatux
Copy link
Author

megatux commented Apr 22, 2024

Right now, I'm using

cliphist list | wofi -S dmenu | cliphist decode | wl-copy

with wl-paste --watch cliphist store watching clipboard events.

Just tested with two editors and Firefox, and only Howl has this issue (gtk4 branch).

@nilnor
Copy link
Contributor

nilnor commented Apr 24, 2024

Seems to be the case that we manage to synchronize the clipboard before the store from the clip manager was done. I added a slight delay for the syncing, which seem to work for me locally when I tried it with clipman. Try it out when you have the time (as with everything going forward, it's in the gtk-4 branch).

@megatux
Copy link
Author

megatux commented Apr 24, 2024

Seems to work fine now 💪🏼. Is it something easy to backport to main branch?

@nilnor
Copy link
Contributor

nilnor commented Apr 24, 2024

Yes, just use the change for application.moon from here: b4ca383

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants