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

[New+]Don't override New actions from Explorer on Windows 10 #36467

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

jaimecbernardo
Copy link
Collaborator

Summary of the Pull Request

New+ is currently trying to respond to verbs that don't correspond to the submenu item call in InvokeCommand. Checking old documentation for InvokeCommand, we can see that we're missing a check in there.

https://learn.microsoft.com/en-us/previous-versions//bb776881(v=vs.85)?redirectedfrom=MSDN#invokecommand-method

PR Checklist

Detailed Description of the Pull Request / Additional comments

Just adds the check we require to make sure we're not responding to "string"-based verbs, according to the documentation.

Validation Steps Performed

Verified that on Windows 10 with this build it's possible to now call New Folder from the WIndows Explorer Ribbon and also through the Ctrl+Shift+N shortcut. Now a new folder gets created instead of the old one. Also tried to create a New text file from the ribbon and it worked. Also tried New+ features to make sure they were still working.

@jaimecbernardo
Copy link
Collaborator Author

@cgaarden, FYI. 😄

@jaimecbernardo jaimecbernardo changed the title [New+]Don't override New actions from Explorer [New+]Don't override New actions from Explorer on Windows 10 Dec 20, 2024

This comment has been minimized.

This comment has been minimized.

@cgaarden
Copy link
Contributor

Sweet! Thank you @jaimecbernardo for this fixing this! :-)

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

Successfully merging this pull request may close these issues.

5 participants