Replying to Avatar qlrd

nostr:npub1acg6thl5psv62405rljzkj8spesceyfz2c32udakc2ak0dmvfeyse9p35c, I had a issue with text fields and yanked/pasted content in this new version.

If i yank a content, from another application, to a text field inside the gossip, it will not be pasted.

The reverse only occurs inside gossip.

But if yank from gossip and paste to another application, it works well.

I can copy and paste from other apps into gossip. And i don't think we changed anything so fundamental as to affect that. But nostr:npub1hlq93jdtkfg29a8s7fqzzzh82q3pkc20rxucwt4geh6e56wk3y2qxdz5wg might know better.

Reply to this note

Please Login to reply.

Discussion

There's a way to debug the yank/paste actions on gossip?

I can't think of how. Gossip uses egui, and it never supported unix-style pastes (like middle-button paste). Only CTRL-V worked. It has been like that since day-1. Can you verify that CTRL-V does not paste for you?

CRTL-X Works.

But CRTL+V, or right's mouse button not works.

The "paste action" only work when a given "Paste button" is clicked.

Maybe | Arch | Egui interaction issue...🥺

I was able to catch an clipboard error during paste action using `RUST_LOG=debug`.

With this, a issue was created on repo (didnt paste the link from clipboard, typed every letter 😅): https://github.com/mikedilger/gossip/issues/617

To debug, as posted by nostr:npub1kyglvayh649etnjf2jznlynsrx0uz63vaehuc2pjhwdtj9vph88qyvph68, run the program with `RUST_LOG="debug"` or single out the clipboard with `RUST_LOG="info,egui_winit::clipboard=debug"`.

Had some results with `WAYLAND_DEBUG=1 RUST_LOG="info,egui_winit::clipboard=debug" gossip |& grep data`, but unable to interpret them according https://gitlab.gnome.org/GNOME/mutter/-/issues/1250

I had the same issue as nostr:npub1xg23m9ez26ueekpzlm7fu734wpzktpwqjwyhlvy76xv6aynf4cpqf8qlrd

Tried to C/P a link from Brave, and inside a new post it would paste the last text I had ctrl-c from inside gossip instead of the newly ctrl-c link

But it solved itself when I restarted Gossip.

Ubuntu 20.04