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

All animations broken #2036

Closed
Closed

Description

@friedbunny

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

Activity

  1. added
    iOS
    on Aug 11, 2015
  2. added
    Android
    on Aug 11, 2015
  3. ljbade commented on Aug 11, 2015

    @ljbade
    Contributor

    Happens on Android too, noticed in #1856 (comment)

  4. 1ec5 commented on Aug 11, 2015

    @1ec5
    Contributor

    #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.

  5. 1ec5 commented on Aug 11, 2015

    @1ec5
    Contributor

    This is causing -[MapViewTests testCompassTap] to fail reliably.

  6. self-assigned this
    on Aug 11, 2015
  7. added this to the milestone on Aug 11, 2015
  8. 1ec5 commented on Aug 11, 2015

    @1ec5
    Contributor

    Regression from fa4636f for #1979.

  9. incanus commented on Aug 11, 2015

    @incanus
    Contributor
  10. 1ec5 commented on Aug 12, 2015

    @1ec5
    Contributor

    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.

  11. 1ec5 commented on Aug 12, 2015

    @1ec5
    Contributor

    Probably related: when tracking user location, the user dot often shuffles out of view.

  12. assigned and unassigned on Aug 12, 2015
  13. 1ec5 commented on Aug 12, 2015

    @1ec5
    Contributor

    All animation is broken, and I’m having a difficult time untangling fa4636f. @brunoabinader, can you look into this?

  14. 3 remaining items

  15. brunoabinader commented on Aug 13, 2015

    @brunoabinader
    Contributor

    Got lucky with wifi onboard, so I managed to find the root cause: mbgl::Transform::{_moveBy,_setAngle} were returning Update::Nothing, causing the render call to not repaint. Changing those to Update::Repaint fixed all the aforementioned issues. Fixed in #2060.

  16. brunoabinader commented on Aug 13, 2015

    @brunoabinader
    Contributor

    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?

  17. ljbade commented on Aug 13, 2015

    @ljbade
    Contributor

    Works on Android

  18. 1ec5 commented on Aug 13, 2015

    @1ec5
    Contributor

    Works great on iOS 8.4 on an iPhone 6 and on the iOS 9 Simulator.

  19. friedbunny commented on Aug 13, 2015

    @friedbunny
    ContributorAuthor

    Looks good on-device — iPhone 5, iOS 9. 👍

  20. added a commit that references this issue on Nov 6, 2015
    0f6ac20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

AndroidbugiOS

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions