Sometimes callbacks aren't attached it seems.
Posted: Wed Apr 12, 2023 9:51 am
Hello everyone,
I have a bit of a strange issue with my main dev machine (MacMini M1). About 10% of the time when I start my project, the app doesn't respond to mouse events. I feel that this issue is somehow related to other processes on my machine because sometimes it happens frequently, while other times it happens less often.
When I unfocus the window (by clicking in my terminal) and refocus (by clicking in the window), everything works fine. Also, when I print some debug information in the love.focus function, it doesn't show up in cases where the app isn't responding correctly.
I haven't seen this issue on my other machine, and since it's not a consistent problem, it's very annoying and difficult to track down. Does anyone have any ideas about how to solve this issue? Additionally, could I provide other information to help track down the issue further?
I have a bit of a strange issue with my main dev machine (MacMini M1). About 10% of the time when I start my project, the app doesn't respond to mouse events. I feel that this issue is somehow related to other processes on my machine because sometimes it happens frequently, while other times it happens less often.
When I unfocus the window (by clicking in my terminal) and refocus (by clicking in the window), everything works fine. Also, when I print some debug information in the love.focus function, it doesn't show up in cases where the app isn't responding correctly.
I haven't seen this issue on my other machine, and since it's not a consistent problem, it's very annoying and difficult to track down. Does anyone have any ideas about how to solve this issue? Additionally, could I provide other information to help track down the issue further?