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
Tkinter resize/Configure event error #586
Comments
I looked into this recently and it seems to be caused by Panda sharing a message loop with Tkinter, but Tkinter assuming that its WinProc will only be invoked from its own message loop. I'm not exactly sure how to solve this yet. Maybe Panda needs to ignore events in the message loop that don't match its own windows, or we need a setting for renderFrame not to release the GIL, or something like that. |
@rdb On python 3.7 and panda 1.10 I have errors like this:
|
Hi, i am having the same problem but not when resizing. it happens in regular clicks as well. |
@kostasmarkakis |
@sheetcode |
I decided to just do a hacky fix, since there may be no clean fix possible without risking side-effects in 1.10.5. Panda will now disable its own message pump entirely when Tk support is enabled, since Tcl's own main loop will happily handle Panda's events (but not vice versa). A variable |
I'm getting error when I'm trying resize tkinter window, where panda exists:
Panda 1.10.2
python 2.7
Config.prc : want-tk #t
Here is standalone example app:
The text was updated successfully, but these errors were encountered: