Android bug
Posted: Wed Dec 11, 2024 7:54 pm
hello,
so I have my love program working awesomely on PC, everything is working the way it's supposed to, no bugs, no errors, no nothing. however, when I run the exact same .love file via the Android app (version 11.5), a function is suddenly not being called. what confuses me is this function has nothing to do with anything system-related or platform-dependent, it is a simple callback that is called on a UI element when it is 'activated'. I'm using my own UI module, but it is working flawlessly on Windows. the inline textbox class is defined in, the module itself is in , the components are defined in the main file. I have put a testing into the callback of the inline textbox which promptly fired "Windows" on PC but did nothing on Android (I also tried replacing it with an error; again, raised on Windows, nothing on Android).
I'd appreciate if someone else could test this and confirm/point me to the problem (the issue is keyboard input should be enabled when you enter a text field, which obviously currently doesn't happen, at least on my phone).
thanks!
for anyone interested, the program is de facto complete and is meant for visualizing cube/spire vs. plane intersections, and should with minimal modification be able to display any arbitrary 3D shape, so if you wanna try it out or use it for something, go ahead
so I have my love program working awesomely on PC, everything is working the way it's supposed to, no bugs, no errors, no nothing. however, when I run the exact same .love file via the Android app (version 11.5), a function is suddenly not being called. what confuses me is this function has nothing to do with anything system-related or platform-dependent, it is a simple callback that is called on a UI element when it is 'activated'. I'm using my own UI module, but it is working flawlessly on Windows. the inline textbox class is defined in
Code: Select all
sqitutils.lua
Code: Select all
sqit/init.lua
Code: Select all
print(love.system.getOS())
Code: Select all
:activated()
I'd appreciate if someone else could test this and confirm/point me to the problem (the issue is keyboard input should be enabled when you enter a text field, which obviously currently doesn't happen, at least on my phone).
thanks!
for anyone interested, the program is de facto complete and is meant for visualizing cube/spire vs. plane intersections, and should with minimal modification be able to display any arbitrary 3D shape, so if you wanna try it out or use it for something, go ahead