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

Issue 878531 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Oct 1
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: ----



Sign in to add a comment

Extra divider in Save as window

Project Member Reported by mcirimele@chromium.org, Aug 28

Issue description

Chrome OS version: 70.0.3532.0

Steps to reproduce:
1. Click to save a file from the browser.
2. Notice the Save as window

Expected result:
The left hand navigation starts with My files

Observed result:
An extra divider is shown before My files
 
Screenshot 2018-08-28 at 1.20.43 PM.png
1.3 MB View Download
Owner: lucmult@chromium.org
Status: Assigned (was: Available)
Status: Started (was: Assigned)
Yeap, can reproduce in ToT (m71), checking.
Labels: -M-70 M-71
Project Member

Comment 4 by bugdroid1@chromium.org, Sep 27

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

commit 65d577fb9759e31673e19d76db8b4a4e447dab39
Author: Luciano Pacheco <lucmult@chromium.org>
Date: Thu Sep 27 05:56:23 2018

Fix extra divider line in save as dialog

Change directory tree to the first item's section instead of static TOP
section to determine if the first section divider should appear.

Change the value of section-start attribute to be the current section
which is the correct value, instead of previous section.

While here modernized this function to use const/let instead of var.

Bug:  878531 
Test: browsertest --gtest_filter='FileManagerJsTest.DirectoryTree*'
Change-Id: If8db170594608fef04913f3f6fe8235764eb03f7
Reviewed-on: https://chromium-review.googlesource.com/1248066
Commit-Queue: Luciano Pacheco <lucmult@chromium.org>
Reviewed-by: Sam McNally <sammc@chromium.org>
Cr-Commit-Position: refs/heads/master@{#594604}
[modify] https://crrev.com/65d577fb9759e31673e19d76db8b4a4e447dab39/ui/file_manager/file_manager/foreground/js/ui/directory_tree.js
[modify] https://crrev.com/65d577fb9759e31673e19d76db8b4a4e447dab39/ui/file_manager/file_manager/foreground/js/ui/directory_tree_unittest.html
[modify] https://crrev.com/65d577fb9759e31673e19d76db8b4a4e447dab39/ui/file_manager/file_manager/foreground/js/ui/directory_tree_unittest.js

Status: Fixed (was: Started)

Sign in to add a comment