ionic-framework icon indicating copy to clipboard operation
ionic-framework copied to clipboard

bug: Opening Modal randomly causes App to freez

Open romanrast opened this issue 12 years ago • 48 comments

Type: bug

Platform: ios 7 webview

It's hard to reproduce the bug since it happens randomly. But it seems to come with ionic beta10.

romanrast avatar Aug 02 '14 08:08 romanrast

@perrygovier Our users have reported the issue on both iPhones and Androids, and I've also seen it in the browser. But it's very sporadic and I haven't figured out how to actually reproduce it reliably.

shedd avatar Sep 09 '14 03:09 shedd

This may have been fixed in the upcoming beta12. Would someone be able to test to see if its fixed in the nightly builds? http://code.ionicframework.com/#nightly

thanks

adamdbradley avatar Sep 09 '14 04:09 adamdbradley

Have had reports from our users that they still encountered this issue with the workaround. Also hit it once in testing with the workaround in place.

Will retry with beta12.

shedd avatar Sep 12 '14 20:09 shedd

Still encountering this bug in beta11

pencilcheck avatar Sep 18 '14 06:09 pencilcheck

http://forum.ionicframework.com/t/ionicloading-bug/8001

I hope someone in ionic have seen this.

pencilcheck avatar Sep 18 '14 06:09 pencilcheck

+1 using beta11

edit - with beta12 I havent seen this again

dhcar avatar Sep 24 '14 07:09 dhcar

Anyone tested the nightly builds yet? I am also having this problem consistently with Beta10, will try nightlies tomorrow...

marcsyp avatar Sep 26 '14 08:09 marcsyp

We've been running on beta12 for a week or so now. No confirmed instances of this issue with beta12.

shedd avatar Sep 27 '14 06:09 shedd

We reactivated the ionic loading with beta.13 and could not reproduce the bug anymore. Even not on mobile devices ... But changed a lot of other things, too ...

stefanmdt avatar Sep 29 '14 09:09 stefanmdt

I'm going to call this closed. Let me know if it pops up again.

perrygovier avatar Jan 02 '15 20:01 perrygovier

Seems like this is still happening in "driftyco/ionic-bower#v1.0.0-beta.14". Don't know how to reproduce but have receive reports about it.

pencilcheck avatar Jan 05 '15 00:01 pencilcheck

I also experience a freeze for about 4-10 seconds (depends on device) when I click a button that opens a modal. The content of the modal is simple. It has two form inputs and two buttons.

I did a CPU profile in Chrome. What could be the problem? image

iver56 avatar Jan 16 '15 21:01 iver56

I've no idea why, but it appears some collection repeat related methods are stuck in a loop. Does the issue still exist when you switch your collection-repeat for ng-repeat

perrygovier avatar Jan 16 '15 21:01 perrygovier

I can now confirm that it is a problem with collection-repeat.

I implemented collection-repeat in the "home" view in my app yesterday. When I go back to a commit before I implemented it, I don't have the "freeze when I try to open the modal" issue. I used ng-repeat before, when I didn't have this issue.

My scenario is something like this: "home" -> "form" -> open modal From home I can navigate to a "form" view where I can open a modal by clicking a button. It looks like the collection-repeat in "home" is causing problems in the "form" view. Is this because the "home" view is cached and somehow still working and doing lots of stuff in the background? The "form" view and the modal doesn't have collection-repeat.

Edit: Oh, and my "home" view with collection-repeat has ~800 list items. Edit2: using beta 14 Edit3: I tested with 1.0.0-beta.14-nightly-952, and the issue is there too

iver56 avatar Jan 16 '15 21:01 iver56

@pencilcheck are the instances you're seeing using collection-repeat as well?

perrygovier avatar Jan 16 '15 21:01 perrygovier

I'm also experiencing the same freeze issue when interacting with (close, open) a popover. Given that I use collection-repeat in that other view I navigated from.

iver56 avatar Jan 16 '15 22:01 iver56

@perrygovier actually it's not collection-repeat, it's a lot of form and inputs

pencilcheck avatar Jan 19 '15 13:01 pencilcheck

I'm running into this after updating to v1.0.0-beta.14-nightly-978

felquis avatar Feb 05 '15 15:02 felquis

I am also running into this issue, navigate from collection repeat page and modal freezes for around 4 seconds before the app comes back to life. this is a big issue for me as i require to list thousands of items in collection repeat. any news when this will be fixed. please reopen this issue cpu-ngrepeat

stellasoft-will avatar Feb 11 '15 17:02 stellasoft-will

@stellasoft-will this issue was fixed (for me) in the v1.0.0-beta.14-nightly-1011 or newer.

felquis avatar Feb 11 '15 17:02 felquis