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

Issue 796017 link

Starred by 0 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Feb 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

Factory: external display defaults in mirror mode and causes external display test fail.

Project Member Reported by youcheng@chromium.org, Dec 19 2017

Issue description

Test Image: 10211.0.0

In this test image, external display defaults to mirror mode (previously it defaults to extend mode).
This causes external display test encounter these issues:
1. Cannot detect if an external monitor is plugged in. (It uses display_info to detect external monitors.)
2. Cannot properly verify external display by challenging operators (they can see the answer in internal display.)

But changing the mirror/extend display mode in Chrome settings page still works.
We could find a way to set DUTs to extend display mode in our factory software to solve this issue.
 
It seems like we can send a key event Ctrl+F4 to switch mirror/extend display mode.
Project Member

Comment 2 by bugdroid1@chromium.org, Jan 29 2018

Labels: merge-merged-factory-scarlet-10211.B
The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/platform/factory/+/7d717ed1257d229c7eeed72d6a9ecabbddd0dd7c

commit 7d717ed1257d229c7eeed72d6a9ecabbddd0dd7c
Author: You-Cheng Syu <youcheng@chromium.org>
Date: Mon Jan 29 09:31:50 2018

external_display: Switch to extend mode from mirror mode automatically.

In some platforms, external displays are default to mirror mode. We have
to switch to extend mode automatically to run external_display test.

BUG= chromium:796017 
TEST=manually

Change-Id: I1c958e4b0674cc377aadef4bd30d6f271d08cb76
Reviewed-on: https://chromium-review.googlesource.com/882523
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Commit-Queue: Youcheng Syu <youcheng@chromium.org>
Tested-by: Youcheng Syu <youcheng@chromium.org>
Trybot-Ready: Youcheng Syu <youcheng@chromium.org>

[modify] https://crrev.com/7d717ed1257d229c7eeed72d6a9ecabbddd0dd7c/po/zh-CN.po
[modify] https://crrev.com/7d717ed1257d229c7eeed72d6a9ecabbddd0dd7c/py/test/pytests/external_display.py

Project Member

Comment 3 by bugdroid1@chromium.org, Jan 30 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/platform/factory/+/84e06027509562ca05bc7e6e66020bc77b284e7f

commit 84e06027509562ca05bc7e6e66020bc77b284e7f
Author: You-Cheng Syu <youcheng@chromium.org>
Date: Tue Jan 30 11:56:26 2018

external_display: Switch to extend mode from mirror mode automatically.

In some platforms, external displays are default to mirror mode. We have
to switch to extend mode automatically to run external_display test.

BUG= chromium:796017 
TEST=manually

Change-Id: I1c958e4b0674cc377aadef4bd30d6f271d08cb76
Reviewed-on: https://chromium-review.googlesource.com/891080
Commit-Ready: Youcheng Syu <youcheng@chromium.org>
Tested-by: Youcheng Syu <youcheng@chromium.org>
Reviewed-by: Pi-Hsun Shih <pihsun@chromium.org>

[modify] https://crrev.com/84e06027509562ca05bc7e6e66020bc77b284e7f/po/zh-CN.po
[modify] https://crrev.com/84e06027509562ca05bc7e6e66020bc77b284e7f/py/test/pytests/external_display.py

Status: Fixed (was: Assigned)

Sign in to add a comment