#When does the tauri::RunEvent::Resumed event fire?
14 messages · Page 1 of 1 (latest)
It should trigger as far as I can tell when the window becomes active, not when the OS becomes active
Do you mean that it's equivalent to
tauri::RunEvent::WindowEvent tauri::WindowEvent::Focused
Yes and no. As far as I can tell, it's not specifically when it gets focused, but when the event loop starts up again for any reason
Had to dig that out of Tao to find where the event stems from, and by the looks of it along with what I found in Wry and Tauri, it's looking like yea just generally "the event loop has started again for any reason"
Thanks Simon!
This is how i have been experimenting with it, and so far haven't been able to get that other event to fire.
tried to do a kill -STOP pid and kill -CONT pid to see if it will show up but no success
The reason why I thought this event might be interesting was potentially using it to recover from weird states (e.g. laptop was asleep)
I think it probably should be fired on such an event, but I'm not sure 🤔 I'll ping the secret society of Tauri wizards to see if anyone has any ideas
It's not super critical, but i'm quite curious, and thank you
It's no problem at all, I'm also curious now x)
this may actually be a palatform specific events that just doesnt happen on OSX
It's possible, though I think from an API perspective some manner of equivalent should probably be created if the OS doesn't provide one 🤔 We'll see what the council of wizards say when they wake up
i scanned the tao code that you referenced earlier :p