waveterm icon indicating copy to clipboard operation
waveterm copied to clipboard

[Bug]: Some links get opened in the text editor

Open tab0r opened this issue 10 months ago • 0 comments

Current Behavior

When I run some commands that are supposed to open my browser, my text editor opens, sometimes with odd HTML content. The text editor then often freezes.

The most common one I'm using is gcloud auth login, which is supposed to direct the user to a browser UI to select/confirm accounts. With this one in particular, I have to return to the terminal and ctrl + click the link.

When commands produce URLs but don't auto-open, I can ctrl + click on them. Firefox then opens the URL with no issue.

On Ubuntu 24.04, installed very recently with minimal customization.

Expected Behavior

Either not opening the browser at all and just printing the URL, or actually open the browser.

Steps To Reproduce

  1. setup Google Cloud CLI
  2. run a command that should open a URL in the browser (like gcloud auth login)

Wave Version

v0.11.2

Platform

Linux

OS Version/Distribution

Ubuntu 24.04

Architecture

arm64

Anything else?

Image

Image

Questionnaire

  • [ ] I'm interested in fixing this myself but don't know where to start
  • [ ] I would like to fix and I have a solution
  • [ ] I don't have time to fix this right now, but maybe later

tab0r avatar Apr 17 '25 16:04 tab0r