Bug 8044 - Need brightness option under Settings > SN
: Need brightness option under Settings > SN
Status: CLOSED FIXED
Product: MySqueezebox.com
Classification: Unclassified
Component: Player UI
: unspecified
: All All
: P1 major (vote)
: ---
Assigned To: Andy Grundman
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-05-03 01:31 UTC by Max Spicer
Modified: 2009-09-08 09:14 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments
move getBrightnessOptions to display class (3.52 KB, patch)
2008-06-20 09:32 UTC, KDF
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Max Spicer 2008-05-03 01:31:46 UTC
There should be a way of choosing the brightness level from Settings in the player ui.  Without a brightness button on the remote, the only alternative is the web interface.

Of course, this all depends on how effective auto dimming is and whether that's the default.
Comment 1 Jim McAtee 2008-05-03 12:26:17 UTC
Huh, never noticed that it was missing.  It would be incredibly tedious to use, but it should be there somewhere.  Setting the Auto (light sensing) mode or setting to Manual and a single fixed brightness setting would probably be the only practical use.
Comment 2 KDF 2008-05-05 11:54:15 UTC
so, should the setting be there in all player menus, or only available from a boom player?

Comment 3 Blackketter Dean 2008-05-05 12:08:40 UTC
I don't see why we would limit it to boom.


Comment 4 KDF 2008-05-05 16:57:44 UTC
initial patch at change 19450.

Todo: 
- still needs to handle a scalable number of brightness options
- only handles ONE option beyond the maxBrightness index.  Could we potentially have more?
- potentially remove the autobrightness option.
Comment 5 Blackketter Dean 2008-05-10 22:22:46 UTC
Looks good.  

Couple of minor tweaks...

KDF:  can you remove the Automatic Display Brightness option and rename the three choices to:

Power On Brightness
Power Off Brightness
Idle Brightness

Thx!
Comment 6 KDF 2008-05-10 22:40:41 UTC
so, are we removing the automatic pref for all, or just boom?
Comment 7 KDF 2008-05-10 22:55:56 UTC
strings done at change 19632
Comment 8 Blackketter Dean 2008-05-11 08:00:43 UTC
The automatic pref is just confusing, let's remove it.

Thx!

Comment 9 KDF 2008-05-11 12:40:40 UTC
change 19641 removes all uses of the pref, corrects strings and settings.
strings will need new translations, so I've cleaned out the non-EN.

reopen if there are any issues. complaints may be directed to mr. blackketter :)
Comment 10 Philip Meyer 2008-05-27 14:25:34 UTC
This change seems to have broken the Auto Display third-party plugin, which attempts to change the brightness level of power off mode overnight.

The plugin seems to change the brightness, but then SC resets it back to the configured brightness level.

I don't think it's particularly clear what the difference is between:
Power On Brightness
Idle Brightness

If you switch from power off to power on, that's idle mode is it not?
Comment 11 KDF 2008-05-27 14:47:04 UTC
see also bug 7922, which is REALLY what causes the auto dim to no longer work.  See also comments in Bug 8237.  The plugin should really be adjusted to work around what is the correct thing for the server to be doing, pending any changes such as those mentioned in bug 1850.  

Power On Brightness vs Idle Brightness (idle state is post-screensaver timeout).  Pressing POWER will trigger a reset of the IR timer, thus enters Power on brightness. See Slim::Buttons::ScreenSaver::wakeup().  Only if the button is 'brightness' or mapped to the "dead" function will the brightness remain in "idle" setting, or in any other case where perhaps a plugin is resettings the LastIRTime

Comment 12 Philip Meyer 2008-05-27 15:24:00 UTC
>see also bug 7922, which is REALLY what causes the auto dim to no longer work. 
bug 7922, comment #4 indicates that it will continually check against the current pref and adjust accordingly, but ONLY if the setting for automatic adjustment is checked.

bug 8044 has subsequently removed the auto adjustment code, but it still automatically continually checks and changes brightness levels.

Is it really right that the server should need to continually be checking and if necessary changing the brightness level?  I would have thought that only a single one-off change would be necessary when a brightness change is committed (eg. when changing the setting via WebUI).

For a plugin to change the brightness level using it's own rules, it appears that the plugin will now have to overwrite the relevant SC brightness value?


>Power On Brightness vs Idle Brightness
I think I understand now.  "Power on" means when someone is actively using the box (i.e. has pressed a key on the standard IR remote, and also presumably any special keys on the box, such as Transporter front panel keys).  Idle is when the power is on, but no key has been pressed (effectively when the "Screensaver when playing" or "Screensaver when stopped" is invoked).

I think the information pop-up for the "Power on brightness" setting needs updating (it still mentions the auto brightness functionality), and perhaps additional information could be added to "Power off brightness" and "Idle brightness" settings to clarify what they are for.
Comment 13 KDF 2008-05-27 15:34:13 UTC
removal of the automatic brightness pref means it is always automatic. Removing the pref means that the option to shut it off, manual operation only, is no longer available.

Thus, checking is required, because it is designed to match the PREF.  Given that the pref can be changed from multiple locations, it needs to check periodically for ir state changes and pref change. Yes, we could create onChange callbacks for the pref change, but then it would have to know the state of the ir timer (requiring a new ir callback to update ir state) and power.  All possible, but also works as written.  As always, patches are welcome, but should be attached to a new report.

Comment 14 James Richardson 2008-06-20 08:36:55 UTC
Brightness Settings do not function.

going to the setting I get a bounce when attempting to go right on the 3 chooses

Settings > Display > Brightness > :
1) While On
2) While Off
3) Idle Brightness

Using FW 14
Connected to SN

Connected to SC 7.1-20714 the feature functions properly
Comment 15 KDF 2008-06-20 08:44:40 UTC
reassigning, since there is nothing I can do about SN stuff.  I can only guess that there was a missed merge (perhaps missing maxBrightness or the BrightnessMap from the Boom player class.
Comment 16 Andy Grundman 2008-06-20 08:48:41 UTC
Heh the problem is the button code is calling into the web code!  All the web code is not loaded on SN.
Comment 17 KDF 2008-06-20 09:16:09 UTC
getBrightnessOptions is probably better in the base Display class then.
Comment 18 KDF 2008-06-20 09:32:55 UTC
Created attachment 3465 [details]
move getBrightnessOptions to display class
Comment 19 KDF 2008-06-20 09:35:48 UTC
patch merged to branch at change 20981. Hope that works better.
Comment 20 Andy Grundman 2008-07-31 11:49:14 UTC
SN has a Settings -> Display -> Brightness menu.
Comment 21 Ross Levine 2008-08-26 16:14:01 UTC
Verified to be working on boom.squeezenetwork.com today. 
Comment 22 James Richardson 2008-12-15 12:02:05 UTC
This bug has been fixed in the latest release of SqueezeNetwork!

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