-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
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
always_on_top
breaks non-embedded popups
#62382
Comments
cc @Sauermann you may be interested in this. |
PowerToys Godot_v4.2-rc1_win64_r0VTuBiaEq.mp4 |
I was taking a look at this issue last night, and while I wasn't able to come up with a clean fix, here are a few things I've learned that might be helpful to know. First off, all the previously mentioned issues are still current, and can be consistently reproduced on current master. Here's a reference for the hierarchy trees below, so that we're on the same page as to which windows I'm referring to. The red arrow represents the drawing order, and the black lines are the parent-child relationships between each window. I use the setup from OP in my example, but the bug mentioned in one of the comments above happens for the exact same reason. Using the default settings, the windows are drawn according to their hierarchy, and siblings in the order they were created. For this setup, the result is very straightforward: When When When One thing I've attempted that looked somewhat promising, was to set Line 1811 in 655e93d
changed to
I don't believe this is the way to go at all, but it's how far I've gotten for now. Perhaps, forcing the parent Contextual popups are used everywhere in Godot, it's very important for them to be transient, some of this stuff is potentially OS specific and I'm not sure what the correct approach to the problem is. Would love to hear your thoughts and ideas. |
Seems fixed in 4.3. |
Seems it not fixed in 4.3 rc2. |
Yeah it's not fixed. I probably didn't test enough, sorry. |
Any reason this was postponed to 4.x? This is a pretty serious issue. |
Moving the issue from 4.3 to 4.x was just a way to let people know, that this issue was not resolved during 4.3, so it was just a "documentation"-update. Godot is a community-driven project, where most bugfixes and enhancements are created by volunteers who try to improve the engine in their spare time. There is no way to guess, when someone from the community finds a way to fix this specific issue. |
Note that the issue originally had 4.1 milestone. If the milestone is only going to be bumped with every release, there is no reason for assigning specific one. |
I once thought a milestone meant the Godot Officials considered it needed to be done before the associated version; thanks for the explanation. Why not just remove the milestone in this case? Many Issues don't have one anyway. |
This mostly applies to recent regressions. If e.g. there is a new bug introduced in 4.4, it will get regression label and 4.4 milestone, with the intention that it's going to be fixed soon (and it mostly is). Recent regressions are also easier to fix, because it's easy to identify what exactly caused them and the original contributor is usually available to fix it. For older issues though, the milestones were assigned more arbitrarily and we had many cases where they were just bumped with each release. This particular issue is likely as old as DisplayServer changes in Godot 4.0 and is missing someone who would be able to investigate and fix it. |
Reproducible on macOS as well. |
Godot version
307dfa9
System information
Windows 10 x64
Issue description
I guess sub-windows should inherit the
always_on_top
flag.Steps to reproduce
always_on_top
in project settingsembed_subwindows
Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered: