-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
App window is brought to foreground whenever Context::request_repaint
is called
#3620
Comments
Context::request_repaint
is calledContext::request_repaint
is called
Thanks for the report! I cannot reproduce on Mac, so I suspect this is a bug specific to Linux/Wayland. Is this a new bug for 0.24? Does it still happen if you use the Does it only happen when waking from a background thread, or does it happen with |
I can confirm that this bug is new in 0.24 and happens also on Linux without using Wayland. I use |
Yes.
If I try to build with the
[edit] I don't know why |
Very weird, but should be fixed with |
Can't reproduce on hyprland after applying fix for #3628, this might be a duplicate. Could you try disabling x11 feature and trying again? |
Added by @konkitoman in #3172 I'm not sure what the hack is supposed to solve, but calling it every frame is a bad idea, as @ItsEthra reported in #3628 (comment) * Closes #3620 * Closes #3628
Potential fix: #3643 |
#3643 fixes the issue for me. |
This was caused by a hack added by @konkitoman in #3172 The solution was reported by @ItsEthra in #3628 (comment) * Closes #3620 * Closes #3628
egui version 0.24.0
Describe the bug
In addition to what the title says, even without calling
Context::request_repaint
, the window remains on top when I switch to another app.To Reproduce
Context::request_repaint
every second.Even if
Context::request_repaint
is not deliberately called, moving your mouse over any exposed part of the window will bring it to the front.Expected behavior
Context::request_repaint
should not effect the desktop window order.Desktop
testy.zip
The text was updated successfully, but these errors were encountered: