When I open the context menu within a folder (in the background area of the folder), most of the entries are not shown. This only happens when I navigate to this folder via a File Explorer library.
When I copy the absolute folder path to a new File Explorer window, everything works as expected. When I open the context menu by right-clicking a folder name, all entries are shown, regardless of how I navigated to the folder.
I have checked the registry entries in Computer\HKEY_CLASSES_ROOT\Directory\shell and Computer\HKEY_CLASSES_ROOT\Directory\Background\shell. They seem to be similar for the tools I expect to see in the context menu.
I have Windows 11 22H2 installed. The new Windows 11 context menu is disabled on my system.
To illustrate the behavior I have included two screenshots. In both cases the context menu is open in the background area of the same folder.
When I navigate to the folder using a File Explorer library, the context menu looks like the following (a lot of entries are missing):

When I entered the path of the folder in the address bar, the context menu contains all entries:

What could be the reason for this behavior and how can it be fixed?
Directory, you also haveFolderkeys (as inHKEY_CLASSES_ROOT\Folder) ..