Bug 10516 - None screensaver does not activate when stopped.
: None screensaver does not activate when stopped.
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Display
: 7.3.1
: PC Linux (other)
: -- minor (vote)
: ---
Assigned To: Adrian Smith
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-12-31 05:00 UTC by Peter Oliver
Modified: 2009-09-08 09:14 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments
Pop old screensaver mode when saver changes to "nosaver". (739 bytes, patch)
2008-12-31 06:10 UTC, Peter Oliver
Details | Diff
suggested patch (2.15 KB, patch)
2008-12-31 10:28 UTC, Adrian Smith
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Oliver 2008-12-31 05:00:08 UTC
Set "Screensaver when playing" to "Analog VU Meter" and "Screensaver when stopped" to "None".  Play a track.  Once the track completes, the player is stopped.  However, a motionless VU meter continues to be displayed.  I would expect the "None" screensaver to take over and return me to the menus, as would happen if I pressed one of the arrow keys on the remote control.
Comment 1 Peter Oliver 2008-12-31 06:10:52 UTC
Created attachment 4531 [details]
Pop old screensaver mode when saver changes to "nosaver".

The attached patch seems to do the trick.
Comment 2 Adrian Smith 2008-12-31 10:28:49 UTC
Created attachment 4532 [details]
suggested patch

I think there are other cases too - here's a suggested patch which hopes to cover all cases when the screensaver switches from now playing to idle
Comment 3 Adrian Smith 2009-01-01 04:31:23 UTC
Kevin - does this patch help with your screensaver issues?  (and does it look right?)
Comment 4 KDF 2009-01-01 21:55:30 UTC
Triode, 

You patch does address one of the things I've been seeing (screensaver not switching to the idle saver when playback naturally stops).  

However, the report is a specific case of "none" being the screensaver setting.  Strictly speaking, "none" is supposed to mean "do nothing at all".  Thus, what you get when using the analog VU for playback should be a static VU when IDLE.  That is the design.  The idea of this report seems to be to change this behaviour such that the "none" be based on the state of the player prior to playback.  This way, when the player stops, the analog VU would go away, as would the Now Playing screen if that is the "while playing" screensaver.

I'm not really a fan of special cases myself.  They just end up being a pain later on.  This is more a matter for Dean to decide what the final behaviour should be.  To my mind "none" already does what it's supposed to do: nothing at all.
Comment 5 Adrian Smith 2009-01-02 08:31:04 UTC
Well it depends what we define "none" to mean.  It does seem slightly counter intuative without it, but perhaps thats by design..

Considering the default setting case - as most people will have this - do we want the screen to stay on now playing or go back to the browsed menu when playback stops?
Comment 6 Blackketter Dean 2009-01-02 09:03:34 UTC
I think that when the player is stopped, the idle saver should kick in and display the menu where the user last left off.

If they want the VU meters to stay up, they can use the VU meter screensaver as their idle saver.
Comment 7 Adrian Smith 2009-01-02 09:22:46 UTC
Right - so the patch does this - I'd check into 7.4 but I can't commit it at present...
Comment 8 Blackketter Dean 2009-01-02 11:29:56 UTC
Great, thanks!
Comment 9 Adrian Smith 2009-01-02 11:42:51 UTC
added to 7.4 in change 24467