Bug 355841 - Unpredictable what actually will be pasted due to copy-only-selection item not being visually differentiated in any way
Summary: Unpredictable what actually will be pasted due to copy-only-selection item no...
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Clipboard widget & pop-up (show other bugs)
Version: 5.15.3
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: usability
: 97913 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-11-24 14:02 UTC by arne anka
Modified: 2023-01-14 15:50 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
screenshot illustrating scenario described in report (6.15 KB, image/png)
2015-11-24 14:03 UTC, arne anka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description arne anka 2015-11-24 14:02:40 UTC
very often it is impossible to predict which of the stored entries  actually will be inserted when pasting.
see attached screenshot of the clipboards contents:
what entry would you expect to be imported upon clicking the middle mouse button?

it's actually the second one. to get the first one, i have to select the second one, see it move to top (when, curiously enough, it would be inserted as well). then i have to click the now second entry (formerly the top one), see it move to top again -- and only then it would be inserted as expected.

this issue persist since klipper in kde 4.x at least and makes the clipboard of limited use.


Reproducible: Always
Comment 1 arne anka 2015-11-24 14:03:35 UTC
Created attachment 95697 [details]
screenshot illustrating scenario described in report
Comment 2 Martin Flöser 2015-12-04 07:28:46 UTC
Did you try to use option "Synchronize contents of the clipboard and the selection"?

The clipboard (ctrl+c/ctrl+v) is separate from the selection (middle click paste) by default on X11. This has nothing to do with klipper, but with how X11 works. Klipper provides with the config option a mean to synchronize them.
Comment 3 arne anka 2015-12-13 20:21:03 UTC
i did, but the results puzzled me even more.

but in this particular instance, the entries were created entirely by simply selecting a bit of text.
Comment 4 gnastyle 2016-04-04 21:44:44 UTC
I can reproduce the issue on Chakra since the beginning of plasma 5.
The string you Copy or Ctrl+C should always be at first place.

That option is very dangerous, since you don't need to do Ctrl+C or Copy to copy a text.
If you select a text for error, then what did you copy is vanished.
Comment 5 arne anka 2020-06-10 08:47:43 UTC
this bug is almost 4 years old!

Any chance this extremely annoying and basic bug will ever be fixed? 
It basically renders the clipboard useless in a lot of situations.
To check the entries, de-/reselect the entry and the hoping it works is more work than simply copying by strc+c or context menu and afterwards pasting.
Comment 6 Nate Graham 2021-04-01 21:11:20 UTC
*** Bug 97913 has been marked as a duplicate of this bug. ***