Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
greubel
Level 7

Overlay roPosterScreen with ImageCanvas

This used to work ???

I have a roPosterScreen object that is overlayed with a roImageCanvas which contains additional information about the selected item. This works fine for the older boxes but the new level clears out the all but the overhang.

Level 6.x


Level 3.x


Any ideas ?
0 Kudos
6 Replies
belltown
Level 7

Re: Overlay roPosterScreen with ImageCanvas

I have no idea why it may have worked in the past, but not any more, although it's definitely not something that's supported, according to the Component Reference:

The top screen on the stack is the only one that is visible; all lower screens are hidden
https://github.com/belltown/
0 Kudos
TheEndless
Level 7

Re: Overlay roPosterScreen with ImageCanvas

I'm even more curious as to how it could have worked at all. Doesn't the roImageCanvas intercept all of the keypresses, preventing the user from navigating the poster screen underneath? Were you closing the canvas and re-sending the keypress via ECP or something? I'm intrigued...
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
0 Kudos
squirreltown
Level 8

Re: Overlay roPosterScreen with ImageCanvas

"TheEndless" wrote:
I'm even more curious as to how it could have worked at all. Doesn't the roImageCanvas intercept all of the keypresses, preventing the user from navigating the poster screen underneath? Were you closing the canvas and re-sending the keypress via ECP or something? I'm intrigued...

Yea me too. Inquiring Devs want to know. The magic 8-ball can see your future though, "it is decidedly ...roScreen".
Kinetics Screensavers
0 Kudos
Rek
Level 7

Re: Overlay roPosterScreen with ImageCanvas

"squirreltown" wrote:
The magic 8-ball can see your future though, "it is decidedly ...roScreen".


0 Kudos
greubel
Level 7

Re: Overlay roPosterScreen with ImageCanvas

The ImageCanvas screen is created in a subroutine. Then the keypress from the msg port is returned to the main routine.

It still appears to function correctly BUT the main part of the PosterScreen disappears ???
Why is the overhang still visible if the ImageCanvas replaced it ???

I know this used to work !
0 Kudos
belltown
Level 7

Re: Overlay roPosterScreen with ImageCanvas

"greubel" wrote:

Why is the overhang still visible if the ImageCanvas replaced it ???

It's only visible until the screen saver kicks in then exits, after which it will be replaced by blackness (at least with today's firmware; who knows how it will behave tomorrow).
https://github.com/belltown/
0 Kudos