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

Add SchemeSupported to check whenever host supports opening specific uri scheme #1202

Open
xhorak opened this issue Nov 16, 2023 · 1 comment
Labels

Comments

@xhorak
Copy link
Contributor

xhorak commented Nov 16, 2023

Operating System

Linux

XDG Desktop Portal version

Git

XDG Desktop Portal version (Other)

No response

Desktop Environment

GNOME

Desktop Environment (Other)

No response

Expected Behavior

As a workaround currently Firefox has a list of the supported URI schemes but there are many and number is growing, so it's not covering all the cases obviously.

I'd like to implement SchemeSupported method to the portal.AppChooser which returns true or false whenever the system has handler application for the specific uri scheme or not.

xdg-desktop-portal-gtk issue: flatpak/xdg-desktop-portal-gtk#330
Upstream bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1786132

Current Behavior

Currently there's no way to decide whenever specific uri scheme is supported in the host system. This confuses browsers which checks system for the uri scheme handler to open the app or open the uri internally.

Steps to Reproduce

...

Anything else we should know?

No response

@xhorak xhorak added the bug label Nov 16, 2023
@github-project-automation github-project-automation bot moved this to Needs Triage in Triage Nov 16, 2023
@xhorak
Copy link
Contributor Author

xhorak commented Nov 16, 2023

Relevant pull request: #1203

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Needs Triage
Development

No branches or pull requests

1 participant