o0Adrian / flet-mvc

MIT License
55 stars 6 forks source link

Window minimizing restoration #4

Open Sbose548 opened 3 months ago

Sbose548 commented 3 months ago

I am using flet 0.22.1 version of flet , but still facing the issue app not showing up again after minimizing the window The app's icon and process are still running in the background, but the window itself does not reappear when trying to restore it.

o0Adrian commented 3 months ago

That sounds to me like a flet issue, I believe I have seen it before. But still, can you share with me what version of flet are you using? What OS are you on? And if possible the code you are trying to run in a repo? (If it is private, it's fine, I will try replicate)

I will take a look, thanks!

Sbose548 commented 3 months ago

I am working on version 0.21.0 version of flet with windows 11 as operating system.

Sbose548 commented 3 months ago

def on_win_event(e): if e.data == 'restore': page.window_height = 720 page.window_width = 1350 page.window_top = 30 page.window_left = 50 page.update() presently this code is working fine to me but dont know how seamlessly it works