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

David Redondo <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/kwin/commit/fc1b6ccfa561 |ma/kwin/commit/a7e5d1da87b0
                   |a07a215cbc64ca6cc4e3d35e3fd |efaedd18ef5b0e1228824c91e92
                   |f                           |2

--- Comment #5 from David Redondo <[email protected]> ---
Git commit a7e5d1da87b0efaedd18ef5b0e1228824c91e922 by David Redondo.
Committed on 24/01/2023 at 10:58.
Pushed by davidre into branch 'cherry-pick-d6b75907-2'.

Data control: Resend selection when not following through with request

Normal event flow is from a client view is
-> wlr_data_control_device.set_selection
wlr_data_control_device.selection
or
wlr_data_control_source.cancelled
wlr_data_control_device.selection
However when the race mentioned in the comment happens the client
sees
-> wlr_data_control_device.set_selection
wlr_data_control_device.selection
wlr_data_control_source_cancelled
Which can confuse client state thinking the clipboard didn't change
as it associates the selection event with its own request. Resend
the selection event in this case to tell the client the correct
selection.
FIXED-IN:5.27


(cherry picked from commit d6b75907cca668d0c2b226d44dcab4ebe55e3b6b)

M  +4    -0    src/wayland/seat_interface.cpp

https://invent.kde.org/plasma/kwin/commit/a7e5d1da87b0efaedd18ef5b0e1228824c91e922

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

Reply via email to