https://bugs.kde.org/show_bug.cgi?id=502444

--- Comment #2 from Joaquim Monteiro <joaquim.monte...@protonmail.com> ---
I turned on debug logging, here's what I found.

After copying the word "kde" (and making sure it appears in the clipboard
history), the following logs are produced:

```
org.kde.klipper: Checking clip data
org.kde.klipper: was empty. Retried, now still empty
org.kde.klipper: Checking clip data
org.kde.klipper: was empty. Retried, now still empty
org.kde.klipper: Checking clip data
org.kde.klipper: Synchronize? false
org.kde.klipper: Checking clip data
org.kde.klipper: Checking clip data
org.kde.klipper: was empty. Retried, now still empty
org.kde.klipper: Resetting clipboard (Prevent empty clipboard)
org.kde.klipper: Checking clip data
org.kde.klipper: was empty. Retried, now still empty
org.kde.klipper: Resetting clipboard (Prevent empty clipboard)
org.kde.klipper: Setting clipboard to < "kde" >
org.kde.klipper: Setting selection to < "kde" >
```

If I then copy anything else, I get an infinite loop of the following messages
*before* I even move the cursor off the app I'm copying from:

```
org.kde.klipper: Checking clip data
org.kde.klipper: was empty. Retried, now still empty
org.kde.klipper: Resetting clipboard (Prevent empty clipboard)
org.kde.klipper: Setting clipboard to < "kde" >
org.kde.klipper: Checking clip data
org.kde.klipper: was empty. Retried, now still empty
org.kde.klipper: Resetting clipboard (Prevent empty clipboard)
org.kde.klipper: Setting selection to < "kde" >
```

At this point, the clipboard still has the new value (not "kde").

After I move the cursor off the app, I get:

```
org.kde.klipper: Checking clip data
org.kde.klipper: was empty. Retried, now still empty
org.kde.klipper: Resetting clipboard (Prevent empty clipboard)
org.kde.klipper: Setting selection to < "kde" >
org.kde.klipper: Setting clipboard to < "kde" >
```

And the clipboard reverts to "kde".

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to