Re: iOS scroller performance

2013-03-25 Thread Monte Goulding
On 26/03/2013, at 8:17 AM, Gerry Orkin wrote: > Excellent - have you uploaded the new one to your site? Not yet, I need work out how much the changes might break existing mergDataGridScrollers first. There are a few quirks now too. The main one is the datagrid gets resized to it's full height

Re: iOS scroller performance

2013-03-25 Thread Gerry Orkin
Excellent - have you uploaded the new one to your site? Gerry On Mon, Mar 25, 2013 at 10:13 PM, Monte Goulding mailto:mo...@sweattechnologies.com";>> wrote:  but now that I understand that limitation I've got mergDataGridScroller working smoothly. On Mon, Mar 25, 2013 at 10:13 PM, Monte

Re: iOS scroller performance

2013-03-25 Thread Monte Goulding
On 25/03/2013, at 5:35 PM, Monte Goulding wrote: > I'll see if I can get the same performance from mergDataGridScroller. OK, time to eat my words on scrolling performance. I'm not super happy that I'll need to do some significant design changes to deal with the fact that you can't scroll a ne

Re: iOS scroller performance

2013-03-24 Thread Monte Goulding
On 25/03/2013, at 3:49 PM, Scott Rossi wrote: > This used to be in the iOS release notes, early on. Doesn't appear to be > in the 5.5.4 notes. Ah... I guess this is a docs bug then. I've just changed my implementation of my mobile scrolling field control and it looks very nice. For that contro

Re: iOS scroller performance

2013-03-24 Thread Scott Rossi
On 3/24/13 9:36 PM, "Monte Goulding" wrote: > >On 25/03/2013, at 2:42 PM, Scott Rossi wrote: > >> If you have nested groups, the layerMode needs to be set to scrolling >>for >> the topmost (outermost) group, and the group that actually scrolls >>cannot >> be nested inside another group. With th

Re: iOS scroller performance

2013-03-24 Thread J. Landman Gay
On 3/24/13 11:36 PM, Monte Goulding wrote: Wait... so you can only set the scroll of a group that is directly on the card then? That makes it quite difficult to use... I think it can be anywhere, not just the card. The trick is, the layermode must be set on the topmost object; if it's a group

Re: iOS scroller performance

2013-03-24 Thread Scott Morrow
On Mar 24, 2013, at 8:42 PM, Scott Rossi wrote: > If you have nested groups, the layerMode needs to be set to scrolling for > the topmost (outermost) group, and the group that actually scrolls cannot > be nested inside another group. With this set up, you should get good > performance. Yeah, wh

Re: iOS scroller performance

2013-03-24 Thread Charles Warwick
I suspect that iOS tweens scrolling. It doesn't get scroll changes any more often than LiveCode, but it tweens the values rather than jumping to the newly reported value. That can give the illusion that it is getting more events, or handling them quicker. iOS has a "scrollViewDidScroll" message

Re: iOS scroller performance

2013-03-24 Thread Monte Goulding
On 25/03/2013, at 2:42 PM, Scott Rossi wrote: > If you have nested groups, the layerMode needs to be set to scrolling for > the topmost (outermost) group, and the group that actually scrolls cannot > be nested inside another group. With this set up, you should get good > performance. Wait... so

Re: iOS scroller performance

2013-03-24 Thread Monte Goulding
On 25/03/2013, at 2:40 PM, Colin Holgate wrote: > So, don't scroll to the new value, just update a variable and then scroll > towards that value 60 times per second. That's a different approach to what I tried and it might be worth trying. It forces the scroll updates to be at regular interval

Re: iOS scroller performance

2013-03-24 Thread Scott Rossi
If you have nested groups, the layerMode needs to be set to scrolling for the topmost (outermost) group, and the group that actually scrolls cannot be nested inside another group. With this set up, you should get good performance. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Desig

Re: iOS scroller performance

2013-03-24 Thread Colin Holgate
I suspect that iOS tweens scrolling. It doesn't get scroll changes any more often than LiveCode, but it tweens the values rather than jumping to the newly reported value. That can give the illusion that it is getting more events, or handling them quicker. Try this as a button script: on mouseU

Re: iOS scroller performance

2013-03-24 Thread Charles Warwick
All righty then. I'm wondering if I'm assuming something wrong about the layermode. I'm assuming that only the control that is actually being scrolled should have it's layermode set to scrolling. If that object is inside a group should the group be set to something other than static? I have test

Re: iOS scroller performance

2013-03-24 Thread Monte Goulding
On 25/03/2013, at 1:28 PM, Monte Goulding wrote: > I could probably get away without the group on that one Ah... no I can't. No preOpenContol handler if it's not a group... All righty then. I'm wondering if I'm assuming something wrong about the layermode. I'm assuming that only the control t

Re: iOS scroller performance

2013-03-24 Thread Gerry Orkin
My iOS scrolling data grids jitter all the time and I've never drunk a cup of coffee in my life :) Gerry On 25/03/2013, at 1:22 PM, Scott Morrow wrote: > I'm only noticing the jitters when the scrolling field is in a set of nested > groups. (And when I've exceeded the coffee limit.) ___

Re: iOS scroller performance

2013-03-24 Thread Monte Goulding
On 25/03/2013, at 1:22 PM, Scott Morrow wrote: > I'm only noticing the jitters when the scrolling field is in a set of nested > groups. (And when I've exceeded the coffee limit.) OK, I'll look into that when I get a chance because my scrolling fields are in a group... it's a custom control th

Re: iOS scroller performance

2013-03-24 Thread Scott Morrow
I'm only noticing the jitters when the scrolling field is in a set of nested groups. (And when I've exceeded the coffee limit.) -- Scott Morrow Elementary Software On Mar 23, 2013, at 9:02 PM, J. Landman Gay wrote: > On 3/23/13 7:50 PM, Monte Goulding wrote: >> >> On 24/03/2013, at 9:10 AM, "J

Re: iOS scroller performance

2013-03-23 Thread Monte Goulding
On 24/03/2013, at 3:02 PM, "J. Landman Gay" wrote: > I've been out of the mobile loop for a while, but my last iOS app scrolled > smoothly when I set up acceleratedRendering and assigned the layermode of the > field to "scrolling". I had a native scroller over it, but Colin may be right > tha

Re: iOS scroller performance

2013-03-23 Thread J. Landman Gay
On 3/23/13 7:50 PM, Monte Goulding wrote: On 24/03/2013, at 9:10 AM, "J. Landman Gay" wrote: Even scrolling a field is noticeably jittery compared to the same content in a webview. With or without a native scroller? With a native scroller or touch messages... It is not possible to make sc

Re: iOS scroller performance

2013-03-23 Thread Monte Goulding
On 24/03/2013, at 9:10 AM, "J. Landman Gay" wrote: >> Even scrolling a field is noticeably jittery compared to the same content in >> a webview. > > With or without a native scroller? With a native scroller or touch messages... It is not possible to make scrolling smooth like native scrollin

Re: iOS scroller performance

2013-03-23 Thread Colin Holgate
Would a native scroller just give you the conventionally bouncing at the ends? I'm not sure it would affect the smoothness, whether you're using a native scroller or not. If the graphic settings are correct it ought to be as smooth as a webkit view. On Mar 23, 2013, at 6:10 PM, "J. Landman Gay

Re: iOS scroller performance

2013-03-23 Thread J. Landman Gay
On 3/23/13 4:14 PM, Monte Goulding wrote: On 24/03/2013, at 5:57 AM, Pierre Sahores wrote: Did you try ? Even scrolling a field is noticeably jittery compared to the same content in a webview. With or without a native scroller? -- Jacqueline Landman Gay | jac...@hyperactives

Re: iOS scroller performance

2013-03-23 Thread Pierre Sahores
Le 23 mars 2013 à 22:14, Monte Goulding a écrit : > > On 24/03/2013, at 5:57 AM, Pierre Sahores wrote: > >> Did you try ? > > Even scrolling a field is noticeably jittery compared to the same content in > a web view. Yep and, as long as the webview don't use the LC engine thread, the webvie

Re: iOS scroller performance

2013-03-23 Thread Monte Goulding
On 24/03/2013, at 5:57 AM, Pierre Sahores wrote: > Did you try ? Even scrolling a field is noticeably jittery compared to the same content in a webview. -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! _

Re: iOS scroller performance

2013-03-23 Thread Pierre Sahores
Did you try ? set the bufferHiddenImages to true set the acceleratedRendering of this stack to true Makes the trick there, even against iPad 1, with dozen of mixed groups (image + btns + flds) set inside the scrollable group. Le 22 mars 2013 à 23:35, Chip Thomas a écrit : > Has anybody els

Re: iOS scroller performance

2013-03-23 Thread charles
Yes it's not good. There's only a few ways that I think the problem could be resolved. This is one of the reasons I have struggled to use LiveCode for some of the applications I have been working on. I first tried LiveCode over a year ago, but went back to native iOS development in XCode afte

Re: iOS scroller performance

2013-03-22 Thread Monte Goulding
On 23/03/2013, at 9:51 AM, Gerry Orkin wrote: > I beg to differ - it's a major problem on both devices. My girlfriend refuses > to use one of my apps because she says scrolling the lists of content makes > her feel sea sick :( Yes it's not good. There's only a few ways that I think the proble

Re: iOS scroller performance

2013-03-22 Thread Gerry Orkin
I beg to differ - it's a major problem on both devices. My girlfriend refuses to use one of my apps because she says scrolling the lists of content makes her feel sea sick :( Gerry On 23/03/2013, at 9:35 AM, Chip Thomas wrote: > It's not as noticeable on iPhone,

Re: iOS scroller performance

2013-03-22 Thread Monte Goulding
On 23/03/2013, at 9:35 AM, Chip Thomas wrote: > Has anybody else noticed a jerkiness to the iOS scroller? > > It's not as noticeable on iPhone, but on the iPad, scrolling through a > datagrid seems sluggish. Yes... as far as I can tell we need a new command to animate the scrolling of a grou

iOS scroller performance

2013-03-22 Thread Chip Thomas
Has anybody else noticed a jerkiness to the iOS scroller? It's not as noticeable on iPhone, but on the iPad, scrolling through a datagrid seems sluggish. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsu