snandaca
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2011
09:33 AM
Artwork not being refreshed when returning
Hello,
I am having a problem when returning from a nested roGridScreen. I set up a main RoGridScreen and populate it with 5 static items and display it. Everything works fine and when the user clicks on one of the items, I create another RoGridScreen and populate it with dynamic items. I have the property "SetupBehaviorAtTopRow" to exit, so that it returns to the previous RoPosterGrid screen. Everything works well in the nested RoGridScreen and when I press the up arrow button, it comes back to the previous RoGridScreen. However, the artwork being displayed is the nested RoGridScreen and not the original RoGridScreen. The Titles, Description, Category heading everything else is repainted correctly, only the artwork is not painted. Once I press a button on the remote, e.g. the left or the right button, then it gets the correct art work but until then it shows the artwork from the nested RoGridScreen. I have tried naming the RoGridScreen differently, the lists differently, even put in a PosterScreen after it returns which it displays correctly but then when it goes to the RoGridScreen of the top level, it still shows the art work of the nested RoGridScreen. Any help would be appreciated.
Note: I am using v2.9 1553 Roku 1
Thanks,
Nanda
I am having a problem when returning from a nested roGridScreen. I set up a main RoGridScreen and populate it with 5 static items and display it. Everything works fine and when the user clicks on one of the items, I create another RoGridScreen and populate it with dynamic items. I have the property "SetupBehaviorAtTopRow" to exit, so that it returns to the previous RoPosterGrid screen. Everything works well in the nested RoGridScreen and when I press the up arrow button, it comes back to the previous RoGridScreen. However, the artwork being displayed is the nested RoGridScreen and not the original RoGridScreen. The Titles, Description, Category heading everything else is repainted correctly, only the artwork is not painted. Once I press a button on the remote, e.g. the left or the right button, then it gets the correct art work but until then it shows the artwork from the nested RoGridScreen. I have tried naming the RoGridScreen differently, the lists differently, even put in a PosterScreen after it returns which it displays correctly but then when it goes to the RoGridScreen of the top level, it still shows the art work of the nested RoGridScreen. Any help would be appreciated.
Note: I am using v2.9 1553 Roku 1
Thanks,
Nanda
7 REPLIES 7
destruk
Streaming Star
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2011
10:39 AM
Re: Artwork not being refreshed when returning
Nested gridscreens can create graphic display bugs. You should close the gridscreen when an item is selected and recreate your next gridscreen.
Sometimes nested gridscreens work, however, if you have an audioplayer component it will cause graphic issues with your gridscreen as soon as you add content to play.
You might try adding a delay, or wait of 500ms when the top gridscreen closes, that might help.
I just tried opening and closing a gridscreen (that I thought worked fine nested) and the selected row displayed a single poster item when it should have had five. When I pressed down for the next row, the five posters that were supposed to be there scrolled up behind the highlighted poster - really weird. But it's a bug, so I don't think anything can be done through the script to fix that.
Sometimes nested gridscreens work, however, if you have an audioplayer component it will cause graphic issues with your gridscreen as soon as you add content to play.
You might try adding a delay, or wait of 500ms when the top gridscreen closes, that might help.
I just tried opening and closing a gridscreen (that I thought worked fine nested) and the selected row displayed a single poster item when it should have had five. When I pressed down for the next row, the five posters that were supposed to be there scrolled up behind the highlighted poster - really weird. But it's a bug, so I don't think anything can be done through the script to fix that.
destruk
Streaming Star
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2011
10:41 AM
Re: Artwork not being refreshed when returning
viewtopic.php?f=34&t=40632&p=272210&hilit=gridscreen#p272210 -- audioplayer bug
viewtopic.php?f=34&t=41655&p=281755&hilit=gridscreen#p281755 -- sleep(500) courtesy of TheEndless
viewtopic.php?f=34&t=41655&p=281755&hilit=gridscreen#p281755 -- sleep(500) courtesy of TheEndless
snandaca
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2011
12:16 PM
Re: Artwork not being refreshed when returning
Thanks...Any idea on when you might be able to fix it?
I tried the sleep(500) with different values but it didn't work.
Regards,
Nanda
I tried the sleep(500) with different values but it didn't work.
Regards,
Nanda
destruk
Streaming Star
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2011
01:09 PM
Re: Artwork not being refreshed when returning
You mean they, not me. Since I don't have access to the internal component code. PNG transparency doesn't work on the Gridscreen either, so hopefully all those problems get fixed soon.
viewtopic.php?f=34&t=42331
viewtopic.php?f=34&t=42331
jbrave
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2011
01:54 PM
Re: Artwork not being refreshed when returning
try doing this after returning to your grid screen:
dlg=createobject("roonelinedialog")
dlg.settitle("")
dlg.show()
dlg.close()
Don't know if this will work for gridscreens, it does work to refresh posterscreens
- Joel
dlg=createobject("roonelinedialog")
dlg.settitle("")
dlg.show()
dlg.close()
Don't know if this will work for gridscreens, it does work to refresh posterscreens
- Joel
Screenshades: The first Screensaver for Roku2!
Musiclouds: The best free internet music, on your Roku!
Ouroborialis: Psychedelic Screensaver for Roku!
Musiclouds: The best free internet music, on your Roku!
Ouroborialis: Psychedelic Screensaver for Roku!
snandaca
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2011
07:27 PM
Re: Artwork not being refreshed when returning
Thanks...tried that too, didn't work
Regards,
Nanda
Regards,
Nanda
jbrave
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2011
07:42 PM
Re: Artwork not being refreshed when returning
Why not just store all the info from your gridscreen in some arrays, then close the grid and create a new one instead of stacking or "nesting" them. Then when you return, recreate your old grid screen from the arrays, which should have already been loaded. If they are not already loaded when the user clicks to a lower level, just make sure you store the last loaded row so you can pick up loading when you return. This is how I've done it, back before you could stack grid screens.
It is tricky figuring out how to start from where you left off, and you have to "lazy load" everything in the background so the user is free to do whatever they want even if the screen isn't loaded yet, but not impossible.
- Joel
It is tricky figuring out how to start from where you left off, and you have to "lazy load" everything in the background so the user is free to do whatever they want even if the screen isn't loaded yet, but not impossible.
- Joel
Screenshades: The first Screensaver for Roku2!
Musiclouds: The best free internet music, on your Roku!
Ouroborialis: Psychedelic Screensaver for Roku!
Musiclouds: The best free internet music, on your Roku!
Ouroborialis: Psychedelic Screensaver for Roku!