-
-
Notifications
You must be signed in to change notification settings - Fork 898
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 |
i don't know if it's related but I'm using Vesktop client and I've set it to open up with Super + D and from Vesktop settings I've set it up to close it to tray when i Alt + F4, my problem is that after it goes back to tray and when i open up Vesktop again with Super + D, the autofocus doesn't work and i have to move my mouse to focus on it again which is kinda frustrating because my hands have to leave the keyboard. All my other apps get focused correctly depending on the position of the mouse when i open them. I think closing it to tray is causing the issue. I'm on Hyprland 0.42.0 |
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. |
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: