Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Selecting multiple files causes strange behaviour #5

Open
Clownacy opened this issue Dec 7, 2018 · 0 comments
Open

Selecting multiple files causes strange behaviour #5

Clownacy opened this issue Dec 7, 2018 · 0 comments

Comments

@Clownacy
Copy link
Collaborator

Clownacy commented Dec 7, 2018

For now, I've worked around this in 2fb4468, but I want a real fix. For whatever reason, whenever you select a bunch of files, and try (de)compressing them, Windows calls InvokeCommand with the wrong command ID.

What triggers it is having two options with the same name. Yes this happens even if the two options are in separate submenus.

And this only happens when a bunch of files are selected. It has something to do with that dumb change Microsoft made in Window 7(?) where QueryContextMenu is called twice when more than 16(?) files are selected, the first call clamping the file count to 16, and the second call using the real number.

Also see sonicretro/KENSSharp#3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant