M2Team / NanaZip

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

No "NanaZip" in the context menu when selecting files or packages, but shows up when selecting folders #203

Closed TECHNIKVERBOT closed 1 year ago

TECHNIKVERBOT commented 2 years ago

NanaZip 1.2 Windows 10 21H2 (Build 19044)

image image

MouriNaruto commented 2 years ago

If you can't find NanaZip in the context menu, please restart all File Explorer processes via Task Manager. (Due to Microsoft can't promise all things defined in the AppX manifest are registered after the app is installed in store or command line. It looks like an asynchronous progress.)

Kenji Mouri

TECHNIKVERBOT commented 2 years ago

Still nothing after restarting explorer.exe. :/

TECHNIKVERBOT commented 2 years ago

Rebooted my machine, same deal...

TECHNIKVERBOT commented 2 years ago

And just for the heck of it, tried it with the middle option set, still nothing

image

MouriNaruto commented 2 years ago

@TECHNIKVERBOT

And just for the heck of it, tried it with the middle option set, still nothing

That option is only for showing system context menu or not when you right click the file items in NanaZip's file manager itself.

Kenji Mouri

EFLKumo commented 2 years ago

The problem also exists in my computer and it seems that restarting explorer isn't the solution. It is elusive, sometimes the section appears and after a while it has just gone.

FR0Z3 commented 2 years ago

This problem is also happening to me, I am using ExplorerPatcher running under Windows 11 21H2 Build 22000.856 and using Disable Windows 11 Context menu. NanaZip Version: 1.2.252.0 Scrshot

image

dinhngtu commented 2 years ago

@MouriNaruto I've started looking at this problem myself. I think the problem is in the NanaZipShellExtension code and not the manifest.

I replaced the entire NanaZipShellExtension.cpp with this file PhotoStoreContextMenu and the context menu works on both files and directories: image Hope that helps.

P/S: I'm testing on Windows 10 10.0.19044.1889 English (US).

MouriNaruto commented 2 years ago

I will try to reproduce the issue on my device.

Kenji Mouri

dinhngtu commented 2 years ago

I think I've solved the issue. Changing both context menu verb names in the Package.appxmanifest to "Command4" made it work for some very weird reason. So did "CNanaZip", but not "NanaZip" or "NanaZip1". There must be some sort of comparison bug in Explorer...

EFLKumo commented 2 years ago

Windows Terminal uses verb names which don't start with C but also works without issues under my device. So it only could be a problem of packaging system.

dinhngtu commented 2 years ago

The issue only applies to file context menus when using the "*" item type filter. Windows Terminal doesn't use this item type filter, so it isn't affected. Setting the "*" filter verb name to "OpenTerminalHere1" reintroduces the problem.

EFLKumo commented 2 years ago

Yeah, you're right.

Hanryi commented 1 year ago

I download Nanazip from MS store in 2022/12/06. And i found the size of the right-click menu bar will change when i right-click on the compressed file multiple times, which seems to be caused by the newly added nanazip option when right-clicking image image when it's loading, the menu is bigger than loaded. Most importantly, the loading process will be clearly perceived.

AndromedaMelody commented 1 year ago

Thanks for your support.