-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
Make dialogs exclusive by default, fixes #37732 #39993
Conversation
Also fix on set_visible, not creating exclusive children as it should.
Thanks! |
Dialogs work great again now thanks |
This causes a regression with single-window mode, none of the windows (nor the editor in the background) are clickable. The editor isn't frozen, it still updates when resized, but it no longer accepts user input. This is what happens when I open the editor settings to try and disable single window mode (and then I resized the window so you can see it's not frozen). For the moment it seems like I'm in a chicken-and-egg problem unless I delete my editor settings file. |
Confirming - opening any dialogs on Fedora causes Editor basically to stop receiving any input :( |
@@ -44,6 +44,7 @@ class LineEdit; | |||
class AcceptDialog : public Window { | |||
GDCLASS(AcceptDialog, Window); | |||
|
|||
public: |
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.
@reduz Why was this changed BTW? It doesn't seem necessary.
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.
Confirmed on IRC that this was a mistake, fixing in #40016.
Also fix on set_visible, not creating exclusive children as it should.
The idea is that if you open a transient dialog (a dialog that is spawned from a parent window) by default you are not allowed to do changes in the parent window until this dialog is closed. Likewise, the dialog will not close if you focus in/out as it is now an exclusive dialog.
Bugsquad edit: Fixes #37732. Also fixes #37731 and fixes #37710