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

Issue 737034 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Jul 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug-Regression



Sign in to add a comment

MD Bookmarks: Should not be able to 'sort' an empty folder

Reported by rp...@etouch.net, Jun 27 2017

Issue description

Version: 61.0.3141.0 180095eb1bca7df1cdcb02547340499c2ee3af6e-refs/heads/master@{#482153}
OS: Windows (7,8,8.1,10),Linux (14.04 LTS),Mac OS X(10.11.6,10.12.3)
Pre condition : Enable Material Design bookmarks flag from chrome://Flags.

What steps will reproduce the problem?
1. Freshly launch chrome and navigate to chrome://bookmarks
2. Now click on 'iron' icon in top RHS of page and click on 'Sort by title' option,observe

Actual: Unnecessary 'Folder sorted' message is displayed when there are no folders.
Expected: Unnecessary 'Folder sorted' message should not be displayed when there are no folders.

This is regression issue, broken in ‘M 61’ and will soon update other info :
Good build:61.0.3123.0
Bad build: 61.0.3124.0
 
Actual_video.mp4
182 KB View Download
Expected_video.mp4
208 KB View Download

Comment 1 by rp...@etouch.net, Jun 27 2017

Components: -UI>Settings UI>Browser>Bookmarks
Labels: Proj-MaterialDesign-WebUI
Cc: rbasuvula@chromium.org
Labels: hasbisect-per-revision
Owner: calamity@chromium.org
Status: Assigned (was: Unconfirmed)
Using the per-revision bisect providing the bisect results,
Good build:61.0.3123.0(Revision:477506).
Bad build:61.0.3124.0(Revision:477839).

You are probably looking for a change made after 477563 (known good), but no later than 477564 (first known bad).

CHANGE-LOG URL:
---------------
https://chromium.googlesource.com/chromium/src/+log/121fec7bb384638df1cc3e26fda0bed886970a38..efe47735cb33458311b6d71a3ff47ff65f4200e8

From the CL above, assigning the issue to the concern owner

@calamity: Could you please look into the issue, pardon me if it has nothing to do with your changes and if possible please assign it to concern owner.

Review-Url: https://codereview.chromium.org/2898303004
Note :Able to reproduce the issue in Win 10.0,Ubuntu 14.04 & Mac 10.12.3 and Able to reproduce in latest Canary #61.0.3141.0

Cc: tsergeant@chromium.org
Labels: -Pri-1 Pri-2
Summary: MD Bookmarks: Should not be able to 'sort' an empty folder (was: Regression : Unnecessary 'Folder sorted' message is displayed in chrome://bookmarks page.)
Cc: calamity@chromium.org
 Issue 739071  has been merged into this issue.
Project Member

Comment 5 by bugdroid1@chromium.org, Jul 11 2017

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

commit a9256bd64c54c4194f63cc084612536e3e53ae0a
Author: calamity <calamity@chromium.org>
Date: Tue Jul 11 08:54:29 2017

[MD Bookmarks] Prevent sorting of empty folders.

This CL disables the sort button in the toolbar action menu for empty
folders.

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

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

[modify] https://crrev.com/a9256bd64c54c4194f63cc084612536e3e53ae0a/chrome/browser/resources/md_bookmarks/toolbar.html
[modify] https://crrev.com/a9256bd64c54c4194f63cc084612536e3e53ae0a/chrome/browser/resources/md_bookmarks/toolbar.js
[modify] https://crrev.com/a9256bd64c54c4194f63cc084612536e3e53ae0a/chrome/test/data/webui/md_bookmarks/toolbar_test.js

Status: Fixed (was: Assigned)

Sign in to add a comment