Keep stacks from turning black on Mobile

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
William Jamieson
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 212
Joined: Fri Feb 01, 2013 1:31 am
Contact:

Keep stacks from turning black on Mobile

Post by William Jamieson » Tue Feb 17, 2015 5:29 am

Hello,

Just curious as to whether other people have been having their screens turn black on mobile in the past few months of Livecode revisions. This has been happening for me for both Android and iOS and has been completely random and unavoidable. And I would be shocked if all my computers and devices are the only ones in the world that are having this problem.''

Things I noticed that turn the screen black are switching stacks, (the start using command), switching cards with script running on other cards than the one shown, locking the screen and coming back to the app.

I think it is a problem with the screen not redrawing itself... but that is my hunch. Because if I tap the black abyss of nothingness on my phone the buttons underneath still work.

Does anyone have any expertise in this area?

Cheers,

-Will

jekyllandhyde
Posts: 92
Joined: Thu Feb 14, 2013 7:17 pm

Re: Keep stacks from turning black on Mobile

Post by jekyllandhyde » Fri May 22, 2015 4:34 am

Yes I'm having a similar problem on Android with my App. I have the same code in both an IOS version and an Android version both on the respective App stores. Randomly when entering text in a field most of the screen turns black. It happens on Android in OS 5.01. Haven't seen it for iPhone. Can't duplicate it in the simulator, only on an actual phone. If you tap around with your finger the screen redraws itself. I've tried to find the problem but it is way beyond my skill set. I suspect it's a livecode bug but it's pretty much impossible to report it accurately and have someone dig for it. Hopefully more cases will post here.

I'm using Livecode 6.7.4 build 5025. Android API's up to v. 21.

William Jamieson
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 212
Joined: Fri Feb 01, 2013 1:31 am
Contact:

Re: Keep stacks from turning black on Mobile

Post by William Jamieson » Mon Jun 08, 2015 4:45 am

I have tried reporting the bug and they cant seem to be able to replicate it. I am really not sure about how the whole process is going though, it would be worth taking a look.

in the mean time the work-around is to set the previously used stack invisible. This happens because 2 stacks are visible at the same time or the screen does not refresh when you open a new stack. By flickering the visibility, one can force the screen to be fully visible. Unfortunately this is sad to have to do this in the first place just to get your app to show up... I have had much better luck with LC 7.4+

Hope this helps

Post Reply