Bug 444878 - Ability to cut/copy files from an archive
Summary: Ability to cut/copy files from an archive
Status: CONFIRMED
Alias: None
Product: ark
Classification: Applications
Component: general (show other bugs)
Version: 23.04.1
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: Elvis Angelaccio
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-03 12:33 UTC by Patrick Silva
Modified: 2023-05-14 14:03 UTC (History)
6 users (show)

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


Attachments
screen recording (1.32 MB, video/webm)
2021-11-03 12:34 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
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