You are not logged in.
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
I have the same problem
Offline
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
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
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
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
[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
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
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
See my edit.
Offline
Just tried installing it again, enabling the service, Firefox still hangs the same way when opened through a link in Discord.
Offline
open firefox prior to clicking any links in discord to get around the issue
Offline