[TC 10.52] Context menu not showing proper entries
Moderators: Hacker, petermad, Stefan2, white
-
- Junior Member
- Posts: 3
- Joined: 2023-04-03, 18:30 UTC
[TC 10.52] Context menu not showing proper entries
I have noticed that right clicking on an empty background in a TC pane shows the context menu with entries from HKEY_CLASSES_ROOT\Directory\shell.
Windows Explorer on the other hand is showing entries from HKEY_CLASSES_ROOT\Directory\background\shell.
If I am not mistaken, entries from HKEY_CLASSES_ROOT\Directory\shell should be shown when user right-clicks on a folder item (i.e. folder name in the list), and the entries from HKEY_CLASSES_ROOT\Directory\background\shell should be shown if the user right-clicks on an empty folder background (which includes desktop background, which also has it's own dedicated background key).
It would be nice if TC would display proper entries depending on where you click.
Windows Explorer on the other hand is showing entries from HKEY_CLASSES_ROOT\Directory\background\shell.
If I am not mistaken, entries from HKEY_CLASSES_ROOT\Directory\shell should be shown when user right-clicks on a folder item (i.e. folder name in the list), and the entries from HKEY_CLASSES_ROOT\Directory\background\shell should be shown if the user right-clicks on an empty folder background (which includes desktop background, which also has it's own dedicated background key).
It would be nice if TC would display proper entries depending on where you click.
-
- Junior Member
- Posts: 3
- Joined: 2023-04-03, 18:30 UTC
Re: [TC 10.52] Context menu not showing proper entries
Here are the steps to reproduce in case you want to test it:
- Import this into registry:
Code: Select all
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Directory\background\shell\TEST1] @="TEST DIRECTORY BACKGROUND" [HKEY_CLASSES_ROOT\Directory\shell\TEST2] @="TEST DIRECTORY"
- Open Windows Explorer
- Navigate to a root directory of your C:\ drive
- Right-click on the empty background -- you should see TEST DIRECTORY BACKGROUND option in the context menu
- Right-click on the Windows directory -- you should see TEST DIRECTORY option in the context menu
Re: [TC 10.52] Context menu not showing proper entries
TC shows the context menu of the current directory when right-clicking "on empty space". The directorie's name is the first context menu item and usually highlighted in bold.
Regards
Dalai
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC 10.52] Context menu not showing proper entries
Yes, it shows the context menu of the directory itself.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
-
- Junior Member
- Posts: 3
- Joined: 2023-04-03, 18:30 UTC
Re: [TC 10.52] Context menu not showing proper entries
I am aware of that, I am just saying it's an incorrect behavior.ghisler(Author) wrote: 2023-04-07, 17:02 UTC Yes, it shows the context menu of the directory itself.
Re: [TC 10.52] Context menu not showing proper entries
There is no definition what context to show on white space.igor_levicki wrote: 2023-04-12, 11:24 UTCI am aware of that, I am just saying it's an incorrect behavior.ghisler(Author) wrote: 2023-04-07, 17:02 UTC Yes, it shows the context menu of the directory itself.
Several tools including Explorer do it in their own way.
If you don't like TCs way make a suggestion.
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
-
- Junior Member
- Posts: 3
- Joined: 2023-04-03, 18:30 UTC
Re: [TC 10.52] Context menu not showing proper entries
Of course there is -- there is a separate registry key for that context menu and Explorer is using it.
I am not talking about other tools, I am talking about the official tool (Explorer) and official registry key.
I think that's just what I did, no?
I reported what I consider incorrect behavior for folder background and suggested it should be done the same was Explorer does it.
There wouldn't be two distinct context menu registry keys for the folder itself and for its background if it wasn't intended to work that way.
Some folder context menu entries make sense in folder menu, some in background menu, and some in both (and those are usually registered in both).
What I am saying is that right now there is no way in TC to get to the context menu options defined for folder background only and I think that's bad -- we shouldn't have to switch from TC to Explorer just to be able to use options from background menu. There must be a better way.
Re: [TC 10.52] Context menu not showing proper entries
Hmm the only items I see in Explorer's context menu for the empty background that are not visible also in TC's empty background context menu are "Show", "Sort by"and "Group by" which are all specific to Explorer, and then there is the item "Customize this folder", which is also accessible via the "Properties" entry.
2igor_levicki
What is it that you are missing in Explorers context menu, that you don't see in TC context menu?
2igor_levicki
What is it that you are missing in Explorers context menu, that you don't see in TC context menu?
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
-
- Junior Member
- Posts: 3
- Joined: 2023-04-03, 18:30 UTC
Re: [TC 10.52] Context menu not showing proper entries
@*petermad
It's not what I don't see, more like what I see.
I see all the options from the directory menu which shouldn't be there.
Also, by not separating directory menu from directory background menu like Windows Explorer, the TC encourages developers to register their context menu entries in both menus just so they are visible in TC as well.
It's not what I don't see, more like what I see.
I see all the options from the directory menu which shouldn't be there.
Also, by not separating directory menu from directory background menu like Windows Explorer, the TC encourages developers to register their context menu entries in both menus just so they are visible in TC as well.