You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dialogs that are "modal" (meaning they disable access to their parent window using grab_set()) cause the whole app to minimize and enter a state that cannot be gotten out of other than by forcibly killing the app. This appears to be a Python bug that was reported in 2016 (https://bugs.python.org/issue26340). That bug report was closed without a fix and without a good explanation.
There really isn't a good fix. Fortunately, there is no good reason to minimize such dialogs, so this won't be encountered often (it took me four years to encounter it for the first time).
Just to be a bit more user-friendly, a warning dialog should be generated where possible that tells the user that minimization is not supported. Unfortunately, this is just a "last gasp" before the application crashes. This is not possible for some of the simple dialogs.
The text was updated successfully, but these errors were encountered:
This "fix" just catches the minimization event and puts up an error dialog that explains the problem and that the app will probably crash as soon as it is closed. This is only for dialogs that are based on the "Dialog" class, such as the Preferences dialog and the help dialogs. The hope is that this will at least let the user know that they should not attempt to minimize dialogs. It would have been nice to just not have a minimize button on dialogs, but that doesn't appear to be possbile.
Back off previous "fix" for issue #101 which completely broke the tabs in the Preferences dialog.
This one actually fixes the problem - almost. It turns out that removing the call to the resizable() method makes the problem disappear. By default tk.Toplevel widgets are resizable, so we just need to find a differen way to make non-resizable dialogs. This is done by setting both the minimum and maximum size to the current size.
Unfortunately, this solution has problems with the standalone version of the simulator dialog. But it works ok for the simulator dialog running under the IVS2 GUI.
Dialogs that are "modal" (meaning they disable access to their parent window using grab_set()) cause the whole app to minimize and enter a state that cannot be gotten out of other than by forcibly killing the app. This appears to be a Python bug that was reported in 2016 (https://bugs.python.org/issue26340). That bug report was closed without a fix and without a good explanation.
There really isn't a good fix. Fortunately, there is no good reason to minimize such dialogs, so this won't be encountered often (it took me four years to encounter it for the first time).
Just to be a bit more user-friendly, a warning dialog should be generated where possible that tells the user that minimization is not supported. Unfortunately, this is just a "last gasp" before the application crashes. This is not possible for some of the simple dialogs.
The text was updated successfully, but these errors were encountered: