-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
Dialogs (such as messagebox) block async mainloop #39
Comments
Thank you for this libraray: My solution was to turn things around. We start tkinter and register callback 1ms later.
Proof of concept: |
@ra1u interesting, I'll take a look later |
@insolor Any updates on this? |
@ghmanoj this is probably a similar problem, but not the same one. In your case, if you need a non-stopping async function try to run the function in a separate thread, it should help (it won't help with dialogs though). |
If i recall correctly there is "bug" in MS Windows tkinter, that when you drag window around holding top menu bar, there is 100% cpu utilisation, because Windows is sending lot notifications on tkinter. Workaround is, that you replace default top bar, with tkinter widget including custom bar and custom X button on right. |
In the following code (pure tkinter) counter continues to work while messagebox dialog is shown:
But with the corresponding code with
async_tkinter_loop
counter is paused when messagebox is shown:The text was updated successfully, but these errors were encountered: