You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
freakboy3742 opened this issue
Apr 16, 2023
· 2 comments
· Fixed by #1877
Labels
bugA crash or error in behavior.linuxThe issue relates Linux support.macOSThe issue relates to Apple macOS support.windowsThe issue relates to Microsoft Windows support.
The text was updated successfully, but these errors were encountered:
freakboy3742
added
bug
A crash or error in behavior.
linux
The issue relates Linux support.
macOS
The issue relates to Apple macOS support.
windows
The issue relates to Microsoft Windows support.
labels
Apr 16, 2023
There may be some conceptual overlap, but this is a specific regression in the on_close handler; this functionality worked in 0.3.0. #1714 is new (albeit definitely required) functionality.
bugA crash or error in behavior.linuxThe issue relates Linux support.macOSThe issue relates to Apple macOS support.windowsThe issue relates to Microsoft Windows support.
Describe the bug
If a window is defined without an
on_close
handler, The close button (X or red button on the window frame) cannot be used to close the windowSteps to reproduce
windows
exampleThe window should, but will not close. There are no errors or log messages.
Programmatically invoking
window.close()
does work.Expected behavior
The window should close.
Screenshots
No response
Environment
Logs
No response
Additional context
As a workaround, adding
on_close=lambda w: True
to the window will allow it to close.This is likely caused by 0d9d43a from #1833.
The text was updated successfully, but these errors were encountered: