Bug 423625

Summary: Keep Clipboard Manager service going when clipboard tray icon disabled
Product: [Plasma] plasmashell Reporter: vyacheslav <galdralag>
Component: Clipboard widget & pop-upAssignee: Plasma Bugs List <plasma-bugs>
Status: CONFIRMED ---    
Severity: task CC: 4wy78uwh, bugseforuns, david.cortes.rivera, hello, materka, nate, programmer.pesesoft+kde
Priority: NOR Keywords: usability
Version: 5.15.3   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=442925
Latest Commit: Version Fixed In:
Sentry Crash Report:
Bug Depends on:    
Bug Blocks: 485384    

Description vyacheslav 2020-06-28 18:23:59 UTC
OBSERVED RESULT
Clipboard is not working when clipboard tray icon disabled

EXPECTED RESULT
Clipboard service must be always running independently on hidden/visible tray icon.

I never use clipboard icon for many years. I assume most of peaple also never use it. But clipboard service is useful and must be running.
Comment 1 Konrad Materka 2020-06-29 17:20:34 UTC
I don't understand what is d=the issue or I cannot reproduce. I disabled Clipboard applet in System Tray setting, copy&paste works as expected.

Can you describe in more details? In addition, please add information about your system (Plasma/Qt/Frameworks versions, X11 or Wayland etc)
Comment 2 vyacheslav 2020-06-29 20:54:22 UTC
(In reply to Konrad Materka from comment #1)
> I don't understand what is d=the issue or I cannot reproduce. I disabled
> Clipboard applet in System Tray setting, copy&paste works as expected.
> 
> Can you describe in more details? In addition, please add information about
> your system (Plasma/Qt/Frameworks versions, X11 or Wayland etc)

Copy/paste works without clipboard service.
Main feature of clipboard service is ability to paste text when application that copied text to clipboard is exited.
Without service clipboard is cleared when application that copied text is exited.

Try disable icon, copy text from any application and close it. You can't paste just copied text anywhere but ought to be.

System versions currently latest: plasma 5.19.2,qt 5.15,framework 5.71,X11
Comment 3 Konrad Materka 2020-06-29 22:14:22 UTC
OK, now I understand.

As described here:
https://wiki.ubuntu.com/ClipboardPersistence
you need some kind of Clipboard Manager.

If you disable Clipper plasmoid/applet, then it closes service, exactly as you described. If you don't want to see the icon, you can just set icon to "Always hidden" so that it won't take space on main view.

From the other side system tray icon can be only an interface for backend service. Unfortunately this is a bigger change... KDED daemon, rewrite Klipper and plasmoid. Definitely worth considering!
Comment 4 Nate Graham 2020-07-12 14:39:14 UTC
Yep, same issue as Bug 391578.

It would be nice if these services were provided by something other than the applet itself, so that you could remove all instances of the applet without losing the functionality entirely.
Comment 5 Nate Graham 2023-04-27 23:20:27 UTC
*** Bug 455039 has been marked as a duplicate of this bug. ***
Comment 6 Nate Graham 2024-03-16 15:53:21 UTC
*** Bug 442925 has been marked as a duplicate of this bug. ***