Skip to content

Allow using actions in the external preview #110

Open
@sonnyp

Description

@sonnyp

When using Vala, the code and preview runs in a separate process.

So far, we were unable to use actions there so we had to disable/downgrade demos for Vala. See

This ticket is about enabling the usage of actions in library entries when using Vala.

See the previous description below and comments for an analysis of the issue.

Since then, the architecture changed a little bit and the external process isn't a GApplication anymore. Instead Workench and the external process communicate via a direct dbus connection instead of via the session bus.

See https://github.com/sonnyp/Workbench/pull/184/files#diff-24cdf4b8c7c2fbd1c6b43e8b7bcc877d14cae496dd01e82eb212b6d5b4c68d59

Please note that Flatpak apps cannot have multiple dbus targets. flatpak/flatpak#1902

Todo

  • Permit usage of GActions in Vala examples
  • Upgrade Vala examples to use GActions like the js ones
    • Toasts
    • Notifications

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions