files-community / Files

A modern file manager that helps users organize their files and folders.
https://files.community
MIT License
34.43k stars 2.19k forks source link

Feature: 7z files with non-standard or unsupported codecs support OR user warning #13972

Open Manu99it opened 11 months ago

Manu99it commented 11 months ago

What feature or improvement do you think would benefit Files?

7z container can support third-party/non-standard codecs for compressing with plugins. For example tc4shell with Modern7z supports compressing with zstd (zstandard), brotli, ecc. I have some 7z archives compressed with zstd used as a codec. Obviously I don't share these (normally), they are for personal use. Files right now open these 7z files and displays them, because 7z headers remain the same. However I think that Files should warn the user that those files can't be effectively extracted (in fact, they are not extracted, and when opened directly they are empty). Also, Files could show in properties of these 7z files and others archive types, the codec actually used and not only "7z archive".

If non-standard codec support I can understand is a low-priority, at least a warning should be there to make the user not attempt to modify these archives and therefore corrupting files in them.

Requirements

Files Version

3.0.5.0

Windows Version

Windows 11 23H2 22635.2771 Feature Experience Pack: 1000.22679.1000.0

Comments

No response

Josh65-2201 commented 11 months ago

Thanks for the feedback, I've added this to the project board.