Disappearing Buttons using 9.0.1 Simulator

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
SusanB
Posts: 111
Joined: Mon Nov 07, 2011 4:10 am
Location: San Jose area, California, USA
Contact:

Disappearing Buttons using 9.0.1 Simulator

Post by SusanB » Tue Oct 16, 2018 7:17 am

When I click on one of a group of buttons with a scroll down menu and choose an item, the other buttons all disappear. If I click in the place where a button used to be, it shows briefly, then the scroll down menu appears and is functioning, and then the button disappears. Sometimes, when I click where another button of the group used to appear, then they all magically reappear. This doesn't happen on other cards with similar groups of buttons. All used to work fine, but now the app crashes when opening on an iPad with IOS 12. (It doesn't crash when opening in the simulator). Does anyone have any idea what this is all about?

LiveCode_Panos
Livecode Staff Member
Livecode Staff Member
Posts: 818
Joined: Fri Feb 06, 2015 4:03 pm

Re: Disappearing Buttons using 9.0.1 Simulator

Post by LiveCode_Panos » Tue Oct 16, 2018 8:23 am

Hello Susan,

Which version of LC did you use to build the standalone that crashes on the iPad?

Does setting the acceleratedRendering of the stack to true make any difference (in the rendering of the controls)?

Regards,
Panos
--

quailcreek
Posts: 746
Joined: Sun Feb 04, 2007 11:01 pm
Location: McKenna, WA

Re: Disappearing Buttons using 9.0.1 Simulator

Post by quailcreek » Wed Oct 17, 2018 1:00 am

I'm having a similar problem with one of my iOS stacks. I have set the accelerated rendering to true but no-joy. I see the same non rendered controls on both the sim and on my device.

LC 9.0.1
Xcode 9.4.1

This is what it should look like.
LC Capture.png
This is wheat shows in the sim and device.
Sim Capture.png
Tom
MacBook Pro OS Mojave 10.14

SusanB
Posts: 111
Joined: Mon Nov 07, 2011 4:10 am
Location: San Jose area, California, USA
Contact:

Re: Disappearing Buttons using 9.0.1 Simulator

Post by SusanB » Wed Oct 17, 2018 1:16 am

Thank you,Panos. I used LC 8.1.5 on the version that worked before IOS 12. I used 9.0.1 to build the current one with the problems. I'm using Xcode 9.2 Set the acceleratedRendering to true didn't help, unfortunately.

LiveCode_Panos
Livecode Staff Member
Livecode Staff Member
Posts: 818
Joined: Fri Feb 06, 2015 4:03 pm

Re: Disappearing Buttons using 9.0.1 Simulator

Post by LiveCode_Panos » Wed Oct 17, 2018 10:48 am

Hello all,

Thanks for the update. Ok, it seems this is because of a recent bug in LC 9.0.1, where the culprit was a disabled control with a non-zero blendlevel. This should be fixed in the upcoming 9.0.2 RC-1 version:

https://github.com/livecode/livecode/pull/6730

BTW feel free to send your stacks to panos.merakos@livecode.com or attach then to bug 21624 (https://quality.livecode.com/show_bug.cgi?id=21624) so as I make sure the issue is indeed fixed before releasing 9.0.2 rc1.

Regards,
Panos
--

quailcreek
Posts: 746
Joined: Sun Feb 04, 2007 11:01 pm
Location: McKenna, WA

Re: Disappearing Buttons using 9.0.1 Simulator

Post by quailcreek » Wed Oct 17, 2018 10:03 pm

Panos,
I sent my stack data to your email.
Tom
MacBook Pro OS Mojave 10.14

LiveCode_Panos
Livecode Staff Member
Livecode Staff Member
Posts: 818
Joined: Fri Feb 06, 2015 4:03 pm

Re: Disappearing Buttons using 9.0.1 Simulator

Post by LiveCode_Panos » Thu Oct 18, 2018 9:12 am

@Tom @Susan

I have received your stacks, thanks.

I will test with the pre-release version of 9.0.2 rc-1 and let you know if the issue is fixed.

Best,
Panos
--

LiveCode_Panos
Livecode Staff Member
Livecode Staff Member
Posts: 818
Joined: Fri Feb 06, 2015 4:03 pm

Re: Disappearing Buttons using 9.0.1 Simulator

Post by LiveCode_Panos » Thu Oct 18, 2018 11:02 am

@Tom @Susan

Good news :)

The problem seems to be fixed, I will email you screenshots of how your stack looks on iOS 12 simulator when built with LC 9.0.2 rc1

Best,
Panos
--

SusanB
Posts: 111
Joined: Mon Nov 07, 2011 4:10 am
Location: San Jose area, California, USA
Contact:

Re: Disappearing Buttons using 9.0.1 Simulator

Post by SusanB » Thu Oct 18, 2018 8:10 pm

I am grateful!

Post Reply

Return to “iOS Deployment”