Page 1 of 1

Switch button Widget non redrawing

Posted: Thu Jul 18, 2019 4:14 pm
by trevix
LC 9.5.0 (also on LC 9.0.4 RC3)
OSX 10.14.5
iOS 9.3
xCode 10.1

Sometime but not always, both on the simulator and on the hardware, the Switch button Widgets don't get redrawn, as you can see for the attache picture (the buttons are on the right side of the screen).

Finding the culprit looks very hard, for what I found. But it seems connected to the update of each value, like:

Code: Select all

set the hilite of widget "SwitchSingleButton" of group "GRsetting1" to true
PS: I tried both "set the hilite..." and set the hilight..." to no avail.

Thanks
Trevix
Simulator Screen Shot - iPad Air - 2019-07-18 at 17.02.31.png

Re: Switch button Widget non redrawing

Posted: Thu Jul 18, 2019 8:13 pm
by trevix
Update:
It depends on which iOS version i use.
Works on 11.2 Not on 9.3

Re: Switch button Widget non redrawing

Posted: Fri Jul 19, 2019 9:31 am
by trevix
More:
If I put a "wait 1 seconds" on the PreOpenstack (before setting the buttons), everything get drawn OK

Re: Switch button Widget non redrawing

Posted: Fri Sep 27, 2019 5:02 pm
by trevix
Still having the same problem with simulator 12.1 (OSX 10.14.6 and LC9.5 stable)

Re: Switch button Widget non redrawing

Posted: Fri Sep 27, 2019 5:08 pm
by trevix
Same on iOS 11.2

Actually now works fine on hardware iOS 9.3 but not in the simulator