D13535: Do not cancel old clipboard selection if it is same as the new one.

Fabian Vogt noreply at phabricator.kde.org
Thu Jun 14 12:43:26 UTC 2018


fvogt created this revision.
fvogt added reviewers: Plasma, Frameworks.
Restricted Application added a project: Frameworks.
Restricted Application added a subscriber: kde-frameworks-devel.
fvogt requested review of this revision.

REVISION SUMMARY
  GTK applications seem to call wl_data_device::set_selection multiple times with
  the same wl_data_source object, replacing it with itself. If we cancel it, they
  will destroy it and the selection will be gone.
  
  With this patch it is again possible to copy from GTK applications.
  
  BUG: 395366

TEST PLAN
  Patch provided by the reporter, he reported success.

REPOSITORY
  R127 KWayland

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D13535

AFFECTED FILES
  src/server/datadevice_interface.cpp

To: fvogt, #plasma, #frameworks
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180614/55096d25/attachment.html>


More information about the Kde-frameworks-devel mailing list