GAction registered on the application level can be remotely activated over D-Bus. This is currently supported by the Applications Menu, but not by Dock. The current Dock parses the .desktop files manually and extracts the exec line from them, which it then executes directly. This bypasses the mechanism for D-Bus action activation.
Problem
GAction
registered on the application level can be remotely activated over D-Bus. This is currently supported by the Applications Menu, but not by Dock. The current Dock parses the.desktop
files manually and extracts the exec line from them, which it then executes directly. This bypasses the mechanism for D-Bus action activation.Proposal
Support activation of actions over D-Bus.
Prior Art (Optional)
Applications Menu supports this by virtue of using the DesktopAppInfo.launch_action method. See examples:
I made a little app that can be used to demo this:
example-of-action-activation-from-applications-menu.webm