Native Scroller Problem in LC 8

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am

Native Scroller Problem in LC 8

Post by Dixie » Thu May 26, 2016 5:32 am

goodscroll.png
Simulator Screen Shot 26 May 2016, 05.17.45.png
I have a stack that scrolls groups on a card…

If this stack is opened with LC 7.1.4 then there is no problem at all. The scroller scrolls within its rect as it should… If however the stack is opened with LC 8.0 then the content does not scroll within the rect of the scroller, but bursts out and covers the whole card from top to bottom… Anyone else seeing this before I submit a bug report ?

The screen shots below... the first one shows the scroller behaving as it should, the second showing the content filling the screen not scrolling within its rect as it should...

dave.kilroy
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 858
Joined: Wed Jun 24, 2009 1:17 pm
Contact:

Re: Native Scroller Problem in LC 8

Post by dave.kilroy » Thu May 26, 2016 11:52 am

Hi John - I don't use native scrollers at the moment but what you describe sure walks like a bug and quacks like a bug so maybe just report it!
"...this is not the code you are looking for..."

Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am

Re: Native Scroller Problem in LC 8

Post by Dixie » Sun May 29, 2016 7:37 pm

It seems that no one uses native scrollers... :-) Either that or I am going the wrong way in how to use them under LC 8..

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10044
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Native Scroller Problem in LC 8

Post by FourthWorld » Sun May 29, 2016 9:45 pm

I use scrollers all the time, and have had good luck with them in v8.

How are you establishing the scroller's rect? And are you using scaleFactor?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

dave.kilroy
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 858
Joined: Wed Jun 24, 2009 1:17 pm
Contact:

Re: Native Scroller Problem in LC 8

Post by dave.kilroy » Wed Jun 01, 2016 1:29 pm

Dixie, it sounds like you are experiencing the same issue as Louis, have a look at http://forums.livecode.com/viewtopic.ph ... 80#p143180
"...this is not the code you are looking for..."

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10044
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Native Scroller Problem in LC 8

Post by FourthWorld » Sat Jun 04, 2016 6:42 pm

Either the scroller works or it doesn't. If it does, we can fix the script. If it doesn't, a bug report would need to be filed.

I've used scrollers extensively with v8 under Android, so we can rule out an engine issue there.

Perhaps this is specific to iOS? Since we're seeing two people with what appears to be the same issue, filing a bug report would seem useful.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Post Reply