Use secret hint to prevent copy-then-type emoji from appearing in clipboard history - #28
RealOrangeOne wants to merge 2 commits into
Conversation
clipboard history Fixes alex1701c#27
|
@alex1701c I'm not sure what the issue with CI is, although because it passes on other platforms I'm thinking it's an issue with the CI pipeline rather than this PR. |
| QApplication::clipboard()->clear(); | ||
|
|
||
| // A second ctrl-v is needed to bring whatever was in the clipboard back in. | ||
| // For some reason. |
There was a problem hiding this comment.
That sounds a bit suspicious. I would like to know more why it does not work.
There was a problem hiding this comment.
I agree. I got it working on a single machine and left it. I'll see how it behaves on a few other installations and report back.
There was a problem hiding this comment.
And chance you got time to do that? :)
There was a problem hiding this comment.
It dropped to the bottom of my list, but I'll try and look again over the next few days.
There was a problem hiding this comment.
@alex1701c I couldn't reproduce whatever issue I had before. It now reliably works across 2 machines without the extra paste.
Fixes #27
This PR makes 2 notable changes to the "paste emoji" option (Shift-Return):
This combination makes the fact the clipboard is used almost an implementation detail, since there should be no difference before and after.
I've tested this working on Plasma 6 under Wayland.