Open compressed archives in cosmic-files
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
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.
For the initial release we'll open the "Extract to..." dialog when a supported archive is opened.
Fixed by be67fd8, but we may want to support more archive types?