-
Notifications
You must be signed in to change notification settings - Fork 1.3k
All animations broken #2036
Comments
Happens on Android too, noticed in #1856 (comment) |
#1829 changed the iOS compass to rely on mbgl for frame updates, whereas it used to use view-based animation. So this is definitely a bug in mbgl’s update notifications. |
This is causing |
iOS tests should have caught this, yes? Why didn't they? https://travis-ci.org/mapbox/mapbox-gl-native/builds/74223611 |
The tests have been catching the issue about 80% of the time. I had thought it was #1887, but those failures were just burying this one. |
Probably related: when tracking user location, the user dot often shuffles out of view. |
All animation is broken, and I’m having a difficult time untangling fa4636f. @brunoabinader, can you look into this? |
I may have confused the bisect by starting with release-0.5.0 as good, but when I start with two revisions on master, I get this commit instead: 0a527f6. #2026 is interesting because perhaps this constant redrawing was only masking the underlying problem. Maybe that underlying problem was introduced in fa4636f. /cc @kkaefer |
I am AFK this Thursday and Friday, will have a look on my way to US this weekend. |
Transform::{_moveBy,_setAngle} were returning Update::Nothing, causing the render to not repaint. Replacing with Update::Repaint fixes the issue. Fixes #2036.
Got lucky with wifi onboard, so I managed to find the root cause: |
Reopening issue for proper validation. I've tested on an iPad, iPhone 6 (via simulator), Android, GLFW and Qt-based ports in OSX, clicking on compass button now properly resets bearing to North, and all other animations are working as should. Please verify? |
Works on Android |
Works great on iOS 8.4 on an iPhone 6 and on the iOS 9 Simulator. |
Looks good on-device — iPhone 5, iOS 9. 👍 |
Transform::{_moveBy,_setAngle} were returning Update::Nothing, causing the render to not repaint. Replacing with Update::Repaint fixes the issue. Fixes mapbox#2036.
Tapping the compass no longer reliably resets the bearing — upon tapping, the compass will sometimes stutter towards north a few degrees and halt. Other times the compass will haltingly reset to north and disappear.
Not seeing any particular pattern right now.
/cc @mapbox/mobile
The text was updated successfully, but these errors were encountered: