Skip to content

gpui_linux: Fix "No Apps Available" dialog when opening URIs on Linux/Wayland#49752

Merged
smitbarmase merged 1 commit intozed-industries:mainfrom
tahayvr:fix-linux-open-uri-xdg-open-fallback
Mar 18, 2026
Merged

gpui_linux: Fix "No Apps Available" dialog when opening URIs on Linux/Wayland#49752
smitbarmase merged 1 commit intozed-industries:mainfrom
tahayvr:fix-linux-open-uri-xdg-open-fallback

Conversation

@tahayvr
Copy link
Copy Markdown
Contributor

@tahayvr tahayvr commented Feb 20, 2026

Closes #48169

Before you mark this PR as ready for review, make sure that you have:

  • Added a solid test coverage and/or screenshots from doing manual testing
  • Done a self-review taking into account security and performance aspects
  • Aligned any UI changes with the UI checklist

Release Notes:

  • Fixed "No Apps Available" dialog when opening URIs on Linux/Wayland

Swaps the order of open_uri_internal function: try xdg-open first, and only fall back to the portal if every candidate command fails.

Build Tests:
I tested the build on Arch Linux & MacOS Tahoe and there were no issues. No error logs when opening repo links.

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Feb 20, 2026
@zed-community-bot zed-community-bot bot added the first contribution the author's first pull request to Zed. NOTE: the label application is automated via github actions label Feb 20, 2026
Copy link
Copy Markdown
Member

@smitbarmase smitbarmase left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Tested this on Ubuntu too.

@smitbarmase smitbarmase force-pushed the fix-linux-open-uri-xdg-open-fallback branch from 14445a5 to 020e9a2 Compare March 18, 2026 15:04
@smitbarmase smitbarmase enabled auto-merge (squash) March 18, 2026 15:06
@smitbarmase smitbarmase merged commit a245660 into zed-industries:main Mar 18, 2026
29 checks passed
@yeskunall
Copy link
Copy Markdown
Member

Hey @tahayvr -- just saw this was merged. Congrats on your first contribution to Zed! 💖

AmaanBilwar pushed a commit to AmaanBilwar/zed that referenced this pull request Mar 18, 2026
…/Wayland (zed-industries#49752)

Closes zed-industries#48169

Before you mark this PR as ready for review, make sure that you have:
- [ ] Added a solid test coverage and/or screenshots from doing manual
testing
- [x] Done a self-review taking into account security and performance
aspects
- [ ] Aligned any UI changes with the [UI
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)

Release Notes:

- Fixed "No Apps Available" dialog when opening URIs on Linux/Wayland

Swaps the order of `open_uri_internal` function: try xdg-open first, and
only fall back to the portal if every candidate command fails.

Build Tests:
I tested the build on Arch Linux & MacOS Tahoe and there were no issues.
No error logs when opening repo links.
AmaanBilwar pushed a commit to AmaanBilwar/zed that referenced this pull request Mar 20, 2026
…/Wayland (zed-industries#49752)

Closes zed-industries#48169

Before you mark this PR as ready for review, make sure that you have:
- [ ] Added a solid test coverage and/or screenshots from doing manual
testing
- [x] Done a self-review taking into account security and performance
aspects
- [ ] Aligned any UI changes with the [UI
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)

Release Notes:

- Fixed "No Apps Available" dialog when opening URIs on Linux/Wayland

Swaps the order of `open_uri_internal` function: try xdg-open first, and
only fall back to the portal if every candidate command fails.

Build Tests:
I tested the build on Arch Linux & MacOS Tahoe and there were no issues.
No error logs when opening repo links.
toshmukhamedov pushed a commit to toshmukhamedov/zed that referenced this pull request Mar 20, 2026
…/Wayland (zed-industries#49752)

Closes zed-industries#48169

Before you mark this PR as ready for review, make sure that you have:
- [ ] Added a solid test coverage and/or screenshots from doing manual
testing
- [x] Done a self-review taking into account security and performance
aspects
- [ ] Aligned any UI changes with the [UI
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)

Release Notes:

- Fixed "No Apps Available" dialog when opening URIs on Linux/Wayland

Swaps the order of `open_uri_internal` function: try xdg-open first, and
only fall back to the portal if every candidate command fails.

Build Tests:
I tested the build on Arch Linux & MacOS Tahoe and there were no issues.
No error logs when opening repo links.
AmaanBilwar pushed a commit to AmaanBilwar/zed that referenced this pull request Mar 23, 2026
…/Wayland (zed-industries#49752)

Closes zed-industries#48169

Before you mark this PR as ready for review, make sure that you have:
- [ ] Added a solid test coverage and/or screenshots from doing manual
testing
- [x] Done a self-review taking into account security and performance
aspects
- [ ] Aligned any UI changes with the [UI
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)

Release Notes:

- Fixed "No Apps Available" dialog when opening URIs on Linux/Wayland

Swaps the order of `open_uri_internal` function: try xdg-open first, and
only fall back to the portal if every candidate command fails.

Build Tests:
I tested the build on Arch Linux & MacOS Tahoe and there were no issues.
No error logs when opening repo links.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement first contribution the author's first pull request to Zed. NOTE: the label application is automated via github actions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"No Apps Available" dialog appears when clicking extension GitHub links on Linux/Wayland

3 participants