-
-
Notifications
You must be signed in to change notification settings - Fork 21.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
Editor window title is flickering when using popups/menu with single window mode off (DisplayServer regression) #53187
Comments
Is this still reproducible in the current |
Yes, unfortunately |
Popup windows are set to grab focus, since focus change is used to auto hide it when parent is refocused. There's a window flag to prevent popups from taking focus, but auto hide behavior should be completely redesigned to make it work. I guess we probably should use any mouse press event from the parent to trigger auto hide instead. |
Seems like this will be pretty hard to fix, non-focusable windows behave differently on different platforms.
It might require some sort of global input event handling for the popups to work and be non-focusable. |
This still happens in 3b3916f. On Windows, it's not only the title flickering, but the menu also spawns a taskbar window: |
I have been working on this, and as I suspected it won't be easy to fix, but I think I have an outline for a solution.
|
Godot version
Master branch (84b11fb)
System information
Windows10 , Linux Ubuntu 21.04
Issue description
The main editor window loose focus when using menus or popup in multi window mode.
That cause the title flickering between faded state and normal state which is particulary visible using the main editor menu.
May be related to #44997
Steps to reproduce
Use main editor menu when single window mode is disabled in editor properties as in the gif below.
Minimal reproduction project
Not needed.
The text was updated successfully, but these errors were encountered: