You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The explorer context menu should only appear on shift+click #6113
Area-ShellExtensionFor issues related to the explorer right-click context menuHelp WantedWe encourage anyone to jump in on these.Issue-TaskIt's a feature request, but it doesn't really need a major design.Product-TerminalThe new Windows Terminal.
The Explorer context menu is notoriously cluttered. We shouldn't add to that clutter if we can avoid it. This issue represents me taking the time to investigate how exactly to make the menu only appear on shift+right click, not just right click.
Reacted by Henrik Gerdes, Georgi Georgiev, Joshua, DDoSolitary, 一年又一年, Muhammad Ridwan Hakim, S.T., CPITA, ITPMCP, Anthony Vanelverdinghe, David Maas, Fujita Hitoshi, Chen Yu and 13 more
Activity
ghost added
Needs-TriageIt's a new issue that the core contributor team needs to triage at the next triage meeting
Looks like they implement another interface, IContextMenu. If someone in the community was passionate about decluttering the context menu, we'd definitely appreciate a similar PR 😄
EDIT: As mentioned in an offline thread:
You should stick to the IExplorerCommand implementation and avoid IContextMenu if possible.
If you return ECS_HIDDEN as a function of the keyboard state (if (GetKeyState(VK_SHIFT) < 0) or GetAsyncKeyState(), read the docs on both, I'm not sure which is the right one to use in this case) this can be hidden conditionally. This depends on the shell calling your handler coincident with presenting the UI. I think that is always true but might not always be. Pay attention to this issue and lets discuss with the File Explorer owners.
Yeah, it's ugly long name. I am trying to disable that context menu. But I can't find Windows Terminal Preview context menu item using Nirsoft tools, like ShellExView and ShellMenuView.
Area-ShellExtensionFor issues related to the explorer right-click context menuHelp WantedWe encourage anyone to jump in on these.Issue-TaskIt's a feature request, but it doesn't really need a major design.Product-TerminalThe new Windows Terminal.
Activity
zadjii-msft commentedon Jun 1, 2020
Alright so we took a quick peek through the code and we're not sure exactly how to do this. Fortunately, PowerToys does seem to do something similar:https://github.com/microsoft/PowerToys/blob/d16ebba9e0f06e7a0d41d981aeb1fd0a78192dc0/src/modules/powerrename/dll/PowerRenameExt.cpp#L60-L110Looks like they implement another interface,IContextMenu. If someone in the community was passionate about decluttering the context menu, we'd definitely appreciate a similar PR 😄EDIT: As mentioned in an offline thread:
and also mentioned here:
rescenic commentedon Jun 26, 2020
Yeah, it's ugly long name. I am trying to disable that context menu. But I can't find Windows Terminal Preview context menu item using Nirsoft tools, like ShellExView and ShellMenuView.

igorakkerman commentedon Jul 4, 2020
Please make this configurable, Terminal is a core application in my work and should not be a secondary function.