https://bugs.kde.org/show_bug.cgi?id=395366

Fabian Vogt <fab...@ritter-vogt.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://commits.kde.org/kwa
                   |                            |yland/0e580ae9bdc5bef0c845d
                   |                            |58e7c647bfac05364aa

--- Comment #3 from Fabian Vogt <fab...@ritter-vogt.de> ---
Git commit 0e580ae9bdc5bef0c845d58e7c647bfac05364aa by Fabian Vogt, on behalf
of Michal Srb.
Committed on 21/06/2018 at 14:42.
Pushed by fvogt into branch 'master'.

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

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.

Test Plan: Patch provided by the reporter, he reported success.

Reviewers: #plasma, #frameworks, romangg

Reviewed By: #plasma, romangg

Subscribers: michalsrb, romangg, graesslin, kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D13535

M  +6    -0    autotests/client/test_datadevice.cpp
M  +3    -0    src/server/datadevice_interface.cpp

https://commits.kde.org/kwayland/0e580ae9bdc5bef0c845d58e7c647bfac05364aa

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to