-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Problems with discord #7435
Comments
what kind of discord are you using? |
Vencord |
This is happening because Discord is an XWayland client and Hyprland doesn't appear to be sending keyboard leave events to XWayland clients. Discord thinks it still has focus so it doesn't raise any notifications. You can see this because the blinking cursor in Discord remains even when the window doesn't have focus. A workaround is to make Discord use Wayland by starting it with The same thing occurs with Slack, and the workaround is the same for that too. |
if you know why that happens feel free to make a MR, I thought we do, but I am pretty sure the issue has existed for as long as hyprland was around. |
I noticed that when the program in another workspace drops fps to 1 I think this may be the problem, when the discord window on the other screen everything is ok |
sometimes I get kicked out of voice and have to go back to workspace with discord |
Offtop |
It's the same issue I reported here #6468, and it's not just the keyboard. Try hovering on a link/object in discord then moving focus to a Wayland window with the keyboard. This bug unfortunately means that if Discord is your only XWayland application getting desktop notifications is impossible, because it is always focused. The inability to get Discord and/or idle game notifications is a daily problem for me. I try to remember to reset focus to an XWayland window without alerts (I use Brave for it) as often as possible. |
This issue still occurs for me, and it's not XWayland as Discord is not running in XWayland: I receive notifications when Discord is unfocused, just not from whatever channel happens to be open in the unfocused Discord window, leading me to believe that the issue is due to Discord incorrectly believing it is focused. I do not have this issue with Slack. |
I think to get the discord client to work properly need to disable optimization when it is in a different workspace. And I still have this problem btw |
Regression?
No
System Info and Version
System/Version info
Description
When the discord window is in another workspace sometimes notifications don't come and voice may not work, everything works if close discord and it will be in the tray
How to reproduce
put the discord window in another workspace and wait
Crash reports, logs, images, videos
No response
The text was updated successfully, but these errors were encountered: