Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(126)

Issue 2932803002: Stop updating context menu task items when not changed. (Closed)

Created:
3 years, 6 months ago by tetsui
Modified:
3 years, 6 months ago
Reviewers:
oka, fukino
CC:
chromium-reviews, oka+watch_chromium.org, rginda+watch_chromium.org, mtomasz+watch_chromium.org, yamaguchi+watch_chromium.org, fukino+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Stop updating context menu task items when not changed. During FileSelectionHandler.EventType.CHANGE to CHANGE_THROTTLED, existing task items in context menu were overwritten by a temporary item. File copy operation fires CHANGE and CHANGE_THROTTLED repeatedly, which leads to flickering context menu during copy. If selection is not changed, we should not clear the task items in the context menu. BUG=731483 TEST=manual CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2932803002 Cr-Commit-Position: refs/heads/master@{#478239} Committed: https://chromium.googlesource.com/chromium/src/+/f8c224c31c133a07f58a8d922ec15aa730c06cde

Patch Set 1 #

Total comments: 1

Patch Set 2 : Compare selected entries instead of removing temporary item. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -4 lines) Patch
M ui/file_manager/file_manager/foreground/js/task_controller.js View 1 2 chunks +13 lines, -4 lines 0 comments Download

Messages

Total messages: 23 (16 generated)
tetsui
Please take a look. Thank you!
3 years, 6 months ago (2017-06-09 05:26:24 UTC) #8
fukino
https://codereview.chromium.org/2932803002/diff/1/ui/file_manager/file_manager/foreground/js/task_controller.js File ui/file_manager/file_manager/foreground/js/task_controller.js (left): https://codereview.chromium.org/2932803002/diff/1/ui/file_manager/file_manager/foreground/js/task_controller.js#oldcode261 ui/file_manager/file_manager/foreground/js/task_controller.js:261: * Handles change of selection and clears context menu. ...
3 years, 6 months ago (2017-06-09 06:24:51 UTC) #9
tetsui
On 2017/06/09 06:24:51, fukino wrote: > https://codereview.chromium.org/2932803002/diff/1/ui/file_manager/file_manager/foreground/js/task_controller.js > File ui/file_manager/file_manager/foreground/js/task_controller.js (left): > > https://codereview.chromium.org/2932803002/diff/1/ui/file_manager/file_manager/foreground/js/task_controller.js#oldcode261 > ...
3 years, 6 months ago (2017-06-09 08:16:05 UTC) #14
fukino
lgtm
3 years, 6 months ago (2017-06-09 08:42:32 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2932803002/20001
3 years, 6 months ago (2017-06-09 09:41:51 UTC) #19
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/src/+/f8c224c31c133a07f58a8d922ec15aa730c06cde
3 years, 6 months ago (2017-06-09 09:46:45 UTC) #22
yamaguchi
3 years, 5 months ago (2017-07-06 04:44:19 UTC) #23
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/2973003002/ by yamaguchi@chromium.org.

The reason for reverting is: We'd like to revert 2833413003 because it caused
regression crbug.com/738803.
This is change depends on 2833413003..

Powered by Google App Engine
This is Rietveld 408576698