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
Describe the bug
If we enable the Cancel arg in the Closing event, Avalonia is ignoring it and the application closes.
It only happens in 0.10.999-cibuild0017786-beta version
Window is not closing, but whole app is shutting down. It's a special behavior of macos, which doesn't even tried to close windows at this point.
If you need to cancel app shutting down - there is ShutdownRequested event.
Although as I see from other ticket, there is a problem too #7389
Is this a new behavior that changed on purpose? Since versions equal and below 0.10.11 do not have that behavior, and allowed to cancel closing at this point.
Describe the bug
If we enable the
Cancel
arg in theClosing
event, Avalonia is ignoring it and the application closes.It only happens in
0.10.999-cibuild0017786-beta
versionTo Reproduce
Steps to reproduce the behavior:
Expected behavior
The application should not close, since we are explicitly canceling the close.
Screenshots
We are canceling the close event but it seems not having effect
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: