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

Vlad Zahorodnii <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/kwin/commit/d6b75907cca6 |ma/kwin/commit/fc1b6ccfa561
                   |68d0c2b226d44dcab4ebe55e3b6 |a07a215cbc64ca6cc4e3d35e3fd
                   |b                           |f

--- Comment #4 from Vlad Zahorodnii <[email protected]> ---
Git commit fc1b6ccfa561a07a215cbc64ca6cc4e3d35e3fdf by Vlad Zahorodnii, on
behalf of David Redondo.
Committed on 24/01/2023 at 10:34.
Pushed by vladz into branch 'cherry-pick-d6b75907'.

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/fc1b6ccfa561a07a215cbc64ca6cc4e3d35e3fdf

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

Reply via email to