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
Opens Windows File Explorer instead of browser #267
Comments
We are seeing this issue as well. |
Manually updating to 4.4.1 solved the issue for me. It's a bit unfortunate that the Debian package is still on 3.2.4. So I added the Ubuntu PPA which less than ideal, but solved the problem. |
Yes, installing from source worked here, too. |
Another dev and I are experiencing the same issue. Yet another developer reported that he can open URLs just fine. However, we noticed that the "broken" systems are using Debian on WSL2, while the working installation is running Ubuntu instead. It might help if you report which Linux distribution you are using. EDIT: Didn't read the comment by @lithammer yet. Haven't tried manually updating yet. Will report. |
We're using Debian on WSL2. |
Debian (bullseye) |
Thank you for the report. Will try to look into it this weekend. |
This is also not working on openSUSE Tumbleweed - that said, the version available on the repo there is also only 3.2.4, so I suspect this is why I have the issue as well.
|
I am using WSL with Ubuntu and the identical WSL versions as the OP and also experiencing File Explorer opening up instead of Chrome, my default browser. I do have 2 Ubuntu distributions, I will call them OG (working) and New (bug), here are the wslview versions FYI: OG version : wslu v2.3.6; wslview v06 (working like a champ) New version: wslu v3.2.4-1; wslview v10 (opening up file explorer) edit #1 I added the Ubuntu versions as well because they are different and facts and details matter. edit #2 Running these commands solved my issue as it took me to version 4.4.1 via the package manager! sudo add-apt-repository ppa:wslutilities/wslu |
I am seeing the same issue using ArchLinux. Edit: |
Sorry for late updates. As people point out, multiple packages are still using old releases. I am right now upgrading all the rest of the packages to the latest version, and currently Arch Linux is completed. I will update once the rest of them are updated. |
@karlcloudy I just notice there are problems with OpenSUSE Build Service. Please delete the old repository: sudo zypper repos #list repos and find the corresponding Alias/#
sudo zypper rr <Alias/#> And then add the new one: sudo zypper addrepo https://copr.fedorainfracloud.org/coprs/wslutilities/wslu/repo/opensuse-tumbleweed/wslutilities-wslu-opensuse-tumbleweed.repo
sudo zypper up
sudo zypper in wslu |
debian buster and bullseye completed update to wslu 4.1.1. |
I will close this for now, if you still have issue, I will re-open this |
Thanks @patrick330602! I am seeing a similar issue on 4.1.1 but it only happens for certain applications.
opens up an Explorer window instead of a browser. However,
opens up a browser as expected. When I run So it seems to have something to do with the URL that's being passed...? Or maybe a mime type issue? I haven't yet dug into the |
Maybe you can modify wslview locally and put set -x the see what wslview is
receiving
El vie, 1 dic 2023, 0:26, Eric Sirianni ***@***.***> escribió:
… Thanks @patrick330602 <https://github.com/patrick330602>! I am seeing a
similar issue on 4.1.1 but it only happens for certain applications. For
example, the gh CLI gh pr open --web opens up an explorer window instead
of a browser. When I run wslview http://github.com it works. So perhaps
it's a MIME issue and not in wslview itself? It's likely a different
problem but I'd appreciate any pointers you have on debugging this.
—
Reply to this email directly, view it on GitHub
<#267 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACACEQ7LLRMRFCUAK5GWMX3YHEIYVAVCNFSM6AAAAAAVNGSXTSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZUG4YTQMRVGA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Thanks for the suggestion! I did that and discovered that I fixed the
|
Windows Version
Windows 10
Windows Build Number
19045.2604
WSL Version
WSL 2
Distro Version
Debian (bullseye)
WSL Utilities Version
3.2.4-1 (latest from package repository)
Describe the bug
(Probably) Since the latest WSL update this week, wslview no longer opens the link in the Windows default browser, but it opens a new Windows File Explorer window on the current working directory.
Steps to Reproduce
run e.g.
wslview "https://www.google.com"
Expected behavior
I expect a new tab in Edge opening Google.
Additional context
Code of Conduct
The text was updated successfully, but these errors were encountered: