I’m running into a image rendering/flickering issue with RowList that I can not figure out. The best way to describe what is happening is to show you a video of what im seeing:
How do I prevent flickering when I’m not even using the controller?
Why when I navigate around the RowList do poster images sometimes display and sometimes go away?
It is acting as if it is re-downloading the images constantly, however I don’t see anything in the telnet log. Some of the poster images are large (4 megs) - could that be the issue? Is there some sort of max buffer size for rendering images?
I haven’t used a RowList, but I have run into issues with other components where images that were previously loaded just disappear and don’t automatically re-appear when they should. It’s as if there’s some form of caching going on, images being swapped out to save space, but never swapped back in when they need to be redisplayed. In my case, I was able to fix all of those problems by setting the Posters’ loadSync attributes to “true”. I don’t know how that would work in the context of a RowList though.
Note that you should be able to see which images are loaded at any given moment, and how much space they occupy, by opening up a telnet session to port 8080 and issuing the r2d2_bitmaps command.
loadSync=“true” did not help, I think its cuz per the docs:
if the uri field specifies a file from a remote server (a URL starting with http or https), the image is loaded asynchronously in a background thread, and may not appear immediately. Be careful when setting this field to true, as it might cause brief glitches in the rendering while the image is being fetched and loaded.
Is there a hard limit of 16MB of image buffer for the entire app? I found this SO link that states, as I expected, images get unloaded when img buffer gets full: http://stackoverflow.com/questions/41327516/why-are-heavy-images-not-loading-when-we-scroll-down-and-scroll-up
What is the limit and how can I increase it? roBitmap lists 16MB but is that per image or is 16MB the global limit?