Text field in Windows standalone not receiving keyboard focus

Andrew at MidWest Coast Media andrew at midwestcoastmedia.com
Sun Jan 31 22:28:25 EST 2021


It turns out that this bug was actually another bug manifesting itself. There was a rogue browser widget (not visible) hiding in another group on the card gobbling up keystrokes on Windows platform. https://quality.livecode.com/show_bug.cgi?id=19023 <https://quality.livecode.com/show_bug.cgi?id=19023>

What’s worse is that the same bug bit me in the ass a year ago too. Fool me once, shame on you. 

-Andrew Bell


> 
> Try comparing the properties of a group that works with the one that 
> doesn't. Also compare individual field properties, in particular check the 
> traversalOn, autoHilite, and lockText. That alone wouldn't explain why it 
> appears to fix itself occasionally, but could point to a script that 
> changes one of these properties.
> 
> --
> Jacqueline Landman Gay | jacque at hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> On January 28, 2021 3:33:39 PM Andrew at MidWest Coast Media via 
> use-livecode <use-livecode at lists.runrev.com> wrote:
> 
>> I have an app with a group of fields who are struggling to accept keyboard 
>> input. It seems to just be 1 group of 4 fields on a single card (that has 
>> been noticed). You can click in the field and the blinking I-bar is 
>> inserted, but typing on the keyboard does nothing. Pasting text into any of 
>> these fields seems to unlock the ability to type, as does switching to 
>> another application and switching back, but only until you leave the card 
>> and come back again.
>> 
>> This ONLY happens in executable on Windows, not in IDE and never on Mac 
>> (where I am developing which is why I missed the bug in testing). Once you 
>> unlock 1 of the 4 fields in the group they all unlock until you leave the 
>> card and come back where the problem manifests again.There is another group 
>> of text files (hidden so not on screen the same time as the offending 
>> group) that accepts keyboard input fine without any hacks which points to a 
>> problem with the group. There are no scripts on the field or group itself. 
>> I have already tried a ?focus on nothing? without any luck.
>> 
>> -Andrew Bell
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your 
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 



More information about the use-livecode mailing list