| Summary: | Allow using "Always save in history" option when "Keep the selection and clipboard the same" option is disabled | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | Flavio Stanchina <flavio> |
| Component: | Clipboard widget & pop-up | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | ASSIGNED --- | ||
| Severity: | wishlist | CC: | cspiegel, d.milivojevic, kde, kdedev, nate, tomashnyk, wozniakg |
| Priority: | NOR | ||
| Version First Reported In: | 5.27.5 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Debian stable | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Proof-of-concept patch | ||
|
Description
Flavio Stanchina
2024-09-08 20:29:31 UTC
This is clearly intentional, though I'm not aware of the reason for it. Ah so basically, primary selections would be added as history items, but not kept synchronized with traditional selections. Hopefullt this is possible, yeah. *** Bug 498715 has been marked as a duplicate of this bug. *** Created attachment 177434 [details]
Proof-of-concept patch
This is a quick-and-dirty proof of concept patch I created for plasma-workspace 6.2.5; it allows the radioboxes to be selected regardless of synchronization status. So far, with my short testing, it works as I expect: clipboards aren't synchronized, but history is stored for both PRIMARY and CLIPBOARD. So it looks like the clipboard code itself handles it fine, and it's just a UI matter preventing it from being exposed.
You can probably remove the setEnabled lines entirely, since the default is true. Wanna submit it formally and see what people say? *** Bug 498766 has been marked as a duplicate of this bug. *** A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/5085 *** Bug 481119 has been marked as a duplicate of this bug. *** *** Bug 506883 has been marked as a duplicate of this bug. *** From a duplicate: Workaround for this issue: Add IgnoreSelection=false to ~/.config/klipperrc (I made an older bug a duplicate of this one as this has merge request attached to it) This should be treated as a regression fix, this behaviour was the standard for probably more than a decade. A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/5922 |