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

Issue 756297 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Email to this user bounced
Closed: Sep 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug

Blocked on:
issue 742689



Sign in to add a comment

Should unselect files after moving selected files away by drag-drop

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

Issue description

Steps To Reproduce:
(1) Open a directory containing 3 or more files.
(2) Select 2 or more files.
(3) Drag&drop the files to another directory in the left pane (directory tree view).

(Note: you can also move files to a sub directory under the source directory shown in the right pane, but in this case you need to do it quickly so that it will not navigate into it while dragging.)

Expected Result:
Files are moved.
File selection in the source directory is cleared.

Actual Result:
Files are moved.
One of the files (right after selected ones) in the source directory is newly selected.
It stays in the check-select mode.

How frequently does this problem reproduce? (Always, sometimes, hard to
reproduce?)
Always


This is similar to  Issue 742689 . The difference is that deletion can be done by keyboard shortcut as well, whereas drag-and-drop is always done by pointer (mouse, touch, stylus).
So user is less likely to care about the keyboard focus after drag&drop.
 
Blocking: 730232
Tentatively added this as a blocker for 730232 because this will become more apparent when operating by touch.
This is the screenshot of the app's current behavior when moving file by drag-drop, as well as deleting files.
Screencast 2017-08-17 12:09:25 SelectionAfterDragDropOrDelete.mp4
468 KB View Download

Comment 3 by oka@chromium.org, Aug 28 2017

Labels: Hotlist-GoodFirstBug

Comment 4 by oka@chromium.org, Aug 31 2017

Cc: yamaguchi@chromium.org oka@chromium.org
Owner: marian...@google.com
Status: Assigned (was: Unconfirmed)
Looks like a relevant to the issue Marianne is working on.

Status: Started (was: Assigned)
Since moving is implemented by deleting + adding, the fix I have implemented and am about to send out for review (for  bug 742689 ) will change the behavior for this situation as well.

New behavior:
Files are moved.
The file nearest to the last file that got selected for check-select will be selected in single-select mode
Keyboard focus will be on the list, the arrow keys will change the single-selected file.

Is this the intended behavior? Or should no file be selected at all (not even in single-select mode)?
Blockedon: 742689
Blocking: -730232
Labels: -M-61 M-63
Linking to related bug  crbug.com/742689 
Status: Fixed (was: Started)
Related bug fixed which also fixes this bug, so I'm closing it

Sign in to add a comment