Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

portal-impl: Only return found implementation if it launched #985

Commits on Mar 13, 2023

  1. portal-impl: Only return found implementation if it launched

    If no portal backend for a given interface is found, a fallback is
    always tried anyway, despite that fallback not being listed as
    compatible with the current desktop environment.
    
    Sometimes it's good that a fallback is returned; e.g. the
    xdg-desktop-portal-gtk file chooser backend is technically usable
    anywhere, however, some backends might be specifically designed to only
    work in a specific desktop environment, e.g. xdg-desktop-portal-gnome.
    
    In order to avoid creating portals with non-functional backends, make
    sure it's possible to create a proxy object for the interface and D-Bus
    name, and that it launched successfully (i.e. has no name owner after
    creating the proxy).
    jadahl committed Mar 13, 2023
    Configuration menu
    Copy the full SHA
    bbcf511 View commit details
    Browse the repository at this point in the history