ContextMenuForWindows11 icon indicating copy to clipboard operation
ContextMenuForWindows11 copied to clipboard

Feature Request: Customize right-click on directory background

Open PrateekArya opened this issue 3 years ago • 3 comments

The app is really useful but it only allows to add an entry to right-click menu for files and folder. It can be a good idea to also allow the user to customize the background right-click context menu, i.e., the context menu which opens when a user right-clicks a the empty background of an already opened folder. For example, the context menu which you get when you right-click on the desktop.

PrateekArya avatar Jul 13 '22 11:07 PrateekArya

It's difficult.... Because the right-click menu api is called by windows...

There is currently only one special case, the desktop

https://github.com/ikas-mc/ContextMenuForWindows11/blob/d0c10a925d6601f41b94660c1ce56255d182d1bc/ContextMenuCustom/ContextMenuCustomHost/CustomExplorerCommand.cpp#L93

ikas-mc avatar Aug 27 '22 02:08 ikas-mc

@ikas-mc Would you consider implementing the desktop case? The app's useful for me since it allowed me to bring back some of the shortcuts I'd get on the desktop by default, like driver settings, but with the current version it also shows up whenever I right-click any other directory which isn't necessary. I'm not a programmer unfortunately so I don't know how to do that.

cajazt avatar Sep 16 '23 15:09 cajazt

@cajazt In order to solve folder-related bugs, Currently a new implementation is used to get the folder path see: https://github.com/microsoft/terminal/commit/5027c8031d009ff5d26032134ab1e70b0c91f587

Further testing is needed to see if specific folders can be identified if it is possible,I will add a new matching option

ikas-mc avatar Sep 17 '23 08:09 ikas-mc

Add directory, desktop, and directory background matching https://github.com/ikas-mc/ContextMenuForWindows11/releases/tag/5.0.0.0

ikas-mc avatar Apr 16 '24 13:04 ikas-mc