New issue
Advanced search Search tips

Issue 666646 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 651573
Owner:
Closed: Nov 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Chrome , Mac
Pri: 2
Type: Bug

Blocking:
issue 608535



Sign in to add a comment

MD Settings: Search does not hide Advanced sections before searching

Project Member Reported by michae...@chromium.org, Nov 18 2016

Issue description

My understanding of the desired search design:

1. chrome://md-settings - only Basic is visible
2. enter "setting" in search box
3. all sections disappear
4. as search progresses, each section with a match is shown, with matches
   highlighted

But the actual process differs from the above:

1. chrome://md-settings - only Basic is visible
2. enter "setting" in search box
3. the Advanced sections render below the Basic sections
4. the Basic sections disappear
5. as search progresses, sections in Basic with a match are shown, and
   sections in Advanced without a match are *eventually* hidden.

It ends up in the right state, but has the odd illusion of inserting sections in the middle of the page. See attached video for example. I slowed down search by adding a conditional breakpoint at the beginning of revealParentSection_:
    for (var i = 0; i < 2500; i++) console.log(i);
It never triggers, but evaluating it takes a long time ;-)
 

Comment 1 by dpa...@chromium.org, Nov 18 2016

At first glance, from your "actual happens" list, 4 should be "both basic and advanced disappear". Also this bug sounds very similar (if not a duplicate) to https://bugs.chromium.org/p/chromium/issues/detail?id=65157.

Comment 2 by dpa...@chromium.org, Nov 18 2016

Pasted wrong link. I meant sounds similar to https://bugs.chromium.org/p/chromium/issues/detail?id=651573.
Mergedinto: 651573
Status: Duplicate (was: Untriaged)
Yep, thanks.

Sign in to add a comment