https://bugs.kde.org/show_bug.cgi?id=469644
David Edmundson <k...@davidedmundson.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas |ma/kwin/-/commit/6943fab2c1 |ma/kwin/-/commit/c91040d3de |c46eb15e0018ae3419c0d43eb3c |ee8a2028562451fa056c002f35a |8d7 |e42 --- Comment #15 from David Edmundson <k...@davidedmundson.co.uk> --- Git commit c91040d3deee8a2028562451fa056c002f35ae42 by David Edmundson, on behalf of David Edmundson. Committed on 23/07/2024 at 13:13. Pushed by davidedmundson into branch 'Plasma/6.1'. wayland: Avoid klipper loop with existing but empty clipboards In default settings if the clipboard or selection is empty klipper will try to replace it with cached data. To avoid an occurring race condition if a client deletes and then recreates a selection kwin will deny klipper if another mimedata is present at the time it tried to replace an empty clipboard. Klipper also considers the presence of a valid mime data without any offers to be an empty clipboard, whereas kwin did not. If a super weird client set the clipboard to a valid entry with no offers, klipper would get into an infinite loop of trying to set it's own selection for it to be continually denied with no other valid offer from klipper's perspective ever received. (cherry picked from commit 6943fab2c1c46eb15e0018ae3419c0d43eb3c8d7) Co-authored-by: David Edmundson <k...@davidedmundson.co.uk> M +4 -3 src/wayland/seat.cpp https://invent.kde.org/plasma/kwin/-/commit/c91040d3deee8a2028562451fa056c002f35ae42 -- You are receiving this mail because: You are watching all bug changes.