aminogfx icon indicating copy to clipboard operation
aminogfx copied to clipboard

Image Flickering when updating text

Open diogoviannaaraujo opened this issue 10 years ago • 5 comments

when i update a text on the screen the image get blank for milliseconds and then come back

diogoviannaaraujo avatar Oct 31 '14 20:10 diogoviannaaraujo

Hmm. That shouldn't happen. Is this reproducible? Could you post a small code snippet that demonstrates the problem?

joshmarinacci avatar Nov 03 '14 18:11 joshmarinacci

Will try to isolate in a snippet tonight to demonstrate it

diogoviannaaraujo avatar Nov 04 '14 18:11 diogoviannaaraujo

Were you ever able to reproduce this issue?

joshmarinacci avatar Feb 27 '15 04:02 joshmarinacci

I'm having the same issue in aminogfx-gl. I copied the rssFeed demo from aminogfx-core and made the changes to have it work with aminogfx-gl. I always see the 'blank' when the second text line is changed! I can wrap up the project if you like. ( I'm on a Rpi2 with node 0.10.36 )

gepatto avatar Mar 20 '15 22:03 gepatto

Hey Josh, here is a link to a simple example showing the issue using aminogfx-gl (so maybe i should at this issue to the other repo) https://gist.github.com/gepatto/2cb357b025d43ee9cd72

AminoNodes underneath the Text will disappear for a brief moment, but the stage and Nodes drawn on top of the text stay intact.

This flickering does not occur when you only set 1 of the 2 texts.

( by the way, I made a small change to inputevents.fromAminoKeyboardEvent to return the keycode even if the function doesn't recognize the key, without it the keyevents on root in the code in gist probably won't work )

gepatto avatar Mar 26 '15 17:03 gepatto