Didn't know which thread to put this in, so I'm going with this one.
The position of context is awkward to work with. For instance, I can't get the Zip context in the location I want... it's always located before the All Files type and after the mimetype context. I tried placing the GUID into the context of the All Files and Folders, but the placement is always such that it is the first item in the list after the mimetypes. Disabling the context menu in the Zip Files (Opus Preferences) removes the options to Zip altogether.
Here's what I did...
Added a simple context menu option to All Files, Files and Folders, All Folders, and then added the mimetype context for Folders. The naming was kept very simple so I knew where each menu option was coming from. Because the Zip portion was not consistent, I left it off for this testing.
For those interested, don't forget to check the settings in Misc/Windows Integration and Zip Files in your Opus Preferences.
I created a simple filetype with the extension opstst. In the environment I put new folders (1, 2, & 3) and the files a.opstst, b.opstst, and c.opstst.
Now, the opstst is an unknown mimetype and contains 0 bytes, so only the Opus based menus would show. Right click on any of the files and I saw the following menu
All Files (context)
All Files and Folders (context)
This was expected. The folders were a bit different...
Open
Mimetype Folder (context)
Explore
All Folders (context)
Search...
All Files and Folders (context)
Now, I was thinking the mimetype and the All Folders context would somehow be right next to each other. I was also not expecting to see the Open, Explore, and Search... options either since I have the "Hide windows items on file context menus" active. I guess this only works with files, and not folders/directories. So this leads to another possible feature request (hide windows items on folder context menus).
I like the idea of a weighted context menu, but I think it can be changed so it's a bit more robust without much effort.
The location for All Files and Folders is where I would expect it to be. In this context I would add simple things such as "Properties" or the zip functionality. The top entry would be the mimetypes as those would change from day to day. followed by the mimetypes would be a tie between All Files ... and ... All Folders. After that, the Opus types section. Perhaps an easy way to make the weight system work is to apply the weight to each group as a whole, rather than individual items.
For those who are interested, I've saved my DFT files and attached them for anyone to test.
Test Filetypes.zip (2.76 KB)