Android bug

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
mk8
Prole
Posts: 35
Joined: Thu Apr 22, 2021 7:11 am

Android bug

Post by mk8 »

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

Code: Select all

sqitutils.lua
, the module itself is in

Code: Select all

sqit/init.lua
, the components are defined in the main file. I have put a testing

Code: Select all

print(love.system.getOS())
into the

Code: Select all

:activated()
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 :)
Attachments
cubecuts.love
(25.03 KiB) Downloaded 269 times
hippity hoppity ur code is my property (thanc in advanc)
Post Reply

Who is online

Users browsing this forum: Amazon [Bot] and 8 guests