Bug 7866 - Leave volume bar up longer
: Leave volume bar up longer
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Player UI
: unspecified
: PC Windows XP
: -- enhancement (vote)
: ---
Assigned To: Adrian Smith
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-04-17 19:08 UTC by Jim McAtee
Modified: 2009-09-08 09:26 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 Jim McAtee 2008-04-17 19:08:17 UTC
I think the volume bar disappears just a _little_ bit too quickly.  Leaving it up a bit longer would facilitate using the knob for volume adjustment.  I find myself sometimes hesitating while adjusting the volume with the knob and then the bar disappears and I have to press the volume rocker again to get it back.
Comment 1 Adrian Smith 2008-04-18 03:55:24 UTC
This is trivial to change, but by default would impact the time it is up for IR mode as well (on all players).  Should we make it longer for all or does it need to be boom specific?
Comment 2 Blackketter Dean 2008-05-02 12:27:06 UTC
Can we have the timeout a bit longer just if you use scroll to adjust volume?
Comment 3 Adrian Smith 2008-05-02 13:00:49 UTC
'scroll' meaning the knob?

We could do longer if we enter the volume mode via the front panel rather than via the remote?  Would this be ok?  [just the knob means bigger changes as we check the timeout at a point in the code which doesn't know if it is the knob or volup/down which is being updated]
Comment 4 Blackketter Dean 2008-05-02 13:16:45 UTC
I meant the knob(s) and up/down arrows.  (i.e. Not the volume buttons.)
Comment 5 Adrian Smith 2008-05-02 13:28:00 UTC
Thats more changes...  Need to look at checking the timeout somewhere which knows what input method is being used.
Comment 6 Jim McAtee 2008-05-02 15:05:54 UTC
If this isn't straightforward, or if it will affect other things, I think I'd wait for additional comments from others before doing antyhing.  I can certainly live with it like it is.
Comment 7 Jim McAtee 2008-06-02 15:04:10 UTC
(In reply to comment #3)
> We could do longer if we enter the volume mode via the front panel rather than
> via the remote?  Would this be ok?

Since this has been targeted, I'd like to comment that I think this is all that's needed.  When using the remote, if the bar is lost you don't lose control of volume - you just press the same button again without missing a beat.

It doesn't seemt very likely to me that anyone is going to press a volume control on the remote and then use the knob.  If they do, then they just get the shorter timeout.

This should also fully address any issues someone may have with not moving quickly enough from the front panel volume control to the knob.
Comment 8 KDF 2008-06-02 16:06:37 UTC
Triode, the mapping should currently be using volume_front for the buttons, so you can simply check the $buttonarg for "front" and that should work
Comment 9 KDF 2008-06-02 16:31:11 UTC
sorry, triode.  That is how it should work, but having checked on it something has been done incorrectly along the way and ir will also call volume_front. That should be the place to do the detection, were it working correctly.
Comment 10 Adrian Smith 2008-06-03 11:37:31 UTC
I'll look at (may need to be later this week though) - as you say should be trivial.

I'm wary of changing too much as we also have a request from Dean to make the volume the default operation of the knob for the now playing mode.
Comment 11 KDF 2008-06-03 12:55:19 UTC
on idea was to get rid of "volume_forward" in the map, changing it to "volume".  

Then, create a special case in Hardware::IR::processFrontPanel so that when idCode == 'volume', at line 768 call:
processCode($client, $irCode."_front", $irTime);

Then in the volume sub of Buttons::Common, check for $buttonarg == $forward and set the timeout there accordingly.

As a long term change, it's not nice but if you want simple and maybe short term, there is one idea. 
Comment 12 Adrian Smith 2008-06-03 13:45:46 UTC
change 20427 should leave the volume display up for 3 seconds if initiated via the front panel, but only 1 second if from the remote control.

Let me know what you think...
Comment 13 Chris Owens 2008-06-05 16:57:57 UTC
Fixed then.  If anyone doesn't like Triode's changes please re-open!
Comment 14 James Richardson 2008-07-25 14:18:30 UTC
Verified functioning properly with r19 & 7.2-22118
Comment 15 James Richardson 2008-12-15 11:58:24 UTC
This bug has been fixed in the latest release of SqueezeCenter!

Please download the new version from http://www.slimdevices.com/su_downloads.html 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.