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

Issue 654812 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Jan 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Chrome , Mac
Pri: 2
Type: Bug



Sign in to add a comment

md-settings: clear browsing data dialog is spacious and weird

Project Member Reported by dbeam@chromium.org, Oct 11 2016

Issue description

steps to reproduce:

0. visit chrome://md-settings/clearBrowserData (or somehow get to the new, material clear browsing data dialog)

what do you expect?
something that usefully conveys information in an equally polished way as chrome://settings/clearBrowserData (the older version we're trying to replace).

what do you get instead?
the new dialog looks far too spacious when checkboxes are unchecked (each row is 56px high even though the text and checkbox are only 16px high (default font + zoom).  the ripple is 40px, so I suppose the minimum we can have is 40px.  there is a rule in the CSS that attempts to do this, but it's being overidden (functionally) within the shadow DOM of <settings-checkbox>.

additionally, there was talk of ensuring that there's always half a checkbox poking out in  bug 652027  to appease overlay scrolling platforms (i.e. Mac) but it seems silly and unsustainable to me to have to make every custom-scrollable element have some partial row item showing.  additionally, unchecking some of these checkboxes would probably decrease their height from 56px (checked, 2 lines of text) to 40px (unchecked, 1 line of text) and might end up making the logic harder to get right.

so, I think we should do one of two things:

a) make checkbox rows shorter when unchecked (so the spacing looks saner)
b) always show the second line of text (i.e. what would be cleared)

if we make unchecked rows shorter, it could make it hard for some users with overlay scrolling to know they can scroll in this dialog (but I think that's a general issue with overlay scrolling to begin with).

if we always show secondary text, it might be easier to predictably show half a row (all rows will be 56px always), but there are silly secondary texts lying around like "none" that look like bugs.
 
2016-10-11-104032_545x671_scrot.png
45.6 KB View Download
2016-10-11-104044_542x674_scrot.png
34.4 KB View Download
2016-10-11-104207_532x461_scrot.png
48.9 KB View Download
2016-10-11-104215_535x462_scrot.png
41.0 KB View Download

Comment 1 by dbeam@chromium.org, Oct 11 2016

Status: Assigned (was: Started)

Comment 2 by bettes@chromium.org, Oct 14 2016

Cc: -dbeam@chromium.org
Owner: dbeam@chromium.org
Option A (make checkbox rows shorter when unchecked) is expected. See mocks and note the max-height of 561px. 

https://folio.googleplex.com/chrome-ux-specs-and-sources/Chrome%20Inner%20Pages/03-Settings/preview/cards#%2FPREVIEW-Privacy_04.png%3Fz=width


Comment 3 by dbeam@chromium.org, Oct 14 2016

Cc: shrike@chromium.org

Comment 4 by dbeam@chromium.org, Oct 14 2016

Cc: -msramek@chromium.org dbeam@chromium.org
Owner: msramek@chromium.org
Cc: maxwalker@chromium.org
We have been discussing this with maxwalker@ and came to the conclusion that b) would be the best. Let's just confirm with the UI review, as the current behavior was explicitly discussed in the past as a way to make the UI less cluttered.
Project Member

Comment 6 by bugdroid1@chromium.org, Jan 12 2017

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

commit e36f41845d3f6232aaeddf68fcde9576c7446344
Author: msramek <msramek@chromium.org>
Date: Thu Jan 12 21:27:38 2017

Always show counters in the material design Clear Browsing Data dialog.

Previously, they were only shown when the corresponding datatype was
checked. This led to uneven spacing between checkboxes and arguably
strange visual behavior where text was appearing and disappearing.

See the linked bug for screenshots.

BUG= 654812 
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation

Review-Url: https://codereview.chromium.org/2623033003
Cr-Commit-Position: refs/heads/master@{#443364}

[modify] https://crrev.com/e36f41845d3f6232aaeddf68fcde9576c7446344/chrome/browser/browsing_data/autofill_counter_browsertest.cc
[modify] https://crrev.com/e36f41845d3f6232aaeddf68fcde9576c7446344/chrome/browser/browsing_data/cache_counter.cc
[modify] https://crrev.com/e36f41845d3f6232aaeddf68fcde9576c7446344/chrome/browser/browsing_data/cache_counter.h
[modify] https://crrev.com/e36f41845d3f6232aaeddf68fcde9576c7446344/chrome/browser/browsing_data/cache_counter_browsertest.cc
[modify] https://crrev.com/e36f41845d3f6232aaeddf68fcde9576c7446344/chrome/browser/browsing_data/history_counter_browsertest.cc
[modify] https://crrev.com/e36f41845d3f6232aaeddf68fcde9576c7446344/chrome/browser/browsing_data/media_licenses_counter_browsertest.cc
[modify] https://crrev.com/e36f41845d3f6232aaeddf68fcde9576c7446344/chrome/browser/browsing_data/passwords_counter_browsertest.cc
[modify] https://crrev.com/e36f41845d3f6232aaeddf68fcde9576c7446344/chrome/browser/resources/settings/clear_browsing_data_dialog/clear_browsing_data_dialog.html
[modify] https://crrev.com/e36f41845d3f6232aaeddf68fcde9576c7446344/chrome/browser/resources/settings/controls/settings_toggle_button.html
[modify] https://crrev.com/e36f41845d3f6232aaeddf68fcde9576c7446344/chrome/test/data/webui/settings/privacy_page_test.js
[modify] https://crrev.com/e36f41845d3f6232aaeddf68fcde9576c7446344/components/browsing_data/core/counters/autofill_counter.cc
[modify] https://crrev.com/e36f41845d3f6232aaeddf68fcde9576c7446344/components/browsing_data/core/counters/autofill_counter.h
[modify] https://crrev.com/e36f41845d3f6232aaeddf68fcde9576c7446344/components/browsing_data/core/counters/browsing_data_counter.cc
[modify] https://crrev.com/e36f41845d3f6232aaeddf68fcde9576c7446344/ios/chrome/browser/browsing_data/cache_counter.cc
[modify] https://crrev.com/e36f41845d3f6232aaeddf68fcde9576c7446344/ios/chrome/browser/browsing_data/cache_counter.h
[modify] https://crrev.com/e36f41845d3f6232aaeddf68fcde9576c7446344/ios/chrome/browser/browsing_data/cache_counter_unittest.cc

Status: Fixed (was: Assigned)
Status: Verified (was: Fixed)
Chrome OS 9532.0.0, 60.0.3092.0

Sign in to add a comment