Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

App freezes / can no longer pan or zoom #279

Closed
springmeyer opened this issue May 30, 2014 · 4 comments
Closed

App freezes / can no longer pan or zoom #279

springmeyer opened this issue May 30, 2014 · 4 comments
Milestone

Comments

@springmeyer
Copy link
Contributor

This is freeze is not a crash. The display stays up and tiles might even continue to load around the edges. But all of the touch events are no longer recognized.

I can workaround but hitting the navigation button to zoom to the full extents of the map and then the touch events are again recognized.

It appears that it may be a kind of race condition with tile loading. I've triggered it when zooming out and rotating - I can see tiles around the borders are missing and when they start loading and displaying then the freeze happens.

Seeing this on an iPhone 5c (Model A1456, A1532) with iOS 7.1.1 (11D201) both in debug and release mode.

@springmeyer springmeyer added this to the WWDC milestone May 30, 2014
@incanus
Copy link
Contributor

incanus commented May 30, 2014

Yeah, going to look into this still. Relates to a forced un-rotate at low zooms that we don't want gestures to interrupt. Cases where this happens in MVKMapView.h:

if ( ! [self cancelPreviousActions]) return;

Need to touch that up / possibly remove.

@incanus
Copy link
Contributor

incanus commented May 30, 2014

I will hit this today. If I can't resolve, I will get rid of the nice, smooth auto-rotate-to-north-at-low-zooms that indirectly is causing this.

@incanus
Copy link
Contributor

incanus commented Jun 2, 2014

Finally tracked this down to deadlock problems with animated rotation followed by an unchecked notify_map_change() which needs to get lat, lon, and zoom. Fix almost in.

@incanus
Copy link
Contributor

incanus commented Jun 2, 2014

Ok, punting on this. Removing animations & moving to #296.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants