-
Notifications
You must be signed in to change notification settings - Fork 55
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
Bug report: Exception when closing a workbench with status bar #1217
Comments
A crude way to get rid of the error is by removing pyface/pyface/i_application_window.py Lines 132 to 133 in 85fd544
added in #1141. I suspect this is not the correct solution though, and #1141 simply exposed the underlying issue. |
Possibly related to this recent PR: #1192 |
Directly reverting #1192 (and passing Also note: I've noticed this particular repro doesn't produce an error on Linux, but have seen the same error in a more complex application. If desired, I can try and find a version that fails on both platforms. |
I have a hypothesis that this is because the status bar is not being removed from the owning window before it is destroyed. |
Environment
OS: Windows
Python version: 3.10
Toolkit: Wx
Description
When creating a
Workbench
with astatus_bar
, the following exception is raised when closing the window:Steps to Reproduce
Run the following script (adapted and minimized from the
workbench
example):Close the application
Other observations
The exception does not occur if the window tab (
fred
) is closed before closing the Application.Changing the toolkit to
'qt'
also makes the exception disappear.The text was updated successfully, but these errors were encountered: