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

David Redondo <k...@david-redondo.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kwin/commit/d6b75907cca6
                   |                            |68d0c2b226d44dcab4ebe55e3b6
                   |                            |b
             Status|CONFIRMED                   |RESOLVED
   Version Fixed In|                            |5.27
         Resolution|---                         |FIXED

--- Comment #3 from David Redondo <k...@david-redondo.de> ---
Git commit d6b75907cca668d0c2b226d44dcab4ebe55e3b6b by David Redondo.
Committed on 24/01/2023 at 09:35.
Pushed by davidre into branch 'master'.

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

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

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

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

Reply via email to