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

v0.9.2 Ringboard EGUI does not auto-paste selected item in wayland #47

Open
AryanJoshii opened this issue Feb 16, 2025 · 14 comments
Open

Comments

@AryanJoshii
Copy link

Hello,

First of all a huge thank you for developing such a great clipboard manager. I have recently updated to version 0.9.2 by re-running the installation script and running rustup update as mentioned in the releases page.

After updating, I still can not paste directly from Ringboard EGUI by selecting the item and pressing ENTER or CTRL+ N, and can only paste the selected item by pressing CTRL + V manually. is there any other configuration required for this?

OS: Ubuntu 24.04.2 LTS (Wayland)
DE: GNOME

I'm also mentioning a small UI issue. I'm using Ringboard EGUI in my other Ubuntu system with X11 and the current version and some icons are missing from top when I use the it in Wayland. I thought of mentioning this in here since it is not a major issue.

Image

@AryanJoshii AryanJoshii changed the title v0.9.2 Ringboard EGUI does not paste selected item automatically in wayland v0.9.2 Ringboard EGUI does not paste selected item in wayland Feb 16, 2025
@AryanJoshii AryanJoshii changed the title v0.9.2 Ringboard EGUI does not paste selected item in wayland v0.9.2 Ringboard EGUI does not auto-paste selected item in wayland Feb 16, 2025
@SUPERCILEX
Copy link
Owner

Unfortunately gnome on Wayland doesn't support the right protocols, so I don't think this is going to work. See #40. If you're a little savvy you could try getting me logs of a custom X11 watcher that has a long timeout, but there's probably not much I'll be able to do.

@jh0ker
Copy link

jh0ker commented Feb 19, 2025

Hey, I'm on Fedora 41 Gnome and I have a similar problem. When pressing Enter on an item, this window pops up

Image

It doesn't seem to actually work though, even if I do enable remote interaction (it only shows an orange recording symbol in the top bar that disappears when i click on it). This is fine for me, since just setting the current history item is pretty much what I want anyways. For now, it seems to do what I want if I simply keep this window open in the background. Not the cleanest but I don't care too much.
Perhaps it would be nice to be able to change the default action from "Paste" to "Set active history item" via some config file, for those of us suffering through Wayland/Gnome shenanigans, or just those like me who prefer this behavior.
Anyways, thanks for your work, this seems like a great project so far 😄

@SUPERCILEX
Copy link
Owner

Oh that's pretty bad. That window popping up has nothing to do with Ringboard. You can disable auto paste by running ringboard config x11 --auto-paste false and then restarting ringboard-x11 with systemctl restart --user ringboard-x11.

@jh0ker
Copy link

jh0ker commented Feb 19, 2025

Ah thanks, that fixed it :)

@AryanJoshii
Copy link
Author

@SUPERCILEX Sorry for the late response.

I have installed wayland-interface-check cargo package and seems like wayland-interface is not available for me.

$ wayland-interface-check zwlr_data_control_manager_v1
$ echo $?
1
$ echo $?
0

(I'm confused why the shell variable is printing 0 when executed second time)

Then I have cloned the repo and changed the time to 1000ms as follows:

tv_nsec: Duration::from_millis(1000).as_nanos().try_into().unwrap(),

Nothing got auto-pasted but Shift + Insert works.

Following are the logs of custom-X11 server:

$ RUST_LOG=trace ringboard-x11
[2025-02-21T17:53:29Z INFO  ringboard_x11] Starting Ringboard X11 clipboard listener v0.9.2.
[2025-02-21T17:53:29Z INFO  ringboard_x11] Using configuration X11V1Config { auto_paste: true }
[2025-02-21T17:53:29Z INFO  clipboard_history_watcher_utils::deduplication] Loading the previous 0 entries in Favorites ring for duplicate detection.
[2025-02-21T17:53:29Z INFO  clipboard_history_watcher_utils::deduplication] Loading the previous 211 entries in Main ring for duplicate detection.
[2025-02-21T17:53:29Z INFO  ringboard_x11] Starting event loop.
[2025-02-21T17:53:31Z INFO  ringboard_x11] Selection notification received.
[2025-02-21T17:53:31Z INFO  ringboard_x11] Selection notification received.
[2025-02-21T17:53:31Z INFO  ringboard_x11] Promoting duplicate small selection to front.
[2025-02-21T17:53:31Z INFO  ringboard_x11] Promoting duplicate small selection to front.
[2025-02-21T17:53:44Z INFO  ringboard_x11] Received paste buffer of length 171.
[2025-02-21T17:53:44Z INFO  ringboard_x11] Sent paste command.
[2025-02-21T17:53:44Z INFO  ringboard_x11] Responded to paste request with small selection.
[2025-02-21T17:53:55Z INFO  ringboard_x11] Received paste buffer of length 28.
[2025-02-21T17:53:55Z INFO  ringboard_x11] Sent paste command.
[2025-02-21T17:53:55Z INFO  ringboard_x11] Responded to paste request with small selection.
---------------
[2025-02-21T17:54:03Z INFO  ringboard_x11] Responded to paste request with small selection.

The log below the dashes (---) is from pressing Shift + Insert manually and above are trying to auto paste using Enter and CTRL + n

@SUPERCILEX
Copy link
Owner

Oh shoot, I forgot that I need debug logs. Can you reinstall with cargo install --path x11 --debug? Or since you're manually running it you could also just RUST_LOG=trace cargo r -p clipboard-history-x11

@AryanJoshii
Copy link
Author

@SUPERCILEX I have executed following command for the debug logs:

RUST_LOG=trace cargo r -p clipboard-history-x11
$ RUST_LOG=trace cargo r -p clipboard-history-x11
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.48s
     Running `target/debug/ringboard-x11`
[2025-02-23T16:31:18Z INFO  ringboard_x11] Starting Ringboard X11 clipboard listener v0.9.2.
[2025-02-23T16:31:18Z INFO  ringboard_x11] Using configuration X11V1Config { auto_paste: true }
[2025-02-23T16:31:18Z DEBUG ringboard_x11] Ringboard connection established.
[2025-02-23T16:31:18Z DEBUG ringboard_x11] X11 connection established.
[2025-02-23T16:31:18Z DEBUG ringboard_x11] Atom internment complete.
[2025-02-23T16:31:18Z DEBUG ringboard_x11] Created utility windows.
[2025-02-23T16:31:18Z DEBUG ringboard_x11] XFixes extension availability confirmed.
[2025-02-23T16:31:18Z DEBUG ringboard_x11] Selection owner listener registered.
[2025-02-23T16:31:18Z DEBUG ringboard_x11] Initialized paste server
[2025-02-23T16:31:18Z INFO  clipboard_history_watcher_utils::deduplication] Loading the previous 0 entries in Favorites ring for duplicate detection.
[2025-02-23T16:31:18Z INFO  clipboard_history_watcher_utils::deduplication] Loading the previous 349 entries in Main ring for duplicate detection.
[2025-02-23T16:31:18Z INFO  ringboard_x11] Starting event loop.
[2025-02-23T16:31:18Z TRACE ringboard_x11] Ignoring window name property change.
[2025-02-23T16:31:18Z TRACE ringboard_x11] Ignoring window name property change.
[2025-02-23T16:31:18Z TRACE ringboard_x11] Ignoring window name property change.
[2025-02-23T16:31:18Z TRACE ringboard_x11] Ignoring window name property change.
[2025-02-23T16:31:18Z TRACE ringboard_x11] Waiting for event.

==== WILL COPY TEXT FROM HERE 

[2025-02-23T16:31:47Z INFO  ringboard_x11] Selection notification received.
[2025-02-23T16:31:47Z TRACE ringboard_x11] Initialized transfer state for atom 9: FastPathPendingSelection
[2025-02-23T16:31:47Z INFO  ringboard_x11] Selection notification received.
[2025-02-23T16:31:47Z TRACE ringboard_x11] Initialized transfer state for atom 10: FastPathPendingSelection
[2025-02-23T16:31:47Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T16:31:47Z TRACE ringboard_x11] Processing property notification for atom 9<CUT_BUFFER0>: FastPathPendingSelection
[2025-02-23T16:31:47Z TRACE ringboard_x11] Ignoring property to be processed in selection notification.
[2025-02-23T16:31:47Z TRACE ringboard_x11] Stage 2 selection notification received for atom 9<CUT_BUFFER0>: FastPathPendingSelection.
[2025-02-23T16:31:47Z INFO  ringboard_x11] Promoting duplicate small selection to front.
[2025-02-23T16:31:47Z TRACE ringboard_x11] Processing property notification for atom 10<CUT_BUFFER1>: FastPathPendingSelection
[2025-02-23T16:31:47Z TRACE ringboard_x11] Ignoring property to be processed in selection notification.
[2025-02-23T16:31:47Z TRACE ringboard_x11] Stage 2 selection notification received for atom 10<CUT_BUFFER1>: FastPathPendingSelection.
[2025-02-23T16:31:47Z INFO  ringboard_x11] Promoting duplicate small selection to front.
[2025-02-23T16:31:47Z TRACE ringboard_x11] Ignoring irrelevant property state change: DELETE.
[2025-02-23T16:31:47Z TRACE ringboard_x11] Ignoring irrelevant property state change: DELETE.
[2025-02-23T16:31:47Z TRACE ringboard_x11] Waiting for event.

== PASTE COPIED TEXT USING CLIPBOARD SHORTCUT + ENTER KEY ==       

[2025-02-23T16:32:39Z DEBUG ringboard_x11] Received paste command: PasteCommand { version: 2, trigger_paste: true, id: 4294967644, mime: "" }
[2025-02-23T16:32:39Z INFO  ringboard_x11] Received paste buffer of length 47.
[2025-02-23T16:32:39Z DEBUG ringboard_x11] Claiming selection ownership.
[2025-02-23T16:32:39Z TRACE ringboard_x11] Preparing to send paste command.
[2025-02-23T16:32:39Z INFO  ringboard_x11] Sent paste command.
[2025-02-23T16:32:39Z DEBUG ringboard_x11] Pasted entry promoted to front.
[2025-02-23T16:32:39Z DEBUG ringboard_x11] Ignoring selection notification from ourselves.
[2025-02-23T16:32:39Z DEBUG ringboard_x11] Paste request received for target 244<UTF8_STRING> on 400<CLIPBOARD> selection.
[2025-02-23T16:32:39Z INFO  ringboard_x11] Responded to paste request with small selection.
[2025-02-23T16:32:39Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T16:32:39Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T16:32:39Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 1<PRIMARY> selection.
[2025-02-23T16:32:39Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T16:32:39Z TRACE ringboard_x11] Ignoring irrelevant X11 event: MappingNotify(MappingNotifyEvent { .. })
[2025-02-23T16:32:39Z TRACE ringboard_x11] Ignoring irrelevant X11 event: MappingNotify(MappingNotifyEvent { .. })
[2025-02-23T16:32:39Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T16:32:39Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T16:32:39Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 1<PRIMARY> selection.
[2025-02-23T16:32:39Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T16:32:39Z DEBUG ringboard_x11] Paste request received for target 244<UTF8_STRING> on 400<CLIPBOARD> selection.
[2025-02-23T16:32:39Z INFO  ringboard_x11] Responded to paste request with small selection.
[2025-02-23T16:32:39Z TRACE ringboard_x11] Waiting for event.

== PASTE COPIED TEXT USING CLIPBOARD SHORTCUT + CTRL + N KEYS ==

[2025-02-23T16:33:37Z DEBUG ringboard_x11] Received paste command: PasteCommand { version: 2, trigger_paste: true, id: 4294967641, mime: "" }
[2025-02-23T16:33:37Z INFO  ringboard_x11] Received paste buffer of length 39.
[2025-02-23T16:33:37Z DEBUG ringboard_x11] Claiming selection ownership.
[2025-02-23T16:33:37Z TRACE ringboard_x11] Preparing to send paste command.
[2025-02-23T16:33:37Z INFO  ringboard_x11] Sent paste command.
[2025-02-23T16:33:37Z DEBUG ringboard_x11] Pasted entry promoted to front.
[2025-02-23T16:33:37Z DEBUG ringboard_x11] Ignoring selection notification from ourselves.
[2025-02-23T16:33:37Z DEBUG ringboard_x11] Paste request received for target 244<UTF8_STRING> on 400<CLIPBOARD> selection.
[2025-02-23T16:33:37Z INFO  ringboard_x11] Responded to paste request with small selection.
[2025-02-23T16:33:37Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T16:33:37Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T16:33:37Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 1<PRIMARY> selection.
[2025-02-23T16:33:37Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T16:33:37Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T16:33:37Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T16:33:37Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 1<PRIMARY> selection.
[2025-02-23T16:33:37Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T16:33:37Z DEBUG ringboard_x11] Paste request received for target 244<UTF8_STRING> on 400<CLIPBOARD> selection.
[2025-02-23T16:33:37Z INFO  ringboard_x11] Responded to paste request with small selection.
[2025-02-23T16:33:37Z TRACE ringboard_x11] Waiting for event.

== PASTE COPIED TEXT USING SHIFT + INSERT MANUALLY == 

[2025-02-23T16:34:12Z DEBUG ringboard_x11] Paste request received for target 244<UTF8_STRING> on 400<CLIPBOARD> selection.
[2025-02-23T16:34:12Z INFO  ringboard_x11] Responded to paste request with small selection.
[2025-02-23T16:34:12Z TRACE ringboard_x11] Waiting for event.

@SUPERCILEX
Copy link
Owner

Ah, so the problem is almost certainly that we're not deferring the auto paste. Can you put a dbg!(std::thread::sleep(Duration::from_millis(1000)) right before this line?

do_paste(conn, root)?;

If things get pasted after waiting 1 second, then that's indeed the issue. I'm on my phone right now, but the next step will be to add a bunch of debugging to figure out why this method isn't working:
let should_defer = || -> Result<bool, CliError> {

@AryanJoshii
Copy link
Author

AryanJoshii commented Feb 23, 2025

@SUPERCILEX OH YES! Items are getting auto-pasted with both Enter and CTRL + N after putting following line as you mentioned:

dbg!(std::thread::sleep(Duration::from_millis(1000)));

But auto-paste is only working in VS Code. I have tested with other software such as Chrome, Firefox, Ubuntu's text editor and Terminal, and it is not working on them.

Logs of testing with VS Code:

$ RUST_LOG=trace cargo r -p clipboard-history-x11
   Compiling clipboard-history-x11 v0.9.2 (/home/aryan/work/forks/clipboard-history/x11)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.41s
     Running `target/debug/ringboard-x11`
[2025-02-23T17:21:42Z INFO  ringboard_x11] Starting Ringboard X11 clipboard listener v0.9.2.
[2025-02-23T17:21:42Z INFO  ringboard_x11] Using configuration X11V1Config { auto_paste: true }
[2025-02-23T17:21:42Z DEBUG ringboard_x11] Ringboard connection established.
[2025-02-23T17:21:42Z DEBUG ringboard_x11] X11 connection established.
[2025-02-23T17:21:42Z DEBUG ringboard_x11] Atom internment complete.
[2025-02-23T17:21:42Z DEBUG ringboard_x11] Created utility windows.
[2025-02-23T17:21:42Z DEBUG ringboard_x11] XFixes extension availability confirmed.
[2025-02-23T17:21:42Z DEBUG ringboard_x11] Selection owner listener registered.
[2025-02-23T17:21:42Z DEBUG ringboard_x11] Initialized paste server
[2025-02-23T17:21:42Z INFO  clipboard_history_watcher_utils::deduplication] Loading the previous 0 entries in Favorites ring for duplicate detection.
[2025-02-23T17:21:42Z INFO  clipboard_history_watcher_utils::deduplication] Loading the previous 408 entries in Main ring for duplicate detection.
[2025-02-23T17:21:42Z INFO  ringboard_x11] Starting event loop.
[2025-02-23T17:21:42Z TRACE ringboard_x11] Ignoring window name property change.
[2025-02-23T17:21:42Z TRACE ringboard_x11] Ignoring window name property change.
[2025-02-23T17:21:42Z TRACE ringboard_x11] Ignoring window name property change.
[2025-02-23T17:21:42Z TRACE ringboard_x11] Ignoring window name property change.
[2025-02-23T17:21:42Z TRACE ringboard_x11] Waiting for event.

==== COPY TEXT === 

[2025-02-23T17:22:02Z INFO  ringboard_x11] Selection notification received.
[2025-02-23T17:22:02Z TRACE ringboard_x11] Initialized transfer state for atom 9: FastPathPendingSelection
[2025-02-23T17:22:02Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:22:02Z TRACE ringboard_x11] Processing property notification for atom 9<CUT_BUFFER0>: FastPathPendingSelection
[2025-02-23T17:22:02Z TRACE ringboard_x11] Ignoring property to be processed in selection notification.
[2025-02-23T17:22:02Z TRACE ringboard_x11] Stage 2 selection notification received for atom 9<CUT_BUFFER0>: FastPathPendingSelection.
[2025-02-23T17:22:02Z INFO  ringboard_x11] Small selection transfer complete.
[2025-02-23T17:22:02Z TRACE ringboard_x11] Ignoring irrelevant property state change: DELETE.
[2025-02-23T17:22:02Z TRACE ringboard_x11] Waiting for event.

== PASTE WITH ENTER ==

[2025-02-23T17:22:36Z DEBUG ringboard_x11] Received paste command: PasteCommand { version: 2, trigger_paste: true, id: 4294967704, mime: "" }
[2025-02-23T17:22:36Z INFO  ringboard_x11] Received paste buffer of length 11.
[2025-02-23T17:22:36Z DEBUG ringboard_x11] Claiming selection ownership.
[2025-02-23T17:22:36Z TRACE ringboard_x11] Preparing to send paste command.
[x11/src/main.rs:1206:13] std::thread::sleep(Duration::from_millis(1000)) = ()
[2025-02-23T17:22:37Z INFO  ringboard_x11] Sent paste command.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Pasted entry promoted to front.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Ignoring selection notification from ourselves.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Paste request received for target 244<UTF8_STRING> on 400<CLIPBOARD> selection.
[2025-02-23T17:22:37Z INFO  ringboard_x11] Responded to paste request with small selection.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 1<PRIMARY> selection.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 1<PRIMARY> selection.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:22:37Z TRACE ringboard_x11] Ignoring irrelevant X11 event: MappingNotify(MappingNotifyEvent { .. })
[2025-02-23T17:22:37Z TRACE ringboard_x11] Ignoring irrelevant X11 event: MappingNotify(MappingNotifyEvent { .. })
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Paste request received for target 244<UTF8_STRING> on 400<CLIPBOARD> selection.
[2025-02-23T17:22:37Z INFO  ringboard_x11] Responded to paste request with small selection.
[2025-02-23T17:22:37Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:22:37Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:22:37Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:22:37Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:22:37Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:22:37Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:22:37Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:22:37Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:22:37Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:22:37Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:22:37Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:22:37Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:22:37Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:22:37Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Paste request received for target 244<UTF8_STRING> on 400<CLIPBOARD> selection.
[2025-02-23T17:22:37Z INFO  ringboard_x11] Responded to paste request with small selection.
[2025-02-23T17:22:37Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:22:37Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:22:37Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:22:37Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:22:37Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:22:37Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 1<PRIMARY> selection.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:22:37Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 1<PRIMARY> selection.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:22:37Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 1<PRIMARY> selection.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:22:37Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:22:37Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:22:37Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:22:37Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 1<PRIMARY> selection.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:22:37Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 1<PRIMARY> selection.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:22:37Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 1<PRIMARY> selection.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:22:37Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:22:37Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T17:22:37Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:22:37Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:22:38Z TRACE ringboard_x11] Ignoring irrelevant X11 event: MappingNotify(MappingNotifyEvent { .. })
[2025-02-23T17:22:38Z TRACE ringboard_x11] Ignoring irrelevant X11 event: MappingNotify(MappingNotifyEvent { .. })
[2025-02-23T17:22:38Z TRACE ringboard_x11] Waiting for event.

== PASTE WITH CTRL + N ==

[2025-02-23T17:23:05Z DEBUG ringboard_x11] Received paste command: PasteCommand { version: 2, trigger_paste: true, id: 4294967699, mime: "" }
[2025-02-23T17:23:05Z INFO  ringboard_x11] Received paste buffer of length 23.
[2025-02-23T17:23:05Z DEBUG ringboard_x11] Claiming selection ownership.
[2025-02-23T17:23:05Z TRACE ringboard_x11] Preparing to send paste command.
[x11/src/main.rs:1206:13] std::thread::sleep(Duration::from_millis(1000)) = ()
[2025-02-23T17:23:06Z INFO  ringboard_x11] Sent paste command.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Pasted entry promoted to front.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Ignoring selection notification from ourselves.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 1<PRIMARY> selection.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Paste request received for target 244<UTF8_STRING> on 400<CLIPBOARD> selection.
[2025-02-23T17:23:06Z INFO  ringboard_x11] Responded to paste request with small selection.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 1<PRIMARY> selection.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:23:06Z TRACE ringboard_x11] Ignoring irrelevant X11 event: MappingNotify(MappingNotifyEvent { .. })
[2025-02-23T17:23:06Z TRACE ringboard_x11] Ignoring irrelevant X11 event: MappingNotify(MappingNotifyEvent { .. })
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Paste request received for target 244<UTF8_STRING> on 400<CLIPBOARD> selection.
[2025-02-23T17:23:06Z INFO  ringboard_x11] Responded to paste request with small selection.
[2025-02-23T17:23:06Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:23:06Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:23:06Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:23:06Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:23:06Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:23:06Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:23:06Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:23:06Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:23:06Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:23:06Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:23:06Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:23:06Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:23:06Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:23:06Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Paste request received for target 244<UTF8_STRING> on 400<CLIPBOARD> selection.
[2025-02-23T17:23:06Z INFO  ringboard_x11] Responded to paste request with small selection.
[2025-02-23T17:23:06Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:23:06Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:23:06Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:23:06Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:23:06Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:23:06Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 1<PRIMARY> selection.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:23:06Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 1<PRIMARY> selection.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:23:06Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 1<PRIMARY> selection.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:23:06Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:23:06Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:23:06Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:23:06Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 1<PRIMARY> selection.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:23:06Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 1<PRIMARY> selection.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:23:06Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 1<PRIMARY> selection.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:23:06Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:23:06Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T17:23:06Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:23:06Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:23:06Z TRACE ringboard_x11] Ignoring irrelevant X11 event: MappingNotify(MappingNotifyEvent { .. })
[2025-02-23T17:23:06Z TRACE ringboard_x11] Ignoring irrelevant X11 event: MappingNotify(MappingNotifyEvent { .. })
[2025-02-23T17:23:06Z TRACE ringboard_x11] Waiting for event.

Logs of Testing with Ubuntu's text editor:

[2025-02-23T17:32:33Z INFO  ringboard_x11] Selection notification received.
[2025-02-23T17:32:33Z TRACE ringboard_x11] Initialized transfer state for atom 9: FastPathPendingSelection
[2025-02-23T17:32:33Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:32:33Z TRACE ringboard_x11] Processing property notification for atom 9<CUT_BUFFER0>: FastPathPendingSelection
[2025-02-23T17:32:33Z TRACE ringboard_x11] Ignoring property to be processed in selection notification.
[2025-02-23T17:32:33Z TRACE ringboard_x11] Stage 2 selection notification received for atom 9<CUT_BUFFER0>: FastPathPendingSelection.
[2025-02-23T17:32:33Z INFO  ringboard_x11] Promoting duplicate small selection to front.
[2025-02-23T17:32:33Z TRACE ringboard_x11] Ignoring irrelevant property state change: DELETE.
[2025-02-23T17:32:33Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:32:41Z DEBUG ringboard_x11] Received paste command: PasteCommand { version: 2, trigger_paste: true, id: 4294967721, mime: "" }
[2025-02-23T17:32:41Z INFO  ringboard_x11] Received paste buffer of length 163.
[2025-02-23T17:32:41Z DEBUG ringboard_x11] Claiming selection ownership.
[2025-02-23T17:32:41Z TRACE ringboard_x11] Preparing to send paste command.
[x11/src/main.rs:1206:13] std::thread::sleep(Duration::from_millis(1000)) = ()
[2025-02-23T17:32:42Z INFO  ringboard_x11] Sent paste command.
[2025-02-23T17:32:42Z DEBUG ringboard_x11] Pasted entry promoted to front.
[2025-02-23T17:32:42Z DEBUG ringboard_x11] Ignoring selection notification from ourselves.
[2025-02-23T17:32:42Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T17:32:42Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:32:42Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 1<PRIMARY> selection.
[2025-02-23T17:32:42Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:32:42Z DEBUG ringboard_x11] Paste request received for target 244<UTF8_STRING> on 400<CLIPBOARD> selection.
[2025-02-23T17:32:42Z INFO  ringboard_x11] Responded to paste request with small selection.
[2025-02-23T17:32:42Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T17:32:42Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:32:42Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 1<PRIMARY> selection.
[2025-02-23T17:32:42Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:32:42Z TRACE ringboard_x11] Ignoring irrelevant X11 event: MappingNotify(MappingNotifyEvent { .. })
[2025-02-23T17:32:42Z TRACE ringboard_x11] Ignoring irrelevant X11 event: MappingNotify(MappingNotifyEvent { .. })
[2025-02-23T17:32:42Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:32:42Z DEBUG ringboard_x11] Paste request received for target 244<UTF8_STRING> on 400<CLIPBOARD> selection.
[2025-02-23T17:32:42Z INFO  ringboard_x11] Responded to paste request with small selection.
[2025-02-23T17:32:42Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:32:50Z DEBUG ringboard_x11] Received paste command: PasteCommand { version: 2, trigger_paste: true, id: 4294967718, mime: "" }
[2025-02-23T17:32:50Z INFO  ringboard_x11] Received paste buffer of length 23.
[2025-02-23T17:32:50Z DEBUG ringboard_x11] Claiming selection ownership.
[2025-02-23T17:32:50Z TRACE ringboard_x11] Preparing to send paste command.
[x11/src/main.rs:1206:13] std::thread::sleep(Duration::from_millis(1000)) = ()
[2025-02-23T17:32:51Z INFO  ringboard_x11] Sent paste command.
[2025-02-23T17:32:51Z DEBUG ringboard_x11] Pasted entry promoted to front.
[2025-02-23T17:32:51Z DEBUG ringboard_x11] Ignoring selection notification from ourselves.
[2025-02-23T17:32:51Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T17:32:51Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:32:51Z DEBUG ringboard_x11] Paste request received for target 244<UTF8_STRING> on 400<CLIPBOARD> selection.
[2025-02-23T17:32:51Z INFO  ringboard_x11] Responded to paste request with small selection.
[2025-02-23T17:32:51Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-23T17:32:51Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:32:51Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 1<PRIMARY> selection.
[2025-02-23T17:32:51Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:32:51Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 1<PRIMARY> selection.
[2025-02-23T17:32:51Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-23T17:32:51Z TRACE ringboard_x11] Waiting for event.
[2025-02-23T17:32:51Z DEBUG ringboard_x11] Paste request received for target 244<UTF8_STRING> on 400<CLIPBOARD> selection.
[2025-02-23T17:32:51Z INFO  ringboard_x11] Responded to paste request with small selection.
[2025-02-23T17:32:51Z TRACE ringboard_x11] Waiting for event.

@SUPERCILEX
Copy link
Owner

Dang, well one thing at a time. Can you replace the if auto_paste && trigger_paste { ... code with this?

    if auto_paste && trigger_paste {
        trace!("Preparing to send paste command.");
        let focused_window = conn.get_input_focus()?.reply()?.focus;
        dbg!(focused_window);
        let should_defer = || -> Result<bool, CliError> {
            let class = conn
                .get_property(
                    false,
                    focused_window,
                    window_class_atom,
                    GetPropertyType::ANY,
                    0,
                    u32::MAX,
                )?
                .reply()?;
            dbg!(&class.value);
            for v in class.value.split(|&b| b == 0) {
                println!("{}", v.escape_ascii());
            }
            let Some(name) = class.value.split(|&b| b == 0).nth(1) else {
                return Ok(false);
            };
            if name != b"ringboard-egui" {
                return Ok(false);
            }

            conn.change_window_attributes(
                root,
                &ChangeWindowAttributesAux::default().event_mask(EventMask::FOCUS_CHANGE),
            )?;

            Ok(true)
        };
        if dbg!(should_defer()).ok() == Some(true) {
            debug!("Waiting for focus event to send paste command.");
        } else {
            do_paste(conn, root)?;
        }
    }

@AryanJoshii
Copy link
Author

@SUPERCILEX Sure, I have replaced the if auto_paste && trigger_paste { ... code with yours. The auto-paste has stopped working in VS Code and also not working in other software I have mentioned earlier.

$ RUST_LOG=trace cargo r -p clipboard-history-x11
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.12s
     Running `target/debug/ringboard-x11`
[2025-02-24T18:50:22Z INFO  ringboard_x11] Starting Ringboard X11 clipboard listener v0.9.2.
[2025-02-24T18:50:22Z INFO  ringboard_x11] Using configuration X11V1Config { auto_paste: true }
[2025-02-24T18:50:22Z DEBUG ringboard_x11] Ringboard connection established.
[2025-02-24T18:50:22Z DEBUG ringboard_x11] X11 connection established.
[2025-02-24T18:50:22Z DEBUG ringboard_x11] Atom internment complete.
[2025-02-24T18:50:22Z DEBUG ringboard_x11] Created utility windows.
[2025-02-24T18:50:22Z DEBUG ringboard_x11] XFixes extension availability confirmed.
[2025-02-24T18:50:22Z DEBUG ringboard_x11] Selection owner listener registered.
[2025-02-24T18:50:22Z DEBUG ringboard_x11] Initialized paste server
[2025-02-24T18:50:22Z INFO  clipboard_history_watcher_utils::deduplication] Loading the previous 0 entries in Favorites ring for duplicate detection.
[2025-02-24T18:50:22Z INFO  clipboard_history_watcher_utils::deduplication] Loading the previous 452 entries in Main ring for duplicate detection.
[2025-02-24T18:50:22Z INFO  ringboard_x11] Starting event loop.
[2025-02-24T18:50:22Z TRACE ringboard_x11] Ignoring window name property change.
[2025-02-24T18:50:22Z TRACE ringboard_x11] Ignoring window name property change.
[2025-02-24T18:50:22Z TRACE ringboard_x11] Ignoring window name property change.
[2025-02-24T18:50:22Z TRACE ringboard_x11] Ignoring window name property change.
[2025-02-24T18:50:22Z TRACE ringboard_x11] Waiting for event.

== COPY ==

[2025-02-24T18:50:28Z INFO  ringboard_x11] Selection notification received.
[2025-02-24T18:50:28Z TRACE ringboard_x11] Initialized transfer state for atom 9: FastPathPendingSelection
[2025-02-24T18:50:28Z TRACE ringboard_x11] Waiting for event.
[2025-02-24T18:50:28Z TRACE ringboard_x11] Processing property notification for atom 9<CUT_BUFFER0>: FastPathPendingSelection
[2025-02-24T18:50:28Z TRACE ringboard_x11] Ignoring property to be processed in selection notification.
[2025-02-24T18:50:28Z TRACE ringboard_x11] Stage 2 selection notification received for atom 9<CUT_BUFFER0>: FastPathPendingSelection.
[2025-02-24T18:50:28Z INFO  ringboard_x11] Promoting duplicate small selection to front.
[2025-02-24T18:50:28Z TRACE ringboard_x11] Ignoring irrelevant property state change: DELETE.
[2025-02-24T18:50:28Z TRACE ringboard_x11] Waiting for event.

== PASTE WITH ENTER ==

[2025-02-24T18:50:42Z DEBUG ringboard_x11] Received paste command: PasteCommand { version: 2, trigger_paste: true, id: 4294967747, mime: "" }
[2025-02-24T18:50:42Z INFO  ringboard_x11] Received paste buffer of length 8.
[2025-02-24T18:50:42Z DEBUG ringboard_x11] Claiming selection ownership.
[2025-02-24T18:50:42Z TRACE ringboard_x11] Preparing to send paste command.
[x11/src/main.rs:1214:9] focused_window = 6291459
[x11/src/main.rs:1226:13] &class.value = []

[x11/src/main.rs:1244:12] should_defer() = Ok(
    false,
)
[2025-02-24T18:50:42Z INFO  ringboard_x11] Sent paste command.
[2025-02-24T18:50:42Z DEBUG ringboard_x11] Pasted entry promoted to front.
[2025-02-24T18:50:42Z DEBUG ringboard_x11] Ignoring selection notification from ourselves.
[2025-02-24T18:50:42Z DEBUG ringboard_x11] Paste request received for target 244<UTF8_STRING> on 400<CLIPBOARD> selection.
[2025-02-24T18:50:42Z INFO  ringboard_x11] Responded to paste request with small selection.
[2025-02-24T18:50:42Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-24T18:50:42Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-24T18:50:42Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 1<PRIMARY> selection.
[2025-02-24T18:50:42Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-24T18:50:42Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-24T18:50:42Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-24T18:50:42Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 1<PRIMARY> selection.
[2025-02-24T18:50:42Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-24T18:50:42Z TRACE ringboard_x11] Ignoring irrelevant X11 event: MappingNotify(MappingNotifyEvent { .. })
[2025-02-24T18:50:42Z TRACE ringboard_x11] Ignoring irrelevant X11 event: MappingNotify(MappingNotifyEvent { .. })
[2025-02-24T18:50:42Z TRACE ringboard_x11] Waiting for event.
[2025-02-24T18:50:42Z DEBUG ringboard_x11] Paste request received for target 244<UTF8_STRING> on 400<CLIPBOARD> selection.
[2025-02-24T18:50:42Z INFO  ringboard_x11] Responded to paste request with small selection.
[2025-02-24T18:50:42Z TRACE ringboard_x11] Waiting for event.
[2025-02-24T18:50:42Z TRACE ringboard_x11] Ignoring irrelevant X11 event: MappingNotify(MappingNotifyEvent { .. })
[2025-02-24T18:50:42Z TRACE ringboard_x11] Ignoring irrelevant X11 event: MappingNotify(MappingNotifyEvent { .. })
[2025-02-24T18:50:42Z TRACE ringboard_x11] Waiting for event.

== PASTE WITH CTRL + N ==  

[2025-02-24T18:51:07Z DEBUG ringboard_x11] Received paste command: PasteCommand { version: 2, trigger_paste: true, id: 4294967741, mime: "" }
[2025-02-24T18:51:07Z INFO  ringboard_x11] Received paste buffer of length 22.
[2025-02-24T18:51:07Z DEBUG ringboard_x11] Claiming selection ownership.
[2025-02-24T18:51:07Z TRACE ringboard_x11] Preparing to send paste command.
[x11/src/main.rs:1214:9] focused_window = 6291459
[x11/src/main.rs:1226:13] &class.value = []

[x11/src/main.rs:1244:12] should_defer() = Ok(
    false,
)
[2025-02-24T18:51:07Z INFO  ringboard_x11] Sent paste command.
[2025-02-24T18:51:07Z DEBUG ringboard_x11] Pasted entry promoted to front.
[2025-02-24T18:51:07Z DEBUG ringboard_x11] Ignoring selection notification from ourselves.
[2025-02-24T18:51:07Z DEBUG ringboard_x11] Paste request received for target 244<UTF8_STRING> on 400<CLIPBOARD> selection.
[2025-02-24T18:51:07Z INFO  ringboard_x11] Responded to paste request with small selection.
[2025-02-24T18:51:07Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-24T18:51:07Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-24T18:51:07Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 1<PRIMARY> selection.
[2025-02-24T18:51:07Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-24T18:51:07Z TRACE ringboard_x11] Ignoring irrelevant X11 event: MappingNotify(MappingNotifyEvent { .. })
[2025-02-24T18:51:07Z TRACE ringboard_x11] Ignoring irrelevant X11 event: MappingNotify(MappingNotifyEvent { .. })
[2025-02-24T18:51:07Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-24T18:51:07Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-24T18:51:07Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 1<PRIMARY> selection.
[2025-02-24T18:51:07Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-24T18:51:07Z DEBUG ringboard_x11] Paste request received for target 244<UTF8_STRING> on 400<CLIPBOARD> selection.
[2025-02-24T18:51:07Z INFO  ringboard_x11] Responded to paste request with small selection.
[2025-02-24T18:51:07Z TRACE ringboard_x11] Waiting for event.
[2025-02-24T18:51:07Z TRACE ringboard_x11] Ignoring irrelevant X11 event: MappingNotify(MappingNotifyEvent { .. })
[2025-02-24T18:51:07Z TRACE ringboard_x11] Waiting for event.
[2025-02-24T18:51:07Z TRACE ringboard_x11] Ignoring irrelevant X11 event: MappingNotify(MappingNotifyEvent { .. })
[2025-02-24T18:51:07Z TRACE ringboard_x11] Waiting for event.
[2025-02-24T18:51:43Z TRACE ringboard_x11] Clear selection mask: 0b10
[2025-02-24T18:51:43Z TRACE ringboard_x11] Waiting for event.

== PASTE WITH CTRL + V ==

[2025-02-24T18:52:04Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-24T18:52:04Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-24T18:52:04Z TRACE ringboard_x11] Waiting for event.
[2025-02-24T18:52:04Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-24T18:52:04Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-24T18:52:04Z TRACE ringboard_x11] Waiting for event.
[2025-02-24T18:52:04Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-24T18:52:04Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-24T18:52:04Z TRACE ringboard_x11] Waiting for event.
[2025-02-24T18:52:04Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-24T18:52:04Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-24T18:52:04Z TRACE ringboard_x11] Waiting for event.
[2025-02-24T18:52:04Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-24T18:52:04Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-24T18:52:04Z TRACE ringboard_x11] Waiting for event.
[2025-02-24T18:52:04Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-24T18:52:04Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-24T18:52:04Z TRACE ringboard_x11] Waiting for event.
[2025-02-24T18:52:04Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-24T18:52:04Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-24T18:52:04Z TRACE ringboard_x11] Waiting for event.
[2025-02-24T18:52:04Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-24T18:52:04Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-24T18:52:04Z TRACE ringboard_x11] Waiting for event.
[2025-02-24T18:52:04Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-24T18:52:04Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-24T18:52:04Z TRACE ringboard_x11] Waiting for event.
[2025-02-24T18:52:04Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-24T18:52:04Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-24T18:52:04Z TRACE ringboard_x11] Waiting for event.
[2025-02-24T18:52:04Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-24T18:52:04Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-24T18:52:04Z TRACE ringboard_x11] Waiting for event.
[2025-02-24T18:52:04Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-24T18:52:04Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-24T18:52:04Z TRACE ringboard_x11] Waiting for event.
[2025-02-24T18:52:04Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-24T18:52:04Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-24T18:52:04Z TRACE ringboard_x11] Waiting for event.
[2025-02-24T18:52:04Z DEBUG ringboard_x11] Paste request received for target 244<UTF8_STRING> on 400<CLIPBOARD> selection.
[2025-02-24T18:52:04Z INFO  ringboard_x11] Responded to paste request with small selection.
[2025-02-24T18:52:04Z TRACE ringboard_x11] Waiting for event.
[2025-02-24T18:52:04Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-24T18:52:04Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-24T18:52:04Z TRACE ringboard_x11] Waiting for event.
[2025-02-24T18:52:04Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-24T18:52:04Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-24T18:52:04Z TRACE ringboard_x11] Waiting for event.
[2025-02-24T18:52:04Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-24T18:52:04Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-24T18:52:04Z TRACE ringboard_x11] Waiting for event.
[2025-02-24T18:52:04Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-24T18:52:04Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-24T18:52:04Z TRACE ringboard_x11] Waiting for event.
[2025-02-24T18:52:04Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-24T18:52:04Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-24T18:52:04Z TRACE ringboard_x11] Waiting for event.
[2025-02-24T18:52:04Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-24T18:52:04Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-24T18:52:04Z TRACE ringboard_x11] Waiting for event.
[2025-02-24T18:52:04Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-24T18:52:04Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-24T18:52:04Z TRACE ringboard_x11] Waiting for event.
[2025-02-24T18:52:04Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-24T18:52:04Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-24T18:52:04Z TRACE ringboard_x11] Waiting for event.
[2025-02-24T18:52:04Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-24T18:52:04Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-24T18:52:04Z TRACE ringboard_x11] Waiting for event.
[2025-02-24T18:52:04Z DEBUG ringboard_x11] Paste request received for target 345<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-24T18:52:04Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-24T18:52:04Z TRACE ringboard_x11] Waiting for event.

@SUPERCILEX
Copy link
Owner

Ok, I'm hoping I have a fix. Please still post logs if it works! I had to make some changes outside that function, so can you copy the whole file: https://github.com/SUPERCILEX/clipboard-history/blob/babd28f0047db56107589979e8f3c1c4dd9b04b5/x11/src/main.rs

@AryanJoshii
Copy link
Author

@SUPERCILEX I have switched to the tmp branch to get the new changes of yours. The clipboard auto-pasting is not working and it produced following logs after testing it on different software.

$ RUST_LOG=trace cargo r -p clipboard-history-x11
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.07s
     Running `target/debug/ringboard-x11`
[2025-02-25T20:24:54Z INFO  ringboard_x11] Starting Ringboard X11 clipboard listener v0.9.2.
[2025-02-25T20:24:54Z INFO  ringboard_x11] Using configuration X11V1Config { auto_paste: true }
[2025-02-25T20:24:54Z DEBUG ringboard_x11] Ringboard connection established.
[2025-02-25T20:24:54Z DEBUG ringboard_x11] X11 connection established.
[2025-02-25T20:24:54Z DEBUG ringboard_x11] Atom internment complete.
[2025-02-25T20:24:54Z DEBUG ringboard_x11] Created utility windows.
[2025-02-25T20:24:54Z DEBUG ringboard_x11] XFixes extension availability confirmed.
[2025-02-25T20:24:54Z DEBUG ringboard_x11] Selection owner listener registered.
[2025-02-25T20:24:54Z DEBUG ringboard_x11] Initialized paste server
[2025-02-25T20:24:54Z INFO  clipboard_history_watcher_utils::deduplication] Loading the previous 0 entries in Favorites ring for duplicate detection.
[2025-02-25T20:24:54Z INFO  clipboard_history_watcher_utils::deduplication] Loading the previous 487 entries in Main ring for duplicate detection.
[2025-02-25T20:24:54Z INFO  ringboard_x11] Starting event loop.
[2025-02-25T20:24:54Z TRACE ringboard_x11] Ignoring window name property change.
[2025-02-25T20:24:54Z TRACE ringboard_x11] Ignoring window name property change.
[2025-02-25T20:24:54Z TRACE ringboard_x11] Ignoring window name property change.
[2025-02-25T20:24:54Z TRACE ringboard_x11] Ignoring window name property change.
[2025-02-25T20:24:54Z TRACE ringboard_x11] Waiting for event.

== PASTE WITH ENTER ==

[2025-02-25T20:25:10Z DEBUG ringboard_x11] Received paste command: PasteCommand { version: 2, trigger_paste: true, id: 4294967778, mime: "" }
[2025-02-25T20:25:10Z INFO  ringboard_x11] Received paste buffer of length 11.
[2025-02-25T20:25:10Z DEBUG ringboard_x11] Claiming selection ownership.
[2025-02-25T20:25:10Z TRACE ringboard_x11] Preparing to send paste command.
[x11/src/main.rs:1191:9] focused_window = Some(
    0,
)
[x11/src/main.rs:1197:9] focused_window = 0
[x11/src/main.rs:1231:12] should_defer() = Err(
    X11Error(
        X11Error {
            error_kind: Window,
            error_code: 3,
            sequence: 31,
            bad_value: 0,
            minor_opcode: 0,
            major_opcode: 20,
            extension_name: None,
            request_name: Some(
                "GetProperty",
            ),
        },
    ),
)
[2025-02-25T20:25:10Z INFO  ringboard_x11] Sent paste command.
[2025-02-25T20:25:10Z DEBUG ringboard_x11] Pasted entry promoted to front.
[2025-02-25T20:25:10Z DEBUG ringboard_x11] Ignoring selection notification from ourselves.
[2025-02-25T20:25:10Z DEBUG ringboard_x11] Paste request received for target 339<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-25T20:25:10Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-25T20:25:10Z DEBUG ringboard_x11] Paste request received for target 244<UTF8_STRING> on 400<CLIPBOARD> selection.
[2025-02-25T20:25:10Z INFO  ringboard_x11] Responded to paste request with small selection.
[2025-02-25T20:25:10Z DEBUG ringboard_x11] Paste request received for target 339<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-25T20:25:10Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-25T20:25:10Z DEBUG ringboard_x11] Paste request received for target 339<TARGETS> on 1<PRIMARY> selection.
[2025-02-25T20:25:10Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-25T20:25:10Z DEBUG ringboard_x11] Paste request received for target 339<TARGETS> on 1<PRIMARY> selection.
[2025-02-25T20:25:10Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-25T20:25:10Z TRACE ringboard_x11] Ignoring irrelevant X11 event: MappingNotify(MappingNotifyEvent { .. })
[2025-02-25T20:25:10Z TRACE ringboard_x11] Ignoring irrelevant X11 event: MappingNotify(MappingNotifyEvent { .. })
[2025-02-25T20:25:10Z TRACE ringboard_x11] Waiting for event.
[2025-02-25T20:25:10Z DEBUG ringboard_x11] Paste request received for target 244<UTF8_STRING> on 400<CLIPBOARD> selection.
[2025-02-25T20:25:10Z INFO  ringboard_x11] Responded to paste request with small selection.
[2025-02-25T20:25:10Z TRACE ringboard_x11] Waiting for event.
[2025-02-25T20:25:10Z TRACE ringboard_x11] Ignoring irrelevant X11 event: MappingNotify(MappingNotifyEvent { .. })
[2025-02-25T20:25:10Z TRACE ringboard_x11] Ignoring irrelevant X11 event: MappingNotify(MappingNotifyEvent { .. })
[2025-02-25T20:25:10Z TRACE ringboard_x11] Waiting for event.

== PASTE WITH CTRL + N ==

[2025-02-25T20:25:30Z DEBUG ringboard_x11] Received paste command: PasteCommand { version: 2, trigger_paste: true, id: 4294967777, mime: "" }
[2025-02-25T20:25:30Z INFO  ringboard_x11] Received paste buffer of length 11.
[2025-02-25T20:25:30Z DEBUG ringboard_x11] Claiming selection ownership.
[2025-02-25T20:25:30Z TRACE ringboard_x11] Preparing to send paste command.
[x11/src/main.rs:1191:9] focused_window = Some(
    0,
)
[x11/src/main.rs:1197:9] focused_window = 0
[x11/src/main.rs:1231:12] should_defer() = Err(
    X11Error(
        X11Error {
            error_kind: Window,
            error_code: 3,
            sequence: 64,
            bad_value: 0,
            minor_opcode: 0,
            major_opcode: 20,
            extension_name: None,
            request_name: Some(
                "GetProperty",
            ),
        },
    ),
)
[2025-02-25T20:25:30Z INFO  ringboard_x11] Sent paste command.
[2025-02-25T20:25:30Z DEBUG ringboard_x11] Pasted entry promoted to front.
[2025-02-25T20:25:30Z DEBUG ringboard_x11] Ignoring selection notification from ourselves.
[2025-02-25T20:25:30Z DEBUG ringboard_x11] Paste request received for target 244<UTF8_STRING> on 400<CLIPBOARD> selection.
[2025-02-25T20:25:30Z INFO  ringboard_x11] Responded to paste request with small selection.
[2025-02-25T20:25:30Z DEBUG ringboard_x11] Paste request received for target 339<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-25T20:25:30Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-25T20:25:30Z DEBUG ringboard_x11] Paste request received for target 339<TARGETS> on 1<PRIMARY> selection.
[2025-02-25T20:25:30Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-25T20:25:30Z DEBUG ringboard_x11] Paste request received for target 339<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-25T20:25:30Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-25T20:25:30Z DEBUG ringboard_x11] Paste request received for target 339<TARGETS> on 1<PRIMARY> selection.
[2025-02-25T20:25:30Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-25T20:25:30Z TRACE ringboard_x11] Ignoring irrelevant X11 event: MappingNotify(MappingNotifyEvent { .. })
[2025-02-25T20:25:30Z TRACE ringboard_x11] Ignoring irrelevant X11 event: MappingNotify(MappingNotifyEvent { .. })
[2025-02-25T20:25:30Z TRACE ringboard_x11] Waiting for event.
[2025-02-25T20:25:30Z DEBUG ringboard_x11] Paste request received for target 244<UTF8_STRING> on 400<CLIPBOARD> selection.
[2025-02-25T20:25:30Z INFO  ringboard_x11] Responded to paste request with small selection.
[2025-02-25T20:25:30Z TRACE ringboard_x11] Waiting for event.
[2025-02-25T20:25:30Z TRACE ringboard_x11] Ignoring irrelevant X11 event: MappingNotify(MappingNotifyEvent { .. })
[2025-02-25T20:25:30Z TRACE ringboard_x11] Ignoring irrelevant X11 event: MappingNotify(MappingNotifyEvent { .. })
[2025-02-25T20:25:30Z TRACE ringboard_x11] Waiting for event.

------

[2025-02-25T20:26:04Z DEBUG ringboard_x11] Received paste command: PasteCommand { version: 2, trigger_paste: true, id: 4294967783, mime: "" }
[2025-02-25T20:26:04Z INFO  ringboard_x11] Received paste buffer of length 11.
[2025-02-25T20:26:04Z DEBUG ringboard_x11] Claiming selection ownership.
[2025-02-25T20:26:04Z TRACE ringboard_x11] Preparing to send paste command.
[x11/src/main.rs:1191:9] focused_window = Some(
    0,
)
[x11/src/main.rs:1197:9] focused_window = 0
[x11/src/main.rs:1231:12] should_defer() = Err(
    X11Error(
        X11Error {
            error_kind: Window,
            error_code: 3,
            sequence: 96,
            bad_value: 0,
            minor_opcode: 0,
            major_opcode: 20,
            extension_name: None,
            request_name: Some(
                "GetProperty",
            ),
        },
    ),
)
[2025-02-25T20:26:04Z INFO  ringboard_x11] Sent paste command.
[2025-02-25T20:26:04Z DEBUG ringboard_x11] Pasted entry promoted to front.
[2025-02-25T20:26:04Z DEBUG ringboard_x11] Ignoring selection notification from ourselves.
[2025-02-25T20:26:04Z DEBUG ringboard_x11] Paste request received for target 339<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-25T20:26:04Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-25T20:26:04Z DEBUG ringboard_x11] Paste request received for target 339<TARGETS> on 1<PRIMARY> selection.
[2025-02-25T20:26:04Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-25T20:26:04Z DEBUG ringboard_x11] Paste request received for target 244<UTF8_STRING> on 400<CLIPBOARD> selection.
[2025-02-25T20:26:04Z INFO  ringboard_x11] Responded to paste request with small selection.
[2025-02-25T20:26:04Z DEBUG ringboard_x11] Paste request received for target 339<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-25T20:26:04Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-25T20:26:04Z DEBUG ringboard_x11] Paste request received for target 339<TARGETS> on 1<PRIMARY> selection.
[2025-02-25T20:26:04Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-25T20:26:04Z TRACE ringboard_x11] Ignoring irrelevant X11 event: MappingNotify(MappingNotifyEvent { .. })
[2025-02-25T20:26:04Z TRACE ringboard_x11] Ignoring irrelevant X11 event: MappingNotify(MappingNotifyEvent { .. })
[2025-02-25T20:26:04Z TRACE ringboard_x11] Waiting for event.
[2025-02-25T20:26:04Z DEBUG ringboard_x11] Paste request received for target 244<UTF8_STRING> on 400<CLIPBOARD> selection.
[2025-02-25T20:26:04Z INFO  ringboard_x11] Responded to paste request with small selection.
[2025-02-25T20:26:04Z TRACE ringboard_x11] Waiting for event.
[2025-02-25T20:26:07Z TRACE ringboard_x11] Ignoring irrelevant X11 event: MappingNotify(MappingNotifyEvent { .. })
[2025-02-25T20:26:07Z TRACE ringboard_x11] Ignoring irrelevant X11 event: MappingNotify(MappingNotifyEvent { .. })
[2025-02-25T20:26:07Z TRACE ringboard_x11] Waiting for event.
[2025-02-25T20:26:15Z DEBUG ringboard_x11] Received paste command: PasteCommand { version: 2, trigger_paste: true, id: 4294967782, mime: "" }
[2025-02-25T20:26:15Z INFO  ringboard_x11] Received paste buffer of length 8.
[2025-02-25T20:26:15Z DEBUG ringboard_x11] Claiming selection ownership.
[2025-02-25T20:26:15Z TRACE ringboard_x11] Preparing to send paste command.
[x11/src/main.rs:1191:9] focused_window = Some(
    0,
)
[x11/src/main.rs:1197:9] focused_window = 0
[x11/src/main.rs:1231:12] should_defer() = Err(
    X11Error(
        X11Error {
            error_kind: Window,
            error_code: 3,
            sequence: 128,
            bad_value: 0,
            minor_opcode: 0,
            major_opcode: 20,
            extension_name: None,
            request_name: Some(
                "GetProperty",
            ),
        },
    ),
)
[2025-02-25T20:26:15Z INFO  ringboard_x11] Sent paste command.
[2025-02-25T20:26:15Z DEBUG ringboard_x11] Pasted entry promoted to front.
[2025-02-25T20:26:15Z DEBUG ringboard_x11] Ignoring selection notification from ourselves.
[2025-02-25T20:26:15Z DEBUG ringboard_x11] Paste request received for target 244<UTF8_STRING> on 400<CLIPBOARD> selection.
[2025-02-25T20:26:15Z INFO  ringboard_x11] Responded to paste request with small selection.
[2025-02-25T20:26:15Z DEBUG ringboard_x11] Paste request received for target 339<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-25T20:26:15Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-25T20:26:15Z TRACE ringboard_x11] Ignoring irrelevant X11 event: MappingNotify(MappingNotifyEvent { .. })
[2025-02-25T20:26:15Z TRACE ringboard_x11] Ignoring irrelevant X11 event: MappingNotify(MappingNotifyEvent { .. })
[2025-02-25T20:26:15Z DEBUG ringboard_x11] Paste request received for target 339<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-25T20:26:15Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-25T20:26:15Z DEBUG ringboard_x11] Paste request received for target 339<TARGETS> on 1<PRIMARY> selection.
[2025-02-25T20:26:15Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-25T20:26:15Z DEBUG ringboard_x11] Paste request received for target 339<TARGETS> on 1<PRIMARY> selection.
[2025-02-25T20:26:15Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-25T20:26:15Z TRACE ringboard_x11] Waiting for event.
[2025-02-25T20:26:15Z DEBUG ringboard_x11] Paste request received for target 244<UTF8_STRING> on 400<CLIPBOARD> selection.
[2025-02-25T20:26:15Z INFO  ringboard_x11] Responded to paste request with small selection.
[2025-02-25T20:26:15Z TRACE ringboard_x11] Waiting for event.
[2025-02-25T20:26:24Z DEBUG ringboard_x11] Received paste command: PasteCommand { version: 2, trigger_paste: true, id: 4294967787, mime: "" }
[2025-02-25T20:26:24Z INFO  ringboard_x11] Received paste buffer of length 11.
[2025-02-25T20:26:24Z DEBUG ringboard_x11] Claiming selection ownership.
[2025-02-25T20:26:24Z TRACE ringboard_x11] Preparing to send paste command.
[x11/src/main.rs:1191:9] focused_window = Some(
    0,
)
[x11/src/main.rs:1197:9] focused_window = 0
[x11/src/main.rs:1231:12] should_defer() = Err(
    X11Error(
        X11Error {
            error_kind: Window,
            error_code: 3,
            sequence: 160,
            bad_value: 0,
            minor_opcode: 0,
            major_opcode: 20,
            extension_name: None,
            request_name: Some(
                "GetProperty",
            ),
        },
    ),
)
[2025-02-25T20:26:24Z INFO  ringboard_x11] Sent paste command.
[2025-02-25T20:26:24Z DEBUG ringboard_x11] Pasted entry promoted to front.
[2025-02-25T20:26:24Z DEBUG ringboard_x11] Ignoring selection notification from ourselves.
[2025-02-25T20:26:24Z DEBUG ringboard_x11] Paste request received for target 244<UTF8_STRING> on 400<CLIPBOARD> selection.
[2025-02-25T20:26:24Z INFO  ringboard_x11] Responded to paste request with small selection.
[2025-02-25T20:26:24Z DEBUG ringboard_x11] Paste request received for target 339<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-25T20:26:24Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-25T20:26:24Z DEBUG ringboard_x11] Paste request received for target 339<TARGETS> on 1<PRIMARY> selection.
[2025-02-25T20:26:24Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-25T20:26:24Z DEBUG ringboard_x11] Paste request received for target 339<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-25T20:26:24Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-25T20:26:24Z DEBUG ringboard_x11] Paste request received for target 339<TARGETS> on 1<PRIMARY> selection.
[2025-02-25T20:26:24Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-25T20:26:24Z TRACE ringboard_x11] Waiting for event.
[2025-02-25T20:26:24Z DEBUG ringboard_x11] Paste request received for target 244<UTF8_STRING> on 400<CLIPBOARD> selection.
[2025-02-25T20:26:24Z INFO  ringboard_x11] Responded to paste request with small selection.
[2025-02-25T20:26:24Z TRACE ringboard_x11] Waiting for event.
[2025-02-25T20:26:30Z DEBUG ringboard_x11] Received paste command: PasteCommand { version: 2, trigger_paste: true, id: 4294967781, mime: "" }
[2025-02-25T20:26:30Z INFO  ringboard_x11] Received paste buffer of length 8.
[2025-02-25T20:26:30Z DEBUG ringboard_x11] Claiming selection ownership.
[2025-02-25T20:26:30Z TRACE ringboard_x11] Preparing to send paste command.
[x11/src/main.rs:1191:9] focused_window = Some(
    0,
)
[x11/src/main.rs:1197:9] focused_window = 0
[x11/src/main.rs:1231:12] should_defer() = Err(
    X11Error(
        X11Error {
            error_kind: Window,
            error_code: 3,
            sequence: 192,
            bad_value: 0,
            minor_opcode: 0,
            major_opcode: 20,
            extension_name: None,
            request_name: Some(
                "GetProperty",
            ),
        },
    ),
)
[2025-02-25T20:26:30Z INFO  ringboard_x11] Sent paste command.
[2025-02-25T20:26:30Z DEBUG ringboard_x11] Pasted entry promoted to front.
[2025-02-25T20:26:30Z DEBUG ringboard_x11] Ignoring selection notification from ourselves.
[2025-02-25T20:26:30Z DEBUG ringboard_x11] Paste request received for target 339<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-25T20:26:30Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-25T20:26:30Z DEBUG ringboard_x11] Paste request received for target 339<TARGETS> on 1<PRIMARY> selection.
[2025-02-25T20:26:30Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-25T20:26:30Z DEBUG ringboard_x11] Paste request received for target 244<UTF8_STRING> on 400<CLIPBOARD> selection.
[2025-02-25T20:26:30Z INFO  ringboard_x11] Responded to paste request with small selection.
[2025-02-25T20:26:30Z DEBUG ringboard_x11] Paste request received for target 339<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-25T20:26:30Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-25T20:26:30Z DEBUG ringboard_x11] Paste request received for target 339<TARGETS> on 1<PRIMARY> selection.
[2025-02-25T20:26:30Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-25T20:26:30Z TRACE ringboard_x11] Waiting for event.
[2025-02-25T20:26:30Z DEBUG ringboard_x11] Paste request received for target 244<UTF8_STRING> on 400<CLIPBOARD> selection.
[2025-02-25T20:26:30Z INFO  ringboard_x11] Responded to paste request with small selection.
[2025-02-25T20:26:30Z TRACE ringboard_x11] Waiting for event.
[2025-02-25T20:27:28Z TRACE ringboard_x11] Clear selection mask: 0b10
[2025-02-25T20:27:28Z TRACE ringboard_x11] Waiting for event.
[2025-02-25T20:28:31Z DEBUG ringboard_x11] Paste request received for target 339<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-25T20:28:31Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-25T20:28:31Z TRACE ringboard_x11] Waiting for event.
[2025-02-25T20:28:31Z DEBUG ringboard_x11] Paste request received for target 339<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-25T20:28:31Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-25T20:28:31Z TRACE ringboard_x11] Waiting for event.
[2025-02-25T20:28:31Z DEBUG ringboard_x11] Paste request received for target 339<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-25T20:28:31Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-25T20:28:31Z TRACE ringboard_x11] Waiting for event.
[2025-02-25T20:28:35Z TRACE ringboard_x11] Ignoring irrelevant X11 event: MappingNotify(MappingNotifyEvent { .. })
[2025-02-25T20:28:35Z TRACE ringboard_x11] Ignoring irrelevant X11 event: MappingNotify(MappingNotifyEvent { .. })
[2025-02-25T20:28:35Z TRACE ringboard_x11] Waiting for event.
[2025-02-25T20:30:35Z DEBUG ringboard_x11] Received paste command: PasteCommand { version: 2, trigger_paste: true, id: 4294967791, mime: "" }
[2025-02-25T20:30:35Z INFO  ringboard_x11] Received paste buffer of length 11.
[2025-02-25T20:30:35Z DEBUG ringboard_x11] Claiming selection ownership.
[2025-02-25T20:30:35Z TRACE ringboard_x11] Preparing to send paste command.
[x11/src/main.rs:1191:9] focused_window = Some(
    0,
)
[x11/src/main.rs:1197:9] focused_window = 0
[x11/src/main.rs:1231:12] should_defer() = Err(
    X11Error(
        X11Error {
            error_kind: Window,
            error_code: 3,
            sequence: 236,
            bad_value: 0,
            minor_opcode: 0,
            major_opcode: 20,
            extension_name: None,
            request_name: Some(
                "GetProperty",
            ),
        },
    ),
)
[2025-02-25T20:30:35Z INFO  ringboard_x11] Sent paste command.
[2025-02-25T20:30:35Z DEBUG ringboard_x11] Pasted entry promoted to front.
[2025-02-25T20:30:35Z DEBUG ringboard_x11] Ignoring selection notification from ourselves.
[2025-02-25T20:30:35Z DEBUG ringboard_x11] Paste request received for target 339<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-25T20:30:35Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-25T20:30:35Z DEBUG ringboard_x11] Paste request received for target 339<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-25T20:30:35Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-25T20:30:35Z DEBUG ringboard_x11] Paste request received for target 339<TARGETS> on 1<PRIMARY> selection.
[2025-02-25T20:30:35Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-25T20:30:35Z DEBUG ringboard_x11] Paste request received for target 339<TARGETS> on 1<PRIMARY> selection.
[2025-02-25T20:30:35Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-25T20:30:35Z DEBUG ringboard_x11] Paste request received for target 244<UTF8_STRING> on 400<CLIPBOARD> selection.
[2025-02-25T20:30:35Z INFO  ringboard_x11] Responded to paste request with small selection.
[2025-02-25T20:30:35Z TRACE ringboard_x11] Ignoring irrelevant X11 event: MappingNotify(MappingNotifyEvent { .. })
[2025-02-25T20:30:35Z TRACE ringboard_x11] Ignoring irrelevant X11 event: MappingNotify(MappingNotifyEvent { .. })
[2025-02-25T20:30:35Z TRACE ringboard_x11] Waiting for event.
[2025-02-25T20:30:35Z DEBUG ringboard_x11] Paste request received for target 244<UTF8_STRING> on 400<CLIPBOARD> selection.
[2025-02-25T20:30:35Z INFO  ringboard_x11] Responded to paste request with small selection.
[2025-02-25T20:30:35Z TRACE ringboard_x11] Waiting for event.

--

[2025-02-25T20:30:42Z DEBUG ringboard_x11] Received paste command: PasteCommand { version: 2, trigger_paste: true, id: 4294967789, mime: "" }
[2025-02-25T20:30:42Z INFO  ringboard_x11] Received paste buffer of length 8.
[2025-02-25T20:30:42Z DEBUG ringboard_x11] Claiming selection ownership.
[2025-02-25T20:30:42Z TRACE ringboard_x11] Preparing to send paste command.
[x11/src/main.rs:1191:9] focused_window = Some(
    0,
)
[x11/src/main.rs:1197:9] focused_window = 0
[x11/src/main.rs:1231:12] should_defer() = Err(
    X11Error(
        X11Error {
            error_kind: Window,
            error_code: 3,
            sequence: 268,
            bad_value: 0,
            minor_opcode: 0,
            major_opcode: 20,
            extension_name: None,
            request_name: Some(
                "GetProperty",
            ),
        },
    ),
)
[2025-02-25T20:30:42Z INFO  ringboard_x11] Sent paste command.
[2025-02-25T20:30:42Z DEBUG ringboard_x11] Pasted entry promoted to front.
[2025-02-25T20:30:42Z DEBUG ringboard_x11] Ignoring selection notification from ourselves.
[2025-02-25T20:30:42Z DEBUG ringboard_x11] Paste request received for target 339<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-25T20:30:42Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-25T20:30:42Z DEBUG ringboard_x11] Paste request received for target 339<TARGETS> on 1<PRIMARY> selection.
[2025-02-25T20:30:42Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-25T20:30:42Z DEBUG ringboard_x11] Paste request received for target 339<TARGETS> on 400<CLIPBOARD> selection.
[2025-02-25T20:30:42Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-25T20:30:42Z DEBUG ringboard_x11] Paste request received for target 339<TARGETS> on 1<PRIMARY> selection.
[2025-02-25T20:30:42Z DEBUG ringboard_x11] Responding to paste request with TARGETS.
[2025-02-25T20:30:42Z DEBUG ringboard_x11] Paste request received for target 244<UTF8_STRING> on 400<CLIPBOARD> selection.
[2025-02-25T20:30:42Z INFO  ringboard_x11] Responded to paste request with small selection.
[2025-02-25T20:30:42Z TRACE ringboard_x11] Waiting for event.
[2025-02-25T20:30:42Z DEBUG ringboard_x11] Paste request received for target 244<UTF8_STRING> on 400<CLIPBOARD> selection.
[2025-02-25T20:30:42Z INFO  ringboard_x11] Responded to paste request with small selection.
[2025-02-25T20:30:42Z TRACE ringboard_x11] Waiting for event.
[2025-02-25T20:30:50Z TRACE ringboard_x11] Clear selection mask: 0b10
[2025-02-25T20:30:50Z TRACE ringboard_x11] Waiting for event.

@SUPERCILEX
Copy link
Owner

Ah, I wasn't expecting that. I pushed a commit to the tmp branch for you to pull and try again. Sorry this is taking so much back and forth BTW, I really appreciate you helping out!

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

3 participants