Bug 466947 - Incorrect File being copied to clipboard
Summary: Incorrect File being copied to clipboard
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Clipboard widget & pop-up (show other bugs)
Version: 5.26.4
Platform: Fedora RPMs Linux
: NOR grave
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-06 15:25 UTC by arcane2.0
Modified: 2023-03-06 15:43 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description arcane2.0 2023-03-06 15:25:44 UTC
SUMMARY
Clipboard is copying the wrong files. For instance copying a pdf might add a previously copied jpg file to the clipboard.
The wrong file appears in the clipboard manager. Text continues to work as expected.

STEPS TO REPRODUCE
1. Copy a *file* via UI e.g. pdf jpg etc. 
2. Paste it elsewhere e.g. desktop
3. Copy a different Item - Clipboard manager shows previous file
4. Paste it else where - Previous file pasted
5. Clear clipboard manager
6. Copy a new file - Initial File added to Clipboard (same as 3)

OBSERVED RESULT
Copies an item not selected to the clipboard

EXPECTED RESULT
copy the selected item to the clipboard

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Linux 36 - X11 Session
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
First copy paste of the session works as expected if 'remember history' is turned off.
`cp` works as expected.
`xclip` works as expected.
Drag-drop works sometimes but I can't pin point the logic behind whether it will work or not.
Clearing the clipboard and copying 
clip - paste moves the wrong file
A maximum of two files are added to the clipboard.
Restarting does not fix anything.
Comment 1 Bug Janitor Service 2023-03-06 15:33:55 UTC
Thank you for the bug report!

Please note that Plasma 5.26.4 will not be supported for much longer by KDE; supported versions are 5.27, and 5.27 or newer.

Please upgrade to the latest version as soon as your distribution makes it available to you. Plasma is a fast-moving project, and bugs in one version are often fixed in the next one.
Comment 2 arcane2.0 2023-03-06 15:43:20 UTC
Upgrading to 5.27.1 Fixed this.