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

Issue 899774 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Nov 27
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

Setup dialog buttons cut off in tablet mode on 1.25x+ scale factor

Project Member Reported by jlklein@chromium.org, Oct 29

Issue description

It looks like if we launch the setup flow in tablet mode on devices with a scaled up screen density (ctrl-shift-+), the buttons to continue/cancel setup are cut off of the bottom of the screen with no way to get to them. Ryan, assigning to you since you did some of the original tablet mode and windowing work.

Original report from erikkay@:

I got the better together promo popup window.  However, the window was strangely clipped, so I couldn't initially get to the button to say I wanted to turn it on.  Scrolling or selecting text (my normal workaround for things that break like this) didn't work, and the window was missing a maximize button, so I couldn't make it bigger directly.  I eventually worked around this by using the alt-] maximize shortcut.

Unfortunately, I didn't capture a bug report or screenshot with this (apologies, that's why I'm guessing by direct filing in this component).  Here are my two guesses for possible causes:
- my default scale factor is 125%
- I have a large external monitor plugged in
 
Owner: elizabethchiu@chromium.org
Along the same lines, if you change the page zoom (Settings > Appearance > Page Zoom) to 125%, the dialog is awkwardly cut off (see screenshot). Elizabeth, can you offer some advice about what we should do here? If the content becomes too big to fit on screen or in the dialog because of display settings, should we add scroll bars? Is there some other path you'd recommend?
Screenshot 2018-10-30 at 11.50.16.png
1.8 MB View Download
Yes if the user Page Zoom to larger UI, we should show scroll bar. 

Here is the spec for scroll bar:
https://drive.google.com/open?id=0B6x6iYCtKinEbVBwQVNtN2tWTXc
Owner: hansberry@chromium.org
Thanks!
Is there a way to know if the UI will be in this state? If so, do we have control over how the setup modal is focussed ie. the user at least is able to see the title and can then scroll to view the buttons and the rest of the text?
Status: Started (was: Assigned)
Investigating.
Apologies for the delayed response.

The fix looks quite trivial. I have a draft fix at [1]. I've attached a screenshot of the result (the scrollbars are visible because I was actively touching the screen). This works as expected in both tablet and clamshell mode. 

We should probably land this initial fix now -- if there are any concerns about how it looks, that can be addressed in follow up CL.

1) https://chromium-review.googlesource.com/c/chromium/src/+/1343191
image (8).png
1.0 MB View Download
Project Member

Comment 8 by bugdroid1@chromium.org, Nov 27

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/7cecfe61811dcc3ae80fda771a6026e13627ac31

commit 7cecfe61811dcc3ae80fda771a6026e13627ac31
Author: Ryan Hansberry <hansberry@chromium.org>
Date: Tue Nov 27 21:11:03 2018

[CrOS MultiDevice] Allow overflow scrolling in setup dialog.

Allowing overflow scrolling lets users with high page zoom
settings scroll across and down overflowing content.

Bug:  899774 
Change-Id: I9bb6a8ea622b61c1d7b76d3cadb0f9be694fe4d3
Reviewed-on: https://chromium-review.googlesource.com/c/1343191
Reviewed-by: Kyle Horimoto <khorimoto@chromium.org>
Commit-Queue: Ryan Hansberry <hansberry@chromium.org>
Cr-Commit-Position: refs/heads/master@{#611321}
[modify] https://crrev.com/7cecfe61811dcc3ae80fda771a6026e13627ac31/chrome/browser/resources/chromeos/multidevice_setup/multidevice_setup_dialog.html

Status: Fixed (was: Started)

Sign in to add a comment