Describe the bug
removing all entries from submenu resulting in a garbaged submenu.
To Reproduce
Steps to reproduce the behavior:
-
go to UNC-Path and right right click on an entry
-
click on "Path Copy > Settings..."
-
remove all check marks
-
set check marks for "copy long UNC path" in "Main menu" and "Submenu"
-
click "OK" button
-
right right click on an UNC-Path entry
-
see a main menu entry for "copy long UNC path"
-
right right click on an UNC-Path entry
-
click on "Path Copy > "
-
see a Submenu with 2 entries: "copy long UNC path" and "Settings ..."
-
click on "Path Copy > Settings..."
-
remove all check marks
-
set check marks for "copy long UNC path" only in "Main menu"
-
click "OK" button
-
right right click on an UNC-Path entry
-
see a main menu entry for "copy long UNC path"
-
right right click on an UNC-Path entry
-
click on "Path Copy > "
-
[ERROR] see a Submenu with lots of entries
Expected behavior
I want to see no submenu entries except "Settings ..." if I have only "Main menu" entries. My preferred solution is to get rid of the menu entry in context menu (explorer right click) at all. The visibility of the submenu structure in context menu (explorer right click) should be configurable. Because the settings are accessible over windows menu and I only want the Opt-In features I checked in pathcopycopy configuration.
Screenshots


Software (please complete the following information):
- OS: Windows 10 Enterprise, 22H2
- Path Copy Copy Version 20.0
Describe the bug
removing all entries from submenu resulting in a garbaged submenu.
To Reproduce
Steps to reproduce the behavior:
go to UNC-Path and right right click on an entry
click on "Path Copy > Settings..."
remove all check marks
set check marks for "copy long UNC path" in "Main menu" and "Submenu"
click "OK" button
right right click on an UNC-Path entry
see a main menu entry for "copy long UNC path"
right right click on an UNC-Path entry
click on "Path Copy > "
see a Submenu with 2 entries: "copy long UNC path" and "Settings ..."
click on "Path Copy > Settings..."
remove all check marks
set check marks for "copy long UNC path" only in "Main menu"
click "OK" button
right right click on an UNC-Path entry
see a main menu entry for "copy long UNC path"
right right click on an UNC-Path entry
click on "Path Copy > "
[ERROR] see a Submenu with lots of entries
Expected behavior
I want to see no submenu entries except "Settings ..." if I have only "Main menu" entries. My preferred solution is to get rid of the menu entry in context menu (explorer right click) at all. The visibility of the submenu structure in context menu (explorer right click) should be configurable. Because the settings are accessible over windows menu and I only want the Opt-In features I checked in pathcopycopy configuration.
Screenshots


Software (please complete the following information):