-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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] Closing windows does not emit WindowEvent::Destroyed #3688
Labels
Comments
UserVeryUnknown
changed the title
[bug] Closing windows do not emit WindowEvent::Destroyed
[bug] Closing windows does not emit WindowEvent::Destroyed
Mar 12, 2022
First step for the fix: tauri-apps/tao#349 I'll open the Tauri PR in a bit. |
lucasfernog
added a commit
that referenced
this issue
Mar 25, 2022
Also tauri-apps/tao#350 is needed for this. |
@lucasfernog : I just built against the rc5 and I still have the same issue! |
My bad I just found the regression. Fixing it atm. |
Fixed on rc.6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
In a previous version a secondary window that I created emited the WindowEvent::Destroyed event when closed. I just upgraded to 1.0.0-rc.4 and here the event seems not being emitted.
Reproduction
https://github.com/UserVeryUnknown/test-tauri-2win
The application consists of a main window with a button to open a second window. Once it is open there are 2 ways closing the 2nd window, either by the button on the 1st window or clicking the X on the 2nd window. Both do not trigger the event handler. But e.g. moving the windows does (so the event handler is working).
Expected behavior
When closing the window the WindowEvent::Destroyed should be emitted.
Platform and versions
Stack trace
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: