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

Issue 674662 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Feature



Sign in to add a comment

Consider not entering docked mode if no keyboard/mouse is detected.

Project Member Reported by abodenha@chromium.org, Dec 15 2016

Issue description

If you have a laptop with a keyboard and mouse and external display connected and close the lid the device enters docked mode. This is expected and desired.

What gets weird is if you have an external display but NO keyboard or mouse connected.

Right now it goes into docked mode anyway.  I can think of cases where that's probably what you want, but in most cases it isn't.

We should really put some more thought into this case and see if we can do better. 

It's really jarring to close your laptop and have habit telling you that it's ok to walk away, but there's a pile of confidenial info sitting on the screen. Worse, the correction requires reopening the device and properly locking it.

My initial thought is to create a policy "stay awake on lid close" and only stay awake if we detect a full set peripherals or if the policy is set.
 
Labels: -Type-Bug Type-Feature
Just extra thought - I tend to close the shell of the clamshell when I connect it to an external monitor to watch movies. Even though I did not connect a keyboard and a mouse.
Status: Assigned (was: Untriaged)
Cc: abodenha@chromium.org derat@chromium.org kuscher@chromium.org
Labels: M-58
Owner: ----
Status: Available (was: Assigned)
There seem to be two use cases here:

1) Allow enterprises to disable this and/or create a policy for it. Not sure if we have thought about this / enterprises asked for it?

2) For consumers. Despite the use case in c2 I may be convinced to look at least for one peripheral (e.g. a mouse) and if none are attached to not enter the mode. Also +Derat who back in the days worked on it

Comment 5 by derat@chromium.org, Jan 8 2017

Cc: jwer...@chromium.org afakhry@chromium.org bleung@chromium.org
This bug has a lot of overlap with issue 488091, if not actually being a duplicate of it. That bug is long and unusable, though, so I understand starting a new one. :-P

I'm not sure that powerd (which makes the call about entering docked mode based on lid-switch events and Chrome telling it that there's an external display) currently has any knowledge about whether there are external input devices. Probably that could be added, though.

We'd need to handle both Bluetooth and USB devices.

#2: Yes, that use case would be broken by this. A less-convenient workaround would be turning the backlight brightness down, but it would no longer be possible to just close the lid when displaying a movie on an external display. (The behavior when casting is a bit more complicated; see the other lengthy bug.)

We could at least avoid affecting the majority of users, who don't have "Require password to wake from sleep enabled", if we enter dock mode as usual but lock the screen if that pref is set and there are no input devices connected. I'm pretty much restating the conversation from issue 488091 now, though.
It sounds to me that what we need is to "lock" the screen, but not "not entering docked mode", and makes sure that if it will suspend after no activities (basically behave like non docked mode from power/lock point of view)?

If so, a possible stop gap solution is to lock the screen upon entering docked mode.

Comment 7 by ovanieva@google.com, Aug 30 2017

Labels: -Pri-2 Pri-3
Owner: ovanieva@chromium.org
Status: Assigned (was: Available)

Comment 8 by ovanieva@google.com, Aug 30 2017

Labels: -M-58

Sign in to add a comment