Open icsos opened 1 week ago
Works normally on macOS. Can any Windows user test this and report?
Also, @icsos, does this issue happen occasionally or always.
same on Windows 11 and 0.24
Works normally on macOS. Can any Windows user test this and report?
Also, @icsos, does this issue happen occasionally or always.
tested on Windows 11, it happens always (about 5~6 seconds to quit). I use below ugly way to prevent this:
#page.window.destroy()
page.close(confirm_dialog)
page.window.prevent_close = False
page.window.close()
Hello,
In my Linux (Mint 22 , Cinamon 6.2.9) with v.024.1 closes acceptable (about 1.5 seconds), but appears a Warning Message:
Works normally on macOS. Can any Windows user test this and report? Also, @icsos, does this issue happen occasionally or always.
tested on Windows 11, it happens always (about 5~6 seconds to quit). I use below ugly way to prevent this:
#page.window.destroy() page.close(confirm_dialog) page.window.prevent_close = False page.window.close()
Hello,
Just now, tested on Windows 11 x64 (completly updated) with last Flet version (v.0.24.1).
It has been enhanced. At least for me. It takes about 1.5 seconds to close (acceptable) without errors.
Thanks. Best regards.
Works normally on macOS. Can any Windows user test this and report?
Also, @icsos, does this issue happen occasionally or always.
Hello,
Just now tested with v.024.1 on MacOS updated (Sonoma 14.6.1 - Intel Processor).
The app closes perfectly and fast. (faster than Windows. 0 seconds :)
Thanks. Best regards
Just now, tested on Windows 11 x64 (completly updated) with last Flet version (v.0.24.1). It has been enhanced. At least for me.
@icsos @lixxu, please upgrade your Flet version an retry.
tried and takes longer time... updated: tried many times, and it will take about 10s to quit.
Duplicate Check
Describe the bug
In the official code, when I click 'yes' to close the program, it takes 3-5 seconds.
Code sample
https://flet.dev/docs/controls/page/#window_destroy
To reproduce
Expected behavior
No response
Screenshots / Videos
Captures
[Upload media here]Operating System
Windows
Operating system details
Windows 10
Flet version
0.24.0
Regression
No, it isn't
Suggestions
No response
Logs
Logs
```console [Paste your logs here] ```Additional details
No response