https://bugs.kde.org/show_bug.cgi?id=368391
Martin Gräßlin <mgraess...@kde.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |RESOLVED Latest Commit| |http://commits.kde.org/kway | |land/8163515980e31911fa3f49 | |120c4dd203f014da56 Resolution|--- |FIXED --- Comment #4 from Martin Gräßlin <mgraess...@kde.org> --- Git commit 8163515980e31911fa3f49120c4dd203f014da56 by Martin Gräßlin. Committed on 14/09/2016 at 08:22. Pushed by graesslin into branch 'master'. [server] When replacing the clipboard selection previous DataSource needs to be cancelled Summary: According to the Wayland documentation a data source needs to be cancelled whenever it is no longer valid. A reason for no longer being valid is that the data source has been replaced by another data source. So far KWayland did not implement this aspect which resulted in clipboard breaking in QtWayland applications. As soon as one copied once from an application it was no longer possible to paste to it from another application. With this change the data source gets properly cancelled and also ensured that the server code doesn't run into a possible crash condition when trying to cancel an already unbound data source. Reviewers: #plasma_on_wayland Subscribers: plasma-devel Tags: #plasma_on_wayland Differential Revision: https://phabricator.kde.org/D2743 M +74 -0 autotests/client/test_datadevice.cpp M +14 -0 src/server/datadevice_interface.cpp M +5 -0 src/server/datasource_interface.cpp M +10 -0 src/server/seat_interface.cpp http://commits.kde.org/kwayland/8163515980e31911fa3f49120c4dd203f014da56 -- You are receiving this mail because: You are watching all bug changes.