Standalone riddle

Ralph DiMola rdimola at
Sun Jan 15 15:44:31 EST 2023

I'd be interested to see if what difference there is between the test apk
and the standalone builder apk. This has me a bit worried. If you want to
send me the 2 apks I will dive in and see at least what file(s) are

Ralph DiMola
IT Director
Evergreen Information Services
rdimola at

-----Original Message-----
From: use-livecode [mailto:use-livecode-bounces at] On Behalf
Of J. Landman Gay via use-livecode
Sent: Saturday, January 14, 2023 6:25 PM
To: How to use LiveCode
Cc: J. Landman Gay
Subject: Re: Standalone riddle

On 1/14/23 1:55 AM, Geoff Canyon via use-livecode wrote:
> This doesn't solve the puzzle, but: use a stack property to store the 
> value instead?

The value is entered correctly and displays after I dismiss the error
dialog. I have finally found where the issue is, but I don't know why it
happens. The normal sequence is pretty simple:

1. Enter a search term and hit the return key on the virtual keyboard. This
triggers the inputReturnKey message.

2. InputReturnKey calls handler doSearch, which looks up the definition,
populates a browser widget on card 2, and goes to card 2.

What is happening is that inputReturnKey is being sent twice. The first time
it works as expected, but the second time we are already on card 2 and the
controls on card 1 are no longer available. Ergo, I get the "no such object"
error. I found this by inserting "checkCd the params" at the beginning of
doSearch. CheckCd does this:

on checkCd pParams -- track inputReturnKey error
   put pParams &cr&cr into tData -- the calling handler params
   put the executionContexts after tData
   answer tData
end checkCd

...and I got two dialogs in a row. I could see card 2 behind the second one,
which was a debug errorDialog instead of an answer dialog.

So the burning question is why does a single tap on the return key send two
duplicate inputReturnKey messages, and why does that happen only in a built

Maybe I won't embarrass myself if I enter a bug report now.

Jacqueline Landman Gay         |     jacque at
HyperActive Software           |

use-livecode mailing list
use-livecode at
Please visit this url to subscribe, unsubscribe and manage your subscription

More information about the use-livecode mailing list