New issue
Advanced search Search tips

Issue 657150 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 641663
Owner: ----
Closed: Oct 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Chrome , Mac
Pri: 3
Type: Bug

Blocked on:
issue 641663

Blocking:
issue 614588
issue 614589



Sign in to add a comment

MD Settings: Search and navigation are incompatible

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

Issue description

When search results are shown, navigation should still work. Options does a real back navigation (because it uses search URLs), but we probably want a similar effect.

In Options, every search is a navigation, so you can navigate back and forth through a stack:
  1. chrome://settings-frame/
  2. chrome://settings-frame/search#foo
  3. chrome://settings-frame/search#bar
  4. chrome://settings-frame/search#baz

MD Settings should at least do *something* on back navigation, even if it just blindly clears the search. Bonus points if we use a real history and can also move forward in history to redo searches.
 
Blockedon: 641663

Comment 2 by dbeam@chromium.org, Oct 18 2016

settings searches on each keystroke.  i don't really see stuffing each keystroke into a user's history as useful.

chrome://settings/search#c
chrome://settings/search#ca
chrome://settings/search#cat
chrome://settings/search#cat%20
chrome://settings/search#cat%20v
chrome://settings/search#cat%20vi
chrome://settings/search#cat%20vid
chrome://settings/search#cat%20vide
chrome://settings/search#cat%20video
chrome://settings/search#cat%20videos

Comment 3 by dpa...@chromium.org, Oct 18 2016

Labels: Proj-MaterialDesign-WebUI
Labels: -Pri-2 Hotlist-MD-Settings-Navigation Pri-3
Status: Available (was: Untriaged)
So one problem arising from this could be:
1) Go to chrome://md-settings
2) Search for something
3) Press "back" to exit search; instead get taken to new tab page

I don't think this is high priority since there's a button made for clearing the searchbox, but I do think it's a nice-to-have.

Re #2, Options only behaves that way with if you have a long enough delay between keystrokes, so it isn't necessarily stuffing every keystroke into history (though slow typists might experience it). Alternatively we could use history.replaceState() for each change of the search string so it all acts as one search.

Comment 5 by dpa...@chromium.org, Oct 19 2016

@michaelpg: Is this effectively a duplicate of https://bugs.chromium.org/p/chromium/issues/detail?id=649276? If so let's keep one of them to track "search and navigation" issues.
Mergedinto: 641663
Status: Duplicate (was: Available)

Sign in to add a comment