https://bugs.kde.org/show_bug.cgi?id=463199
David Edmundson <k...@davidedmundson.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Version Fixed In| |5.103 Status|ASSIGNED |RESOLVED Latest Commit| |https://invent.kde.org/fram | |eworks/kguiaddons/commit/dc | |b254dc6b4e5b76e04a5ee8b4db8 | |177aff10d29 Resolution|--- |FIXED --- Comment #19 from David Edmundson <k...@davidedmundson.co.uk> --- Git commit dcb254dc6b4e5b76e04a5ee8b4db8177aff10d29 by David Edmundson, on behalf of David Redondo. Committed on 27/01/2023 at 22:26. Pushed by davidedmundson into branch 'master'. waylandclipboard: roundtrip to get accurate focus state The current approach is too complicated and not correct anyway. To summarize QGuiApplication::focusWindow is delayed so the focus watcher was introduced, however when the window is hidden and setMimeData called before Wayland events have been processed, then focusWatcher is naturally out of sync, so the check was complicated to work around this state. However the same issue arises when the window is deleted before calling setMimeData. Instead of introducing more complicated checks and workaround roundtrip so the focusWatcher state is up to date before setting the clipboard. FIXED-IN: 5.103 M +8 -3 src/systemclipboard/waylandclipboard.cpp https://invent.kde.org/frameworks/kguiaddons/commit/dcb254dc6b4e5b76e04a5ee8b4db8177aff10d29 -- You are receiving this mail because: You are watching all bug changes.