Skip to content

[BUG] Action menu names not displayed when using nested menus #40

@cfgnunes

Description

@cfgnunes

Hi!

When defining actions that include a menu with submenus, only the final (leaf) menu items are displayed in the context menu. The names of the parent menus themselves do not appear, making it impossible to navigate the menu hierarchy.

Note: This issue does not occur in pcmanfm-qt, where all menu levels (parent and child) are displayed correctly.

Steps to reproduce:

  1. Create an action that defines a menu with submenus.
  2. Open the context menu in pcmanfm.
  3. Observe that only the final submenu items appear, parent menu names are missing.

Expected behavior:
Parent menu names should be displayed, allowing navigation through nested menus (as in pcmanfm-qt).

Environment:

  • pcmanfm version: 1.4.0
  • OS: Fedora 43

Additional notes:
A good project to test this behavior is:
https://github.com/cfgnunes/fm-scripts

It installs action menus correctly, including nested ones, and works properly in file managers that support hierarchical menus (like pcmanfm-qt).

Screenshot of bug:
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions