M2Team / NanaZip

The 7-Zip derivative intended for the modern Windows experience
https://sourceforge.net/projects/nanazip/
Other
8.71k stars 222 forks source link

NanaZip context menu is treating mkv and webm extensions as archives #487

Open raziel711 opened 2 months ago

raziel711 commented 2 months ago

System information: OS: Windows 11 Pro 23H2 NanaZip version: 3.1.1080.0 x64

I am having an issue with the context menu in NanaZip showing options related to extraction for .mkv and .webm files: RIQeDkwLVg

I mentioned the same issue in the 7-Zip repository (https://github.com/ip7z/7zip/issues/23) and there is an exclusion list for formats which was updated to exclude .mkv and .webm for 7-Zip 24.05. Can you do the same for NanaZip?

agowa commented 2 months ago

well, both mkv as well as webm are containers aka archives. So what's the issue exactly? https://en.wikipedia.org/wiki/Matroska

raziel711 commented 2 months ago

Trying to open an mkv file by the context menu will give the error:

08I7zmsZah

That means the context menu is populated with multiple entries that don't actually do anything, which is a waste of space, unless there are plans to add functionality like mkvextract to a future version of NanaZip.

Also, those extraction entries do not appear when right clicking on an mp4 file, which is also a container, so there is a lack of consistency between formats.

agowa commented 2 months ago

Oh ok, however you've also Notepad++ in the context menu of your video file and that's not an issue?

I for example like to have NanaZip/7-Zip and Notepad++ in there to be able to open arbitrary files as archives or as text in case I know it is actually that but associated with an application. E.g. did you know that word and excel files are also archives?

In your case why not just disable the context menu item all together and just use Nanazip with filetypes you've associated to it?

raziel711 commented 2 months ago

I'm not suggesting that NanaZip only open archives that you can associate through the default apps page in Windows Settings; I've used 7-Zip to open exe files through the context menu quite often.

I would be far less likely to view this as an issue if those extraction related context menu entries appeared for every file type. As I said, they only appear for mkv and webm files, but not for mp4 or avi files, which are also containers. Ideally, I think there should be consistency.

Also, the readme states that NanaZip "inherits all features from 7-Zip 24.08." The exclusion list of formats has been updated to include mkv and webm since 7-Zip 24.05, so shouldn't that apply to NanaZip as well?