Your Digital Media Has Never Looked So Good

 
YungBlood
Topic Author
Posts: 133
Joined: Wed Jul 07, 2010 10:05 pm
Location: California
Contact:

Lost Focus after screensaver

Fri Sep 03, 2010 1:02 am

I thought I saw something about this, but I can't seem to find it.

My app loses focus after the screen saver activates. If I remember correctly, after pressing a key, my app screen does show up. However, I'm unable to control my app. The only thing I can do is press the home key, and exit all the way out.

If it makes any difference, I have a posterboard screen, which goes to a springboard screen, which goes to an imagecanvas...

-Kevin
YungBlood

Bringing more fun to Roku!
 
User avatar
TheEndless
** Valued Community Member **
Posts: 9231
Joined: Mon Oct 04, 2004 10:15 am
Location: US
Contact:

Re: Lost Focus after screensaver

Fri Sep 03, 2010 8:31 am

Here's the original thread: viewtopic.php?f=34&t=30906

My issue ended up being that I had an "roOneLineDialog" with ShowBusyAnimation() open earlier in the stack, and apparently it was capturing focus (without repainting) after exiting the screensaver. If you have any dialogs with ShowBusyAnimation() enabled, you'll want to make sure you close and kill the reference before painting a new screen on top of them.
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)
 
YungBlood
Topic Author
Posts: 133
Joined: Wed Jul 07, 2010 10:05 pm
Location: California
Contact:

Re: Lost Focus after screensaver

Fri Sep 03, 2010 7:53 pm

Thank You!!!!!

That was exactly my problem!
-Kevin
YungBlood

Bringing more fun to Roku!

Who is online

Users browsing this forum: Komag and 4 guests