cosmic-files icon indicating copy to clipboard operation
cosmic-files copied to clipboard

Open compressed archives in cosmic-files

Open WatchMkr opened this issue 11 months ago • 1 comments

Double clicking an archive in cosmic-files extracts it and moves into the folder. In addition, add "Extract to..." to the context menu that opens the save dialog so the user can choose a location.

Intended to replace file-roller on Pop!_OS installs

WatchMkr avatar Jan 15 '25 05:01 WatchMkr

Double clicking an archive in cosmic-files extracts it and moves into the folder.

Is it like temporary extraction to preview the files in COSMIC Files or extract it to the same location? If later is the conclusion then I have this suggestion

Let user preview in the zip content by opening it in a new tab while adding a temp sidebar entry which let's user un-mount the zip (delete zip from temp location).

This approach may help in these ways

  • Let user preview files in temp location in COSMIC Files as intended when doesn't need to have it extracted (eg: to view a image).
  • Unmount option would delete the mounted dir permanently (no-trash).
  • Prevents file deletion after preview and keeps the trash cleaner.

iamkartiknayak avatar Apr 23 '25 05:04 iamkartiknayak

For the initial release we'll open the "Extract to..." dialog when a supported archive is opened.

WatchMkr avatar Jun 18 '25 01:06 WatchMkr

Fixed by be67fd8, but we may want to support more archive types?

jackpot51 avatar Aug 15 '25 17:08 jackpot51