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

Issue 2700043002: [Desktop Linux]: Fix copy and pasting long selections (Closed)

Created:
3 years, 10 months ago by pkotwicz
Modified:
3 years, 10 months ago
Reviewers:
Daniel Erat, dcheng
CC:
chromium-reviews, sadrul, yusukes+watch_chromium.org, derat+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Desktop Linux]: Fix copy and pasting long selections When a client requests the clipboard selection and Chrome has a long selection Chrome sends the data incrementally. Chrome transfers the clipboard data to the client via a property on the client X Window. The client deletes the property to indicate to Chrome that Chrome can send the next bit of data. Chrome listens for the deletion XPropertyEvent from the client. This CL fixes a bug where Chrome would stop listening for XPropertyEvents on the client X Window after finishing servicing the client's first request instead of after servicing all of the client's requests. BUG=686499 Review-Url: https://codereview.chromium.org/2700043002 Cr-Commit-Position: refs/heads/master@{#451932} Committed: https://chromium.googlesource.com/chromium/src/+/c8d772b0617ab7f2d15fc2e0bf02ada35dd21cfc

Patch Set 1 #

Total comments: 13

Patch Set 2 : Merge branch 'master' into selection_requestor #

Patch Set 3 : Merge branch 'master' into selection_requestor #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -10 lines) Patch
M ui/base/x/selection_owner.h View 1 2 3 chunks +11 lines, -4 lines 0 comments Download
M ui/base/x/selection_owner.cc View 1 2 4 chunks +10 lines, -6 lines 2 comments Download

Messages

Total messages: 24 (11 generated)
pkotwicz
dcheng@ can you please take a look?
3 years, 10 months ago (2017-02-17 02:00:29 UTC) #2
dcheng
https://codereview.chromium.org/2700043002/diff/1/ui/base/x/selection_owner.cc File ui/base/x/selection_owner.cc (left): https://codereview.chromium.org/2700043002/diff/1/ui/base/x/selection_owner.cc#oldcode341 ui/base/x/selection_owner.cc:341: requestor_events_.reset(); Is it possible to just only reset this ...
3 years, 10 months ago (2017-02-17 07:42:13 UTC) #4
pkotwicz
dcheng@ can you please take another look? https://codereview.chromium.org/2700043002/diff/1/ui/base/x/selection_owner.cc File ui/base/x/selection_owner.cc (left): https://codereview.chromium.org/2700043002/diff/1/ui/base/x/selection_owner.cc#oldcode341 ui/base/x/selection_owner.cc:341: requestor_events_.reset(); Unfortunately, ...
3 years, 10 months ago (2017-02-17 19:19:07 UTC) #5
dcheng
https://codereview.chromium.org/2700043002/diff/1/ui/base/x/selection_owner.h File ui/base/x/selection_owner.h (right): https://codereview.chromium.org/2700043002/diff/1/ui/base/x/selection_owner.h#newcode134 ui/base/x/selection_owner.h:134: std::vector<std::unique_ptr<IncrementalTransfer>> incremental_transfers_; On 2017/02/17 19:19:07, pkotwicz wrote: > I'd ...
3 years, 10 months ago (2017-02-17 19:21:16 UTC) #6
pkotwicz
dcheng@ can you please take another look? Switched to using =default
3 years, 10 months ago (2017-02-17 21:52:22 UTC) #8
dcheng
lgtm
3 years, 10 months ago (2017-02-17 23:55:24 UTC) #9
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/2700043002/60001
3 years, 10 months ago (2017-02-21 02:00:26 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/368723)
3 years, 10 months ago (2017-02-21 02:06:34 UTC) #13
pkotwicz
derat@ for OWNERS
3 years, 10 months ago (2017-02-21 17:57:47 UTC) #15
Daniel Erat
lgtm https://codereview.chromium.org/2700043002/diff/60001/ui/base/x/selection_owner.cc File ui/base/x/selection_owner.cc (right): https://codereview.chromium.org/2700043002/diff/60001/ui/base/x/selection_owner.cc#newcode275 ui/base/x/selection_owner.cc:275: base::MakeUnique<XScopedEventSelector>(requestor, PropertyChangeMask), nit, just to check: is this ...
3 years, 10 months ago (2017-02-21 18:09:28 UTC) #16
pkotwicz
https://codereview.chromium.org/2700043002/diff/60001/ui/base/x/selection_owner.cc File ui/base/x/selection_owner.cc (right): https://codereview.chromium.org/2700043002/diff/60001/ui/base/x/selection_owner.cc#newcode275 ui/base/x/selection_owner.cc:275: base::MakeUnique<XScopedEventSelector>(requestor, PropertyChangeMask), Run "git cl format" on this CL ...
3 years, 10 months ago (2017-02-22 03:06:30 UTC) #19
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/2700043002/60001
3 years, 10 months ago (2017-02-22 03:07:38 UTC) #21
commit-bot: I haz the power
3 years, 10 months ago (2017-02-22 08:36:03 UTC) #24
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/c8d772b0617ab7f2d15fc2e0bf02...

Powered by Google App Engine
This is Rietveld 408576698