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.

Map layer stops updating after user interaction #6031

Closed

Description

@mikkoto

Platform: Oneplus 2, android 5.1.1, OxygenOs 2.2.1
Mapbox SDK version: 4.2.0-beta1

On Oneplus 2, android 5.1.1 map layer stops updating after user pans or zooms. Only markers are updated based on user interaction. Also occasionally map layer is not displayed at all i.e. only black screen is displayed with markers on top of it.

The issue can be reproduced using the Mapbox Dev Preview app found on Google Play.

oneplus2_mapbox_420beta

Activity

  1. added
    Android
    on Aug 17, 2016
  2. added this to the android-v4.2.0 milestone on Aug 17, 2016
  3. zugaldia commented on Aug 17, 2016

    @zugaldia
    Member
  4. cammace commented on Aug 22, 2016

    @cammace
    Contributor

    Thanks for reporting this, were you able to reproduce this issue on any device besides the Oneplus 2? I'm seeing two issues here, one with the markers becoming unattached from the mapview like you demonstrate in the gif. The other issue being that sometimes the map style doesn't load in correctly, is this also reproducible in the demo app? Also was this an issue introduces in 4.2.0-beta1 or has it always been an issue? If you're unsure, switching to a lower SDK version such as 4.1.1 and testing will help out tremendously!

  5. mikkoto commented on Aug 23, 2016

    @mikkoto
    Author

    I just tested this with couple of development devices we have around. I couldn't reproduce this using any of the following:

    • Samsung Galaxy SII, android 4.1.2
    • Nexus 5, android 4.4
    • Sony Xperia m4 aqua (e2303), android 5.0
    • Nexus 5X, android 6.0.1

    Also I haven't seen this behaviour with older Mapbox (e.g. 4.1.1.) when testing our own app with Oneplus 2.

    The other issue of map style not loading can also be reproduced using the demo. See attached gif.
    oneplus2_mapbox_420beta_2

  6. zugaldia commented on Sep 19, 2016

    @zugaldia
    Member

    Assigning @ivovandongen to help reproducing the issue.

  7. modified the milestones: , android-v4.2.0 on Sep 19, 2016
  8. langsmith commented on Mar 8, 2017

    @langsmith
    Contributor

    I tested using 5.0-beta.2 and was unable to reproduce this problem on my OnePlus 3. The markers appear to stay attached to the mapview.

    giphy

  9. HappyDr0id commented on Jan 18, 2018

    @HappyDr0id

    I got exactly the same issue : I have a map in a bottomsheet, which is in textureMode because of visual glitches when I drag the bottomsheet, and if I collapse the bottomsheet and expand it back, the map is totally frozen, not responding to user interaction, but MarkersViews are moving okay.
    Finally the map is only working correctly on the first display.

    I retrieved these logs when it happens :

    01-18 14:49:19.297 15642-17390/fr.xpdigit.apptourism E/BufferQueueProducer: [SurfaceTexture-0-15642-2] dequeueBuffer: BufferQueue has no connected producer
                                                                                
                                                                                [ 01-18 14:49:19.297 15642:17390 D/         ]
                                                                                NULL == surf->write_back_color_buffer
    01-18 14:49:19.300 15642-17390/fr.xpdigit.apptourism E/BufferQueueProducer: [SurfaceTexture-0-15642-2] dequeueBuffer: BufferQueue has no connected producer
                                                                                
                                                                                [ 01-18 14:49:19.301 15642:17390 D/         ]
    

    I am using the last MapBox Android SDK Version (5.3.1) and I reproduced the issue on multiple devices : Samsung A3 (2016) SM-1310F on Android 7.0, Samsung S7 on Android 7.0, Moto E on Android 4.4.4, Nexus 5 on Android 6.0.1. But the issue is not reproduced on the Nexus 5X on Android 8.0.

    I hope that it will help you to resolve this issue guys.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Android

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions