Dialog windows are not modal #2446
Labels
bug
A crash or error in behavior.
good first issue
Is this your first time contributing? This could be a good place to start!
linux
The issue relates Linux support.
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: