-
-
Notifications
You must be signed in to change notification settings - Fork 653
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
Dialog windows are not modal #2446
Comments
Thanks for the report. Looks like this might have been an oversight when we modified the dialog implementation to make it testable. It looks like adding |
I also just noticed the close button in the default About dialog has no effect (aka not closing the dialog). |
Describe the bug
Create a dialog like this:
You can now click on the main window behind the dialog and the main window is activated although the dialog is still floating above the window. This allows the dialog to be shown again or other actions to be triggered although the user should be blocked in the dialog.
Either change the behavior of dialogs to be modal or add a "modal={True|False}" property to "info_dialog" (and all similar functions) to enforce this.
Steps to reproduce
Expected behavior
Main window can not be activated (dialog keeps focus)
Screenshots
No response
Environment
Linux (GenToo). Toga in virtual environment.
Logs
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: