Bug 6794 - Need a "Screen Off" screensaver
: Need a "Screen Off" screensaver
Status: CLOSED FIXED
Product: SB Controller
Classification: Unclassified
Component: Settings
: unspecified
: PC Other
: P2 enhancement with 1 vote (vote)
: 7.1
Assigned To: Ben Klaas
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-01-26 05:05 UTC by Peter Watkins
Modified: 2009-09-08 09:23 UTC (History)
3 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Watkins 2008-01-26 05:05:33 UTC
I find myself using a Controller to display album art for what's playing on my SB3. The Controller's cradle sits behind the SB3, so the album art appears above/behind the SB3's VFD. This works well, but 1) requires that I not enable "Dim when charging" and 2) leaves the SBC display on once the SB3 has stopped playing. It would be nice to have an option to leave the screen on, and at full brightness, when the CBS is in the cradle and its player is playing.
Comment 1 KDF 2008-01-26 09:44:38 UTC
could be integrated with anything done for bug 6620.
Comment 2 Peter Watkins 2008-01-26 18:45:30 UTC
Maybe the simplest/best approach would be adding a "Blank the screen" screensaver that could be used for Stopped mode. Can screensavers programatically indicate that they should exit if the accelerometer detects movement? Could the screensaver use Jive APIs to push the user to the Home screen when there's movement?
Comment 3 Blackketter Dean 2008-01-26 21:31:02 UTC
I think we should add another screensaver called "Screen Off" that can be used to force the controller to be dark when not playing.  Of course, if you pick it up, i will wake from the screensaver and light up the screen.

How's that sound?
Comment 4 Andy Grundman 2008-03-14 12:42:49 UTC
I really want this one too. :)
Comment 5 Markus Schiegl 2008-05-12 08:37:06 UTC
me too :-)
Comment 6 Ben Klaas 2008-06-13 12:50:18 UTC
7.1 r2562 has a BlankScreen screensaver which appears (EN) as "Screen off" in the screensavers list.

Currently the screensaver just renders a black window when activated and does not dim the screen, which is an incomplete solution (a black window still glows). But, Richard is working on some things that need to get merged in before I can solve that part of it. Should be fixed to completion early next week.
Comment 7 Ben Klaas 2008-07-02 12:57:11 UTC
"Screen Off" screensaver fully functional in 7.1 r2657
Comment 8 Markus Schiegl 2008-07-06 10:06:29 UTC
I'm running 7.1 r2664, unfortunately it doesn't work as it should (i think).

If the screensaver kicks in (e.g. if configured as "stopped"-screensaver), the display is been turned off, unfortunately permanently. With the screensaver stopped (playing a song) i get no image on the screen although I can hear the navigation sounds. (r2562 works "better" as in "i get my image back" but lacks a dark screen :-)

I leave this bug closed if no one else has this problem.
Comment 9 Ben Klaas 2008-07-06 16:43:09 UTC
7.1 is certainly cannot be released with a screensaver that permanently turns the screen off. I had this problem early in development but thought I'd fixed it. Reopening for further investigation.
Comment 10 Ben Klaas 2008-07-07 09:46:10 UTC
this should be fixed in r2669. Give it another whirl if you could, Markus, and thanks for the catch!
Comment 11 Markus Schiegl 2008-07-08 11:14:11 UTC
I built 7.1 r2674 but it performs the same way as r2562

my test-case:
- the SBC sits in the cradle
- play some music until the "now playing" screensaver kicks in
- pause music
- "blank screensaver" is activated, although the (lcd)background is not as dark as in r2657
- unpause music
- "now-playing" screensaver is displayed again (better than r2657)

can you verify this? thanks!
Comment 12 Markus Schiegl 2008-07-08 11:45:22 UTC
okay, if the music is paused and then the blank-screen-screensaver is activated it really works (no backlight + no lookup). OTOH if you start playing music while this is the case, the screen stays dark. Seems there are some more cases to handle...
Comment 13 Ben Klaas 2008-07-08 11:52:01 UTC
another nice find, Markus...I can easily reproduce this :-/

Looks like what's happening is that the popup "toast" is reactivating power to the screen, which is why it is continuing to glow (actually you'll see it go off and then immediately flicker back on).

I'm also seeing the key backlighting never turn back on.

Richard has recommended a fix that I'm going to try out now.

Reopening...
Comment 14 Ben Klaas 2008-07-08 12:52:49 UTC
r2676 adds window event handlers to shut the screen off on WINDOW_EVENT_ACTIVE (i.e., whenever this screensaver window is on the top of the stack) and turn the screen back on for EVENT_HIDE (i.e., when the screensaver closes)

Tested in a variety of situations, including the testcase Markus described in comment #11. Works in all cases.

Comment 15 Markus Schiegl 2008-07-11 14:35:03 UTC
works really fine now!
a wish (comment #5) has come true :-) thanks a lot.
Comment 16 Chris Owens 2008-07-30 15:28:55 UTC
This bug has now been fixed in the 7.1 release version of SqueezeCenter!  Please download the new version from http://www.slimdevices.com if you haven't already.  

If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.