New issue
Advanced search Search tips

Issue 754283 link

Starred by 3 users

Issue metadata

Status: Archived
Owner:
Closed: Aug 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug

Blocking:
issue 730232



Sign in to add a comment

Files app: Sometimes fail to start renaming file when selecting item by touch

Project Member Reported by yamaguchi@chromium.org, Aug 10 2017

Issue description

Chrome Version: 62.0.3182.0

What steps will reproduce the problem?
(1) Long-press a file to choose it.
(2) Tap or click "More..."(three-dots icon) menu button in the tool bar. 
(3) Choose "Rename".

alternatively, (2)and(3) can be replaced by 
(2') hit [ctrl] + [enter]

What is the expected result?
Text box to input the name appears in place of the file name.

What happens instead?
Text box does not appear.

 
Description: Show this description
Status: Started (was: Assigned)
This was caused by not setting the right "lead index" of the list only in the case of long-pressing.

This patch will fix the issue.
https://chromium-review.googlesource.com/c/610341

Project Member

Comment 3 by bugdroid1@chromium.org, Aug 15 2017

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

commit e6b3ed78d0c53ca28e9959363132e9d8f4252933
Author: Tatsuhisa Yamaguchi <yamaguchi@chromium.org>
Date: Tue Aug 15 10:33:06 2017

Reset selection and set the right lead index upon long-pressing.

The lead index must be set so that commands referring it, like rename,
can work successfully.
This change also clears the selection before selecting the item, so as
to make sure existing single selection (which is old lead item) will
be cleared.

Bug:  754272 , 754283 , 754290 
Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation
Change-Id: Ieb051b3b517cc06cd021d9b0feaa56c1e2a73b38
Reviewed-on: https://chromium-review.googlesource.com/610341
Reviewed-by: Naoki Fukino <fukino@chromium.org>
Commit-Queue: Tatsuhisa Yamaguchi <yamaguchi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#494354}
[modify] https://crrev.com/e6b3ed78d0c53ca28e9959363132e9d8f4252933/ui/file_manager/file_manager/foreground/js/ui/file_table_list.js

Labels: Merge-Request-61
Status: Fixed (was: Started)
Labels: -Merge-Request-61 Merge-Approved-61
Approving merge to M61 Chrome OS.
Project Member

Comment 6 by bugdroid1@chromium.org, Aug 17 2017

Labels: -merge-approved-61 merge-merged-3163
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/2f3bcd73e0f8c4250b245c3f83edc281d5186675

commit 2f3bcd73e0f8c4250b245c3f83edc281d5186675
Author: Tatsuhisa Yamaguchi <yamaguchi@chromium.org>
Date: Thu Aug 17 13:24:46 2017

Reset selection and set the right lead index upon long-pressing.

The lead index must be set so that commands referring it, like rename,
can work successfully.
This change also clears the selection before selecting the item, so as
to make sure existing single selection (which is old lead item) will
be cleared.

TBR=yamaguchi@chromium.org

(cherry picked from commit e6b3ed78d0c53ca28e9959363132e9d8f4252933)

Bug:  754272 , 754283 , 754290 
Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation
Change-Id: Ieb051b3b517cc06cd021d9b0feaa56c1e2a73b38
Reviewed-on: https://chromium-review.googlesource.com/610341
Reviewed-by: Naoki Fukino <fukino@chromium.org>
Commit-Queue: Tatsuhisa Yamaguchi <yamaguchi@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#494354}
Reviewed-on: https://chromium-review.googlesource.com/618830
Reviewed-by: Tatsuhisa Yamaguchi <yamaguchi@chromium.org>
Cr-Commit-Position: refs/branch-heads/3163@{#628}
Cr-Branched-From: ff259bab28b35d242e10186cd63af7ed404fae0d-refs/heads/master@{#488528}
[modify] https://crrev.com/2f3bcd73e0f8c4250b245c3f83edc281d5186675/ui/file_manager/file_manager/foreground/js/ui/file_table_list.js

Cc: mkarkada@chromium.org abod...@chromium.org yamaguchi@chromium.org weifangsun@chromium.org dhadd...@chromium.org sdantul...@chromium.org
 Issue 756511  has been merged into this issue.

Comment 8 by dchan@chromium.org, Jan 22 2018

Status: Archived (was: Fixed)

Sign in to add a comment