https://bugs.kde.org/show_bug.cgi?id=515694

            Bug ID: 515694
           Summary: Undefined Desktop Entry actions show as empty context
                    menu entries
    Classification: Frameworks and Libraries
           Product: frameworks-kio
      Version First unspecified
       Reported In:
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

SUMMARY
Empty context menu entry appears when Desktop Entry defines an action in
`Actions` without a corresponding action group definition
STEPS TO REPRODUCE

1. Create a .desktop file with an action listed in Actions (e.g.,
Actions=Extract;)
2. Omit the [Desktop Action Extract] section
3. Right-click the application icon to open the context menu

OBSERVED RESULT

An empty field appears in the context menu. Clicking it displays an
"unauthorized for that action" popup

EXPECTED RESULT
Either:

The undefined action should not appear in the context menu (perhaps with
warning)

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:
KDE Plasma Version: 6.5.5
KDE Frameworks Version: 6.22.0
Qt Version: 6.10.2
ADDITIONAL INFORMATION
This appears to be a validation issue where the Desktop Entry parser doesn't
verify that action groups exist for all actions listed in the Actions key.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to