getsolus / packages

Solus Package Monorepo & Issue Tracker
54 stars 68 forks source link

Discord crash when minimize in task bar (gnome) #1278

Closed camini closed 6 months ago

camini commented 6 months ago

Summary

My discord has crashed many time when i minimize it to task bar in Gnome.

Steps to reproduce

Open Discord on gnome close it, so it only appear in appindicator. try to open it from the appindicator Discrod crash.

Expected result

don't crash

Actual result

It crash many time

Environment

Repo

Shannon (stable)

Desktop Environment

GNOME

System details

*

Other comments

No response

joebonrichie commented 6 months ago

I can produce this in the gnome Wayland session but not the x11 one. Seems to be some sort of problem with the appindicator extension.

joebonrichie commented 6 months ago

Upstream issue: https://github.com/ubuntu/gnome-shell-extension-appindicator/issues/445

camini commented 6 months ago

don't have this issue on my gentoo/gnome45.2 wayland and appindicator.

joebonrichie commented 6 months ago

It's because we run discord under wayland if supported rather than xwayland with:

/usr/share/discord/Discord --enable-features=WaylandWindowDecorations --ozone-platform-hint=auto

if you just run discord from the terminal normally the issue goes away?

camini commented 6 months ago

yes , no crash when i just run discord with the terminal

joebonrichie commented 6 months ago

@ReillyBrogan is there any issue with reverting to xwayland for discord on plasma wayland?

ReillyBrogan commented 6 months ago

After the next sync you can set the DISCORD_NO_WAYLAND environmental variable and it will launch in xwayland.

Neo-29 commented 6 months ago

After the next sync you can set the DISCORD_NO_WAYLAND environmental variable and it will launch in xwayland.

How to do so?

ReillyBrogan commented 6 months ago

If you use bash as your default shell you can add export DISCORD_NO_WAYLAND=1 to your ~/.bashrc