You are not logged in.

#1 2022-06-15 18:50:34

circl
Member
Registered: 2022-06-15
Posts: 3

Clicking a link in Discord results in Firefox softlock`

When Firefox is closed, and I click on a link in Discord (I have xdg-utils installed), Firefox opens and plays the loading animation, however is unresponsive to any button presses, never loads it, and can only be force quit. Does anyone know what is happening?

Offline

#2 2022-06-18 14:50:32

rk42745417
Member
Registered: 2021-08-14
Posts: 2

Re: Clicking a link in Discord results in Firefox softlock`

I have the same problem

Offline

#3 2022-07-03 15:14:17

clements
Member
Registered: 2015-05-24
Posts: 14

Re: Clicking a link in Discord results in Firefox softlock`

I'm also encountering that exact same problem, running dwm as my window manager.

I can confirm this only happens if Firefox is closed when clicking a link in Discord.

I tried searching into Firefox logs but without any success.
This issue is fairly recent, started happening a few weeks ago I think.

Offline

#4 2022-07-04 08:48:39

icar
Member
From: Catalunya
Registered: 2020-07-31
Posts: 452

Re: Clicking a link in Discord results in Firefox softlock`

Can you try launching Firefox with MOZ_DBUS_REMOTE=1 ? The same symptoms happened some months ago when an Xwayland app tried to open a link in Firefox.

Offline

#5 2022-07-04 16:30:26

clements
Member
Registered: 2015-05-24
Posts: 14

Re: Clicking a link in Discord results in Firefox softlock`

icar wrote:

Can you try launching Firefox with MOZ_DBUS_REMOTE=1 ? The same symptoms happened some months ago when an Xwayland app tried to open a link in Firefox.

Just tried this, the issue still occurs with MOZ_DBUS_REMOTE=1

Offline

#6 2022-07-04 17:12:48

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,740

Re: Clicking a link in Discord results in Firefox softlock`

You need a valid dbus session and a xdg-portal implementation for this to work properly. What are your outputs for

echo $DBUS_SESSION:BUS_ADDRESS
pacman -Qs xdg-desktop

Offline

#7 2022-07-06 15:49:15

clements
Member
Registered: 2015-05-24
Posts: 14

Re: Clicking a link in Discord results in Firefox softlock`

[clements@nurupo ~]$ echo $DBUS_SESSION_BUS_ADDRESS
unix:path=/run/user/1000/bus
[clements@nurupo ~]$ pacman -Qs xdg-desktop
[clements@nurupo ~]$ pacman -Qs xdg-utils
local/xdg-utils 1.1.3+21+g1a58bc2-1

I don't seem to have xdg-desktop installed, but the discord package only seem to rely on xdg-utils, which I do indeed have.
Installing xdg-desktop doesn't solve the issue.

Also, trying to open a link using xdg-open in the terminal doesn't produce the issue.

Last edited by clements (2022-07-06 15:50:42)

Offline

#8 2022-07-06 15:50:27

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,740

Re: Clicking a link in Discord results in Firefox softlock`

you need an actual implementation, e.g. xdg-desktop-portal-gtk and enable it with

systemctl --user enable xdg-desktop-portal-gtk.service --now

Last edited by V1del (2022-07-06 15:52:58)

Offline

#9 2022-07-06 15:51:29

clements
Member
Registered: 2015-05-24
Posts: 14

Re: Clicking a link in Discord results in Firefox softlock`

V1del wrote:

you need an actual implementation, e.g. xdg-desktop-portal-gtk

Yes, I did install the implementation too when I installed xdg-desktop to try out.

Offline

#10 2022-07-06 15:53:49

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,740

Re: Clicking a link in Discord results in Firefox softlock`

See my edit.

Offline

#11 2022-07-06 15:59:16

clements
Member
Registered: 2015-05-24
Posts: 14

Re: Clicking a link in Discord results in Firefox softlock`

Just tried installing it again, enabling the service, Firefox still hangs the same way when opened through a link in Discord.

Offline

#12 2022-07-07 00:22:02

stanna
Member
From: melb.au
Registered: 2017-03-24
Posts: 99

Re: Clicking a link in Discord results in Firefox softlock`

open firefox prior to clicking any links in discord to get around the issue smile

Offline

Board footer

Powered by FluxBB