-
-
Notifications
You must be signed in to change notification settings - Fork 897
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
xwayland: deactivate xwayland focus if wayland is focused #7458
Conversation
Should fix #7435 |
My discord works natively in wayland |
Forgot to mention that this also fixes other things like going from some games on XWayland to a Wayland window causes chat input to stop working. |
Ah, thought it might have been what one comment was talking about, as it fixes that issue, apologies! |
this part has been a dangerous place. I need prusa-slicer tested - notorious for not working with popups when something is off |
Understandable that something like this would want to be tested a bunch. Been using it for the past day and I can only see minor fixes on my side. Any specific things you want me to run through to test? |
see the second line of my message |
Ah, I didn't realize prusa-slicer was a program name so I misunderstood. Downloaded I can try to work on bisecting that crash as well but it seems unrelated to any issues with the commit itself. |
Ignore above, issues with Wayland for prusa-slicer are already known. See prusa3d/PrusaSlicer#12246 Prusa-slicer behaves as normal with no bugs in popups and menus using solution found here: prusa3d/PrusaSlicer#12867 @vaxerski ping if you needed as testing went fine |
can you ping me tomorrow evening, I'll do some testing |
regresses #6616 with bambustudio launch bambustudio go to preview click any dropdown, it instantly closes the reason is that you send an unfocus event to bambu incorrectly |
Hmm, ok I'll look into it and create a better fix then. Couldn't find those issues when I searched on GitHub :/ |
even I get lost in the tracker, don't worry |
Should behave like normal now, and only remove focus if going from xwayland -> wayland. Side note: Testing using bambustudio crashes Hyprland if I mess with it too much (like around 5 pop-up clicks). Getting this while testing with -git and these commits. Is this a known thing, just due to my hardware that I gotta figure out, or unknown? |
I've never had that, can you get a debug stacktrace? https://wiki.hyprland.org/Crashes-and-Bugs/#obtaining-a-debug-stacktrace |
Sure, I'm going to go ahead and open an issue for it though, since its off topic |
Issue moved to #7506 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks!
Describe your PR, what does it fix/add?
When going from XWayland -> Wayland the window doesn't actually unfocus until you activate another XWayland window. This removes the focus so the last XWayland window doesn't think its still focused.
Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)
Nope
Is it ready for merging, or does it need work?
Ready for merging