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

Issue 700547 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: May 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

MD Settings: Should not show subpage animations on direct navigation

Project Member Reported by dpa...@chromium.org, Mar 10 2017

Issue description

Repro:
1) Load any subpage URL directly, for example chrome://md-settings/searchEngines
2) Observe fade-in animation (see attachment)

The animation is unnecessary. It makes the page flicker and also delays the user from getting where they want to go faster.
 

Comment 1 by dpa...@chromium.org, Mar 10 2017

needless_animation.mp4
374 KB View Download

Comment 2 by dpa...@chromium.org, Mar 10 2017

Cc: scottchen@chromium.org

Comment 3 by dbeam@chromium.org, Mar 10 2017

Cc: michae...@chromium.org tommycli@chromium.org

Comment 4 by dbeam@chromium.org, Mar 13 2017

Labels: Hotlist-MD-Settings-Navigation
Status: Available (was: Untriaged)
Owner: scottchen@chromium.org
Status: Started (was: Available)
I made an experimental CL here: https://codereview.chromium.org/2825203003/
For minimum code change, a very brief delay still exists (due to how the subpages are placed inside the section). 

An alternative suggested by dpapad@ is to overhaul how we do views. In short, have some sort of view-stack manager, and each subpage would not be a child of a section but still animates in when called upon. This approach would also fix other tech debt such as scrolling issues, but would take quite some effort and time.

dbeam@ please see attached video and let me know if you think the visual is acceptable for the purpose of this bug, or if we should spend the effort to overhaul how we show views.
removed-animation.mov
1.9 MB Download
Cc: tbuck...@chromium.org
tbuckley@ & bettes@:
So we've made and iterated on a CL that would remove the animation and make the load appear more snappy, but it is adding some logic to an area in the code-base that is more complex than we'd like to maintain in the long run.

So before we dive too deep into cleaning up the code, could you help answer this: is this actually something we want to fix at all? Would people want to see the subpage immediately when they land on it directly, or do they actually prefer to see the animation every time like it does now?

(Just want to emphasize again, this is only for when you land on the subpage url *directly*)

Comment 8 by dbeam@chromium.org, May 4 2017

IMO: no, of course we don't want to show animations when going directly to a page; they serve no real purpose.  this is what the old settings page does (turns off animations while loading).
Status: Fixed (was: Started)

Sign in to add a comment