linux: xdg-open does not open url
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- linux
- Domain
- desktop, operating-systems
Research direction
Reproduce the failure in Warp on Ubuntu 23.10 using a GNOME Wayland session and the xdg-open http://example.org command. Compare the behavior with gnome-terminal or terminator, then trace the Warp terminal entry point handling the command; done means the browser opens without repeated compositor warnings or a CPU spike.
Written by the indexing model from the issue text.
Description
Discord username (optional)
No response
Describe the bug
Any command that seems to use xdg-open to launch a browser from the terminal interface seems to be broken. Examples include things like az login for azure-cli and aws sso login for AWS CLI. You can also trigger the issue by using xdg-open directly to launch a command.
To reproduce
Open warp terminal, enter
xdg-open http://example.org
Observe that no browser window launches and the output spawns with a seemingly infinite stream of
"Warning: ConnectToCompositor() try again : Connection refused" lines. I see no other errors or information. CPU also seems to spike, but maybe that's just from warp processing a huge number of lines in the output.
Since the compositor is mentioned, perhaps this issue is only on wayland? I'm using Ubuntu mantic with a gnome-wayland or ubuntu-wayland session.
Note that the error does not appear and the browser launches correctly in gnome-terminal, terminator, etc.
Expected behavior
A browser window should open at example.org
Screenshots
No response
Operating system
Linux
Operating system and version
Ubuntu 23.10
Shell Version
5.2.15(1)
Current Warp version
v0.2024.03.05.08.02.stable_00
Regression
No, this bug or issue has existed throughout my experience using Warp
Recent working Warp date
No response
Additional context
Ubuntu linux with gnome-wayland session
Does this block you from using Warp daily?
Yes, this issue prevents me from using Warp daily.
Is this a Warp specific issue? (i.e. does it happen in Terminal, iTerm, Kitty, etc.)
Yes, this I confirmed this only happens in Warp, not other terminals.
Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e
None
- Dominant language
- Rust
- Stars
- 65.1k
- Forks
- 5.6k
- PR merge metrics
- PR metrics pending
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from warpdotdev/warp
-
area:agent area:window-tabs-panes enhancement needs-info os:mac repro:high triaged
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
warpdotdev/warp#15768 · 3 comments · 1 reaction ·
-
bug factory-auto-implement factory:revops-factory os:mac ready-to-implement repro:high triaged warp:auto-triage-review
Difficulty 1/5 Under an hour Newbie friendliness 90/100
warpdotdev/warp#15697 · 2 comments ·
-
area:editor-notebooks bug repro:high triaged warp:auto-triage-review warp:tracking
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
warpdotdev/warp#13949 · 3 comments ·
-
markdown_parser: unclosed `<u>` markers pair via the emphasis algorithm and delete surrounding text Openarea:editor-notebooks bug ready-to-implement repro:high triaged warp:auto-triage-review
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
warpdotdev/warp#12863 · 2 comments ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
warpdotdev/warp#11969 · 2 comments ·
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
kwakseongjae/auto-hwp#319 ·
-
area:cli bug filter-quality good first issue priority:medium
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
bevyengine/bevy#25861 ·
-
comp-datalake
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/ClickHouse#121222 ·
-
enhancement remote
Difficulty 2/5 1-3 hours Newbie friendliness 68/100