Context Menu: Begin a Group - Bug

In Context Menus, Begin A Group on an element is not respected when the item that comes before it is hidden (for example by @hidenosel).

For example:

  1. Go to File Types... > All files > File Type > Context Menu
  2. Create any item if there isn't one already (can be empty);
  3. Directly below it, create an item with @hidenosel:type=~(*.jpg);
  4. Directly below it, create another item. Make sure to set this to Begin a Group.

So now you'll have this show in the settings and when any .jpg is selected:

Item Step 2
Item Step 3


Item Step 4

However, if no .jpg is selected, it will show as:

Item Step 2
Item Step 4

The group separator will have disappeared. The expected behavior is that the line should still be there, similar to groups in Toolbars, for the element still is set to begin a different group.