Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

When using G2, when I move a scrollView, the image on it will stop the transition?
Started by joe528 Nov 22 2013 12:45 AM

11 replies to this topic
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

joe528

[GLOBAL: userInfoPane.html]
joe528
  • Contributor

  • 800 posts
  • Corona SDK

I migrated my app to use G2, and there is a strange thing for scrollView, is this a default behavior or a bug? (This is not happening in G1)

 

I have a scrollView and I put images on it by using some transition like this

picObj.alpha = 0.3
picObj.xScale = 0.1
picObj.yScale = 0.1
transition.to(picObj, {time = 300, alpha = 1, xScale=1, yScale=1})

 

So I can see my images zoom from scale 0.1 to scale 1, but if I scroll it (or exit the scene/re-enter again) during the transitions, some images are stuck at the middle of their transitions (e.g. scale 0.5, alpha 0.5).

 

This is not happening before in G1, is there any thing new I should be aware of for G2? (or new method to do things like this?) or is this a bug for G2?

 

 

 



[TOPIC: post.html]
#2

joe528

[GLOBAL: userInfoPane.html]
joe528
  • Contributor

  • 800 posts
  • Corona SDK

Now I have to call

 

transition.resume()

 

in the scrollView listener when phase is ended & also in scene:enterScene() in order to solve this problem.

 

Is this an intended behavior to pause all transitions while scrollView is scrolled or scene is exited?



[TOPIC: post.html]
#3

jonjonsson

[GLOBAL: userInfoPane.html]
jonjonsson
  • Corona Geek

  • 1,051 posts
  • Corona SDK

I think my problem in this thread is related: http://forums.coronalabs.com/topic/41599-transitions-jerky/ 

I'm not using widget scrollview but basically the same thing, moving groups with my finger. Sometimes off screen.

 

There is most certainly something rotten in the state of Denmark with the new transitions.



[TOPIC: post.html]
#4

joe528

[GLOBAL: userInfoPane.html]
joe528
  • Contributor

  • 800 posts
  • Corona SDK

My app is a business app so I don't have much graphic handling.

 

I only do some transitions for alpha & scale. 

 

I have migrated to G2. So far so good. Only scrollView is acting kind of weird. Except for the problem above, scrolling the view sometimes gets jerky too. For example, sometimes when I scroll down a bit and it goes back to the beginning. I thought it was because of my presbyopia.



[TOPIC: post.html]
#5

joe528

[GLOBAL: userInfoPane.html]
joe528
  • Contributor

  • 800 posts
  • Corona SDK

transition.resume() in exitScene() does not solve the problem after I tested more.

 

the transition still halts in the middle sometimes when I exit the scene (no purge) and when the scene is entered again, the transition is still half way hanging there.



[TOPIC: post.html]
#6

bjsorrentino

[GLOBAL: userInfoPane.html]
bjsorrentino
  • Veteran

  • 8,506 posts
  • Corona SDK

Hi guys,

FYI, we're quite aware of this and we're investigating now...

 

Thanks,

Brent



[TOPIC: post.html]
#7

iPlayalot

[GLOBAL: userInfoPane.html]
iPlayalot
  • Enthusiast

  • 65 posts
  • Corona SDK

I have same problem. 

transition.to( image, { alpha = 1.0 } )


[TOPIC: post.html]
#8

iPlayalot

[GLOBAL: userInfoPane.html]
iPlayalot
  • Enthusiast

  • 65 posts
  • Corona SDK

2013.2088 solved, thanks.



[TOPIC: post.html]
#9

joe528

[GLOBAL: userInfoPane.html]
joe528
  • Contributor

  • 800 posts
  • Corona SDK

I tried with 2013.2088, it only fixes one part of this problem.

 

Transitions inside a scrollView are still paused when exiting the scene (no purge), when you re-enter the scene, you can see the transitions are still paused there.



[TOPIC: post.html]
#10

jonjonsson

[GLOBAL: userInfoPane.html]
jonjonsson
  • Corona Geek

  • 1,051 posts
  • Corona SDK

No change for me.



[TOPIC: post.html]
#11

bjsorrentino

[GLOBAL: userInfoPane.html]
bjsorrentino
  • Veteran

  • 8,506 posts
  • Corona SDK

@joe528 or @jonjonsson,

Refresh my memory, have either of you filed a bug report for this? Perhaps you did, with the case number mentioned in another thread. If so, can you give me those case number(s)? If not, can you file a bug report?

 

Thanks for your patience; we're looking into this as quickly as we can.

Brent



[TOPIC: post.html]
#12

jonjonsson

[GLOBAL: userInfoPane.html]
jonjonsson
  • Corona Geek

  • 1,051 posts
  • Corona SDK

@Brent, I just reported mine now, case 28332. Its probably not related to OP problem. See http://forums.coronalabs.com/topic/41599-transitions-jerky/

 

We still have in common that off screen transitions in scenes are not completing always though, I have not reported that one yet. 




[topic_controls]
[/topic_controls]