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

Issue 237583003: Delete the property returned by SelectionNotify as per ICCCM spec (Closed)

Created:
6 years, 8 months ago by pkotwicz
Modified:
6 years, 8 months ago
Reviewers:
sadrul, Elliot Glaysher
CC:
chromium-reviews, sadrul, yusukes+watch_chromium.org, derat+watch_chromium.org, tfarina, dcheng, ben+views_chromium.org
Visibility:
Public.

Description

Section 2.4 of the ICCCM spec requires: "The requestor must delete the property named in the SelectionNotify once all the data has been retrieved." Make Chrome follow this requirement. This has the side effect of allowing pasting into Chrome while Synergy is running BUG=363293 TEST=Manual, see bug Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=264254

Patch Set 1 : #

Total comments: 3

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -12 lines) Patch
M ui/base/x/selection_requestor.cc View 1 2 chunks +17 lines, -7 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc View 1 1 chunk +5 lines, -5 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
pkotwicz
sadrul@, PTAL I think that we can probably get away with not deleting the property ...
6 years, 8 months ago (2014-04-15 02:56:07 UTC) #1
sadrul
+erg@ https://codereview.chromium.org/237583003/diff/80001/ui/base/x/selection_requestor.cc File ui/base/x/selection_requestor.cc (right): https://codereview.chromium.org/237583003/diff/80001/ui/base/x/selection_requestor.cc#newcode79 ui/base/x/selection_requestor.cc:79: XDeleteProperty(x_display_, x_window_, pending_request.returned_property); Should this be inside the ...
6 years, 8 months ago (2014-04-15 16:20:15 UTC) #2
pkotwicz
https://codereview.chromium.org/237583003/diff/80001/ui/base/x/selection_requestor.cc File ui/base/x/selection_requestor.cc (right): https://codereview.chromium.org/237583003/diff/80001/ui/base/x/selection_requestor.cc#newcode79 ui/base/x/selection_requestor.cc:79: XDeleteProperty(x_display_, x_window_, pending_request.returned_property); I checked and XDeleteProperty() does not ...
6 years, 8 months ago (2014-04-15 16:57:55 UTC) #3
sadrul
https://codereview.chromium.org/237583003/diff/80001/ui/base/x/selection_requestor.cc File ui/base/x/selection_requestor.cc (right): https://codereview.chromium.org/237583003/diff/80001/ui/base/x/selection_requestor.cc#newcode79 ui/base/x/selection_requestor.cc:79: XDeleteProperty(x_display_, x_window_, pending_request.returned_property); On 2014/04/15 16:57:55, pkotwicz wrote: > ...
6 years, 8 months ago (2014-04-15 18:04:30 UTC) #4
Elliot Glaysher
lgtm
6 years, 8 months ago (2014-04-15 18:16:48 UTC) #5
pkotwicz
Sadrul, can you please take another look?
6 years, 8 months ago (2014-04-15 21:02:57 UTC) #6
sadrul
lgtm
6 years, 8 months ago (2014-04-16 01:53:25 UTC) #7
pkotwicz
The CQ bit was checked by pkotwicz@chromium.org
6 years, 8 months ago (2014-04-16 15:29:23 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/237583003/100001
6 years, 8 months ago (2014-04-16 15:29:37 UTC) #9
commit-bot: I haz the power
6 years, 8 months ago (2014-04-16 18:26:04 UTC) #10
Message was sent while issue was closed.
Change committed as 264254

Powered by Google App Engine
This is Rietveld 408576698