#WindowEvent::Focused not triggered

10 messages · Page 1 of 1 (latest)

mint lintel
#

I'm trying to listen for the WindowEvent::Focused event in the RunEvent::WindowEvent but it never gets triggered. All other RunEvent::WindowEvent events are getting triggered but not the WindowEvent::Focused event.
The screenshot below is me trying to un-focus the window by minimizing and switching programs but no matter what I do I can't seem to trigger the WindowEvent::Focused event whilst all other RunEvent::WindowEvent are getting triggered just fine.

old yarrow
#

this does ring a bell 🤔

#

Ah yeah: <#1004848213775364146 message> Let me see if i find a gh issue about it

#

(in that link is also a workaround, the focus event should work fine in on_window_event)

mint lintel
#

That work around should work for me, was searching if someone had the issue before but couldn't find anything, so apologies for the duplicate 🙏

old yarrow
#

to be fair, i only found it because it was on my own bug triage todo list under "runevent focus not firing" so don't worry about it :D

#

but, one thing i would appreciate is if you could open an issue about it

mint lintel
#

Sure thing, will do it in a few hours as I'm not at my computer right now but once I do I'll let you know

old yarrow
#

thank you!

mint lintel