zen-browser / desktop

🌀 Experience tranquillity while browsing the web without people tracking you!
https://zen-browser.app
Mozilla Public License 2.0
12.53k stars 295 forks source link

KDE Plasma 6: Setting Default Web browser to Zen Browser doesn't work #919

Open lts20050703 opened 2 weeks ago

lts20050703 commented 2 weeks ago

What happened?

Setting Default Web browser to Zen Browser doesn't work, as in for example ctrl+click a link on Discord or Visual Studio Code doens't open Zen Browser or if Zen Browser is already opened, it doesn't open a new tab and navigating to that link.

The way that I set the default web browser: Open start menu, search system settings, launch it, search for default applications, click default applications, click the drop down menu next to web browser, change it to Zen Browser

Neither firefox nor Brave Browser has this issue.

Operating System: KDE neon 6.0 KDE Plasma Version: 6.1.4 KDE Frameworks Version: 6.5.0 Qt Version: 6.7.2 Kernel Version: 6.8.0-40-generic (64-bit) Graphics Platform: Wayland

Reproducible?

Version

1.0.0-a.29 (64-bit)

Severity impact

Low

What platform are you seeing the problem on?

Linux

Relevant log output

No response

zakius commented 2 weeks ago

from my experience it didn't work with AppImage but did with Flatpack on the other hand Flatpack won't install themes and it can't open the profile directory from about:support as that directory is dynamically remapped

I tested on Fedora though, not Debianlike

lts20050703 commented 2 weeks ago

I'm using Flatpak, though

itstamimi commented 2 weeks ago

I tried it on neon latest and flatpak zen, it works fine as a default browser when you click on any link. Go to the settings and change it to zen

Screenshot_20240827_211101

itstamimi commented 2 weeks ago

from my experience it didn't work with AppImage but did with Flatpack on the other hand Flatpack won't install themes and it can't open the profile directory from about:support as that directory is dynamically remapped

I tested on Fedora though, not Debianlike

Flatpak works perfectly in neon, themes, about:support, and everything

DorianMaliszewski commented 2 weeks ago

Same it works perfectly installed through flatpak

lts20050703 commented 2 weeks ago

I have updated to 1.0.0-a.32 (64-bit) (I use flatpak) and the issue still persist.

Ctrl+click link in Konsole works. But for some reason clicking links in Discord and ctrl+click links in VSCodium doesn't work.

Can anyone check/confirm if you can open links in Discord and/or VSCodium?

Like I said in the description, setting default browser to Firefox and clicking links in Discord and ctrl+click links in VSCodium will open Firefox. Same for Brave Browser.

Strangely, I tried to run update-alternatives --config x-www-browser and Zen Browser doesn't show up? My alternative list only show brave browser and firefox.

bcournaud commented 1 week ago

TL;DR: I updated to the latest Ubuntu version (Ubuntu 24.04.1 LTS) and it fixed the issue.

Clicking on links did nothing (tried from Slack and Obsidian). Zen was not showing when running update-alternatives --config x-www-browser.

I tried a bunch of solutions:

I ended up creating a new Ubuntu user to see if it was working for it and it was (just by selecting Zen as the default browser in the operating system options). I then had a popup asking me to update to the latest Ubuntu LTS which I did (I must have closed this popup on my real session and forget about it). When I logged in with my real user it was working. I don't know exactly what did the trick.

ItsLaguna commented 1 week ago

Same issue here using Bazzite 40 KDE, using AppImage on version 1.0.0-a.32 (64bit)

Basically everytime I close and open the browser I have to set it as default, doesn´t open any link from Discord but does from Terminal as someone mentioned before... however, if I close Zen and try to open it using xdg-open <website> it throws this error:

Screenshot_20240903_223933

Edit: now it has randomly started working, Zen says it's not the default browser but works as such funnily enough.