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

            Bug ID: 412350
           Summary: Klipper tray icon is unreliable and clipboard breaks
                    after first use on Wayland
           Product: klipper
           Version: 5.16.5
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: plasma-widget
          Assignee: plasma-b...@kde.org
          Reporter: tempel.jul...@gmail.com
  Target Milestone: ---

SUMMARY
Clipboard behavior in a Wayland session only works the first time between
closed programs.

STEPS TO REPRODUCE
1. Open a document in Kwrite (Wayland), select some text and press ctrl + c.
2. The Klipper icon in the tray doesn't show up, which it correctly does on
Xorg after filling it with the first entry.
3. When clicking the arrow button of Plasma's tray, Klipper starts to show up
as active/filled.
4. When clicking its icon, it also shows the copied text.
5. I can close Kwrite and insert the text somewhere else.
6. So far, so (mostly) good.

7. I repeat that and now it doesn't work anymore. Additional text fragments
copied into clipboard via ctrl + c don't show up in Klipper's entry list.
8. I can still copy and paste text out of Kwrite into other programs, but only
if I don't close Kwrite before pasting. When I close Kwrite and try to paste
the copied text anywhere, it doesn't work (no matter if Wayland or Xwayland
application).
9. Clearing the clipboard doesn't help either. I need to restart the Wayland
session to make it work again once between closed programs.


EXPECTED RESULT
It should work as reliable on Xorg. It's 100% reliable there with the same
Klipper settings.
Copied fragments should always appear instantly in Klipper's UI (without having
to fiddle with the tray) and pasting them should always work, also after
closing the program out of which the text was copied.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:
(available in About System)
KDE Plasma Version: 5.16.5
KDE Frameworks Version: 5.62
Qt Version: 5.13.1
Arch Linux

I chose major importance, as proper clipboard functionality should be
considered as one key element of a usable desktop.

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

Reply via email to