Bug 444878

Summary: Ability to cut/copy files from an archive
Product: [Applications] ark Reporter: Patrick Silva <bugseforuns>
Component: generalAssignee: Elvis Angelaccio <elvis.angelaccio>
Status: CONFIRMED ---    
Severity: wishlist CC: aacid, clay, lazar.nenkov.lazarov, nate, nicolas.fella, rthomsen6
Priority: NOR    
Version First Reported In: 23.04.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: screen recording

Description Patrick Silva 2021-11-03 12:33:01 UTC
SUMMARY
Ark does not cut/copy selected file(s) to clipboard. Watch the attached screen recording please.

EXPECTED RESULT
cut and copy features should work

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.23.80
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.3
Graphics Platform: X11
Comment 1 Patrick Silva 2021-11-03 12:34:52 UTC
Created attachment 143168 [details]
screen recording
Comment 2 Nicolas Fella 2021-11-03 13:48:44 UTC
It's, umh, complicated.

The copy/paste actions aren't using the system's clipboard, instead what they do is allow you to copy/paste files _within_ a writable archive. The fact that the copy button is enabled in a read-only archive doesn't help with this confusion either.

I assume that you want it to copy/paste between Ark and another application, which is a perfectly reasonable expectation. However this is surprisingly hard to implement properly. Same story with Drag and Drop (as can be seen in a recent video). For Drag and Drop we have a hack that makes it work between Ark and Dolphin. We probably could use that for Copy/Paste as well, but that wouldn't help with other applications. I'm planning to make a detailed writeup of the technicalities of this problem to start a conversation on how we can solve this
Comment 3 Lazar 2022-01-01 13:47:41 UTC
As a workaround, one can enable "Open archives as folder" under "Navigation" in the "Configure Dolphin" menu and then copy and pasting works