New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 711033 link

Starred by 2 users

Issue metadata

Status: Verified
Owner:
Last visit > 30 days ago
Closed: Apr 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

all 360 convertible chromebooks : power button press + lid close/open leaves system in screen off

Project Member Reported by bleung@chromium.org, Apr 12 2017

Issue description

Chrome Version: 59.0.3068.1
Chrome OS Version: m57, m58, m59
Chrome OS Platform: cave, electro, pyro, snappy
<b>Network info: <network, encryption type, router model (if known)></b>

Please specify Cr-* of the system to which this bug/feature applies (add
the label below).

Steps To Reproduce:
(1) Log in as guest
(2) tap power button once to turn off screen
(3) close lid
(4) open lid

Expected Result:
On lid open, system should resume to screen on.
Actual Result:

System resumes (blue light on system power LED instead of pulsing), but screen is off. Needs another user action to turn screen on.

How frequently does this problem reproduce? (Always, sometimes, hard to
reproduce?)
Always

What is the impact to the user, and is there a workaround? If so, what is
it?
Inconsistent behavior of some lid close/open cases.

Please provide any additional information below. Attach a screen shot or
log if possible.

For graphics-related bugs, please copy/paste the contents of the about:gpu
page at the end of this report.


 

Comment 1 by bleung@chromium.org, Apr 12 2017

Components: OS>Kernel>Power

Comment 2 by bleung@chromium.org, Apr 12 2017

Cc: bleung@google.com

Comment 3 by derat@chromium.org, Apr 12 2017

Labels: -Pri-2 Pri-1
Owner: warx@chromium.org
Status: Assigned (was: Unconfirmed)
I think that this is an oversight of the original design. Chrome currently asks powerd to force the display off when the power button is released after a tap. It doesn't undo that request unless it sees the power button pressed again or an input event (key, mouse, stylus) is received.

I think it should additionally stop forcing the display off when lid events are received. These can be observed via chromeos::PowerManagerClient::Observer::LidEventReceived(). It's probably safe to do this for both lid-closed and lid-opened events -- powerd should turn the display off anyway if the lid is closed, even without a force request from Chrome. Also, if Chrome only stops forcing off when it's notified about lid-open, there will probably be a longer delay before the screen turns back on when resuming.

We may also want to make Chrome stop forcing the display off when entering or exiting tablet mode, which can be observed via TabletModeEventReceived() in the same observer interface (or maybe this should be tied to maximize mode on the Chrome side).

Comment 4 by warx@chromium.org, Apr 12 2017

Status: Started (was: Assigned)
Yes, lid-opened should definitely stop forcing off. For lid-closed, it may not hurt to stop forcing off, but may be not necessary?

For entering/exiting tablet mode to stop forcing display off, we may want UI confirmation.

tbuckley@, with display off on either clamshell/tablet mode, and then filp screen to tablet/clamshell mode, should we make display on?

Comment 5 by derat@chromium.org, Apr 12 2017

I think it'd be good for Chrome to stop forcing off on lid-closed so that powerd can turn the display on immediately on lid-open without needing to wait for Chrome to stop forcing off.

Comment 6 by warx@chromium.org, Apr 12 2017

OK, sorry I forget that comment. I agree. Thanks
I agree we should stop forcing the display off on lid close/open.

What's the rationale for turning on the display on the clamshell<->tablet transition? I wouldn't expect the display to change in that case.

Comment 8 by derat@chromium.org, Apr 13 2017

Re clamshell <-> tablet, that could be interpreted as a signal that the user is about to interact with the device. But thinking about it some more, it'd be hard/impossible to distinguish between that and the case where the user is going from tablet to closed (and passing through clamshell along the way), and we wouldn't want to turn the display on then.

So yeah, just doing this for lid-closed and lid-opened seems fine to me.

Comment 9 by bleung@chromium.org, Apr 13 2017

Hey Dan and Tom,

It's been on my backburner : https://b.corp.google.com/issues/35586256#comment4

If we decide to allow a transition past 180-degrees to resume the system and turn the display on, it actually gives us the ability to enable the touchpad as a wake source again and manage it appropriately through all power states and tablet conversions.

Comment 10 by derat@chromium.org, Apr 13 2017

#9: I'm not sure that waking on tablet mode transitions is relevant to this; it's just about Chrome forcing the display off while the system is awake. Maybe I'm misunderstanding, though.
Labels: ReleaseBlock-Stable

Comment 12 by derat@chromium.org, Apr 13 2017

This went out in M57, right? We should fix it (and Joe has a CL to do that) but ReleaseBlock-Stable probably isn't appropriate for existing bugs that aren't regressions.

Comment 14 by warx@chromium.org, Apr 13 2017

Status: Fixed (was: Started)
Yes, this should be already broken on M-57.

I am marking it fixed for now. Please reopen it if we want the merge. Probably it doesn't need.
Labels: Merge-TBD
[Auto-generated comment by a script] We noticed that this issue is targeted for M-59; it appears the fix may have landed after branch point, meaning a merge might be required. Please confirm if a merge is required here - if so add Merge-Request-59 label, otherwise remove Merge-TBD label. Thanks.
As long as it's in M59, it should be okay.

Comment 17 by warx@chromium.org, Apr 13 2017

Labels: -Merge-TBD
M-59 is not branched yet. Remove Merge-TBD.
Status: Verified (was: Fixed)
Verified on Wizpig & Snappy with version 59.0.3071.8/9460.4.0

Sign in to add a comment