Fushan Wen <> changed:

           What    |Removed                     |Added
      Latest Commit| |
                   |eworks/kguiaddons/commit/dc |eworks/kguiaddons/commit/e1
                   |b254dc6b4e5b76e04a5ee8b4db8 |95913d37f8ff79a14351c029952
                   |177aff10d29                 |830394e7057

--- Comment #20 from Fushan Wen <> ---
Git commit e195913d37f8ff79a14351c029952830394e7057 by Fushan Wen, on behalf of
David Redondo.
Committed on 29/01/2023 at 05:14.
Pushed by fusionfuture into branch 'cherry-pick-dcb254dc'.

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

(cherry picked from commit dcb254dc6b4e5b76e04a5ee8b4db8177aff10d29)

M  +8    -3    src/systemclipboard/waylandclipboard.cpp

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

Reply via email to