-
Notifications
You must be signed in to change notification settings - Fork 352
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
Messagebox
minimizes window automatically on Linux
#236
Comments
@demberto, the Because you've set You can also show the messagebox without specifying a parent if you wish. |
I see what you mean, this code is what I ran in IDLE which has a slightly different behaviour with tkinter. |
As mentioned, the behavior is weird on Linux. The window gets minimized, and you have to open the window again before the messagebox appear. This does not occur in Windows. Setting Note that the Window / TopLevel set as parent get minimized. I suspect that in Linux version, somehow the parent get |
In
If I set If I comment out Minimal working example:
|
Mystery solved. If
Linux uses x11 display system. The Window/Toplevel was iconified before setting alpha, which causes It seems like the visbility check is introduced by 2abfeb4 in response to #108 so removing that check is not an option. I propose setting |
Desktop (please complete the following information):
ttkbootstrap: 1.7.1
OS: Lubuntu 20.04 64-bit
Describe the bug
Raising a
Messagebox
through one of its methods, automatically minimizes the parent/root window as well as itself. This behaviour is not exhibited on Windows.To Reproduce
Expected behavior
It shouldn't minimize itself or the window.
Screenshots
No response
Additional context
tkinter
's ownshow_error
method doesn't cause this.The text was updated successfully, but these errors were encountered: