Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Previous state of the layer/texture/tile stucks on the display after zooming #2304

Open
vilinet opened this issue Nov 20, 2021 · 0 comments
Open

Comments

@vilinet
Copy link

vilinet commented Nov 20, 2021

TO REPRODUCE THE ISSUE, FOLLOW THESE STEPS:

Draw some shape on a layer, zoom out and back, and then start changing the content of that layer quickly, like changing the shape by mouse or grabbing it, and the old texture/state(the state after the zoom stopped) flashes on the screen during the operations. (can see it happening on the attached footage from the 7th second)

This is not a new issue, I see it for ages, but it is really a deal-breaker when need to handle things dynamically.

A bare minimal MainActivity and scene to reproduce it.
code-sample.zip

FYI:
Just to stress that RequestRender() in the code sample has nothing to do with this bug.
Changing the layer does not trigger screen redraw for some reason.
Of course, the rendering mode can be set to continuous, but it looks like the map is not updating when it gets dirty.

RESULT:

tangram-display-glitch.mp4

EXPECTED RESULT:

It should not show the old "textures" :)

ENVIRONMENT:

  • Android
  • Latest main

OTHER:

code-sample.zip

@vilinet vilinet changed the title Previous state of "layer"/texture stucks on the display Previous state of the layer/texture/tile stucks on the display Nov 20, 2021
@vilinet vilinet changed the title Previous state of the layer/texture/tile stucks on the display Previous state of the layer/texture/tile stucks on the display after zooming Nov 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant