[phone] Brightness slider should show value set by user or auto-brightness, not screen's actual brightness.

Bug #1583099 reported by Ratchanan Srirattanamet on 2016-05-18
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
indicator-power (Ubuntu)
Undecided
Unassigned

Bug Description

Reproduce step #1:
1. For convenience, set screen time out to 30 seconds.
2. Pull power indicator down, then set brightness to some value above the lowest.
3. Leave the indicator open and wait until screen dims the brightness.

Expected result: Brightness slider stays at value set in step 2.
Actual result: Brightness slider jumps (actually, slides smoothly) to lowest value.

Reproduce step #2:
1. Set brightness to the maximum.
2. Slide brightness slider to minimum quickly.

Expected result: Slider sticks to the finger.
Actual result: The slider seems to jumps around. And it seems like it tries to jump to actual screen brightness.

This seems to related to LP #1562898

Device: LG L 90 Dual (my port)
Ubuntu image: 20160514-020303 (This come from build description because somehow UBPorts stop sending image number.)

summary: [phone] Brightness slider should show value set by user or auto-
- brightness, not screen's actual brightsens.
+ brightness, not screen's actualbrightness.
summary: [phone] Brightness slider should show value set by user or auto-
- brightness, not screen's actualbrightness.
+ brightness, not screen's actual brightness.
Matthew Paul Thomas (mpt) wrote :

The same problem happens with the brightness slider in System Settings. So this is not a problem with indicator-power, it is a problem with the shell.

I don’t think it’s healthy for the brightness slider to have to know about, and ignore, Unity altering the system brightness for locking purposes — because that might not be the only reason it ever happens. For example, we might decide that if you switch to an external display, your phone’s display should fade out as the external display fades in. If so, it’s unlikely that anyone would remember to add special code to the brightness slider to ignore that too.

I think a better solution would be for Unity to dim the display using something that isn’t the user brightness setting. The total brightness should equal the brightness setting × that other factor that Unity occasionally alters from 100%.

affects: indicator-power (Ubuntu) → unity8 (Ubuntu)
Michał Sawicz (saviq) on 2016-05-19
affects: unity8 (Ubuntu) → indicator-power (Ubuntu)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers