Menu

#23 infinite loop on firescreen

v2.2
closed-fixed
general (4)
7
2009-06-16
2009-06-07
Murat
No

in firescreen class, there is a infinite loop in function of run. it occurs when you open left soft key menu in BrowserTest. code tries to remove animation. but, the animation was not registered rightly. so, it is not removed then again and again tries to be removed. i solve it like this, i remove animation from animationQueue object also remove from registered animation. I dont know how it is true, but for now it works

Discussion

  • Pashalis Padeleris

    The bug was general to all sofkey animation when a new container comes to focus which has a different set of softkeys.

    The old softkeys are removed from the componentSlots but not from the animationQueue. Fixed it by adding a check in the run() to also remove the animation from the animationQueue even if it is not found in the componentSlots.

    This could cause load on the phone and degrade performance over time. The bug was introduced by the change in v2.2 on the softkeys to be Components and not special cases inside FireScreen.

     
  • Pashalis Padeleris

    • labels: 1166435 --> general
    • priority: 5 --> 7
    • status: open --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB