-
Notifications
You must be signed in to change notification settings - Fork 411
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
On windows, mass import modal window is not closed upon import completion #281
Comments
This happens with any ProgressDialog issue. I believe I also was having compatibility issues with getting ride of it, which is why I went with Hide(). I think Destroy() didn't work on either Windows or Linux. I don't remember... |
This seems to be a problem that has been noted with people using a thread to callback to the progress dialog to update (such as we're doing here). I'll continue to look into it, but we might just use one or the other depending on platform. I have no idea how OS X handles it either... |
https://groups.google.com/forum/#!topic/wxpython-users/dCuyi7pH9io If these go to dead ends, I think we'll just switch off between Destroy and Hide depending on platform cause fuck it |
Went ahead and made the commit. Haven't tested it on os x yet, though I assume it will work just as well EDIT: Tested on OS X, works, but it's doing some funky things, see #306 |
Windows 8.1 x64
wxPython 3.0.2.0
I tracked it down to following code: https://github.com/DarkFenX/Pyfa/blob/wx3/gui/mainFrame.py#L587
Hide() doesn't work on windows for some reason. I tried alternative functions (like Show(False)) and making window non-modal before closing, neither worked. Works as expected on linux. Might be some wx3 bug.
This example doesn't work on linux, on both wx2.8 and wx3.0.1. Maybe i am not grasping concept of how wx should work.
The text was updated successfully, but these errors were encountered: