https://bugs.kde.org/show_bug.cgi?id=462979
David Edmundson <k...@davidedmundson.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Latest Commit| |https://invent.kde.org/fram | |eworks/kguiaddons/commit/0f | |bb0aa524adbd077b2ba7716218d | |4c6f042bed0 Version Fixed In| |5.102 Resolution|--- |FIXED --- Comment #13 from David Edmundson <k...@davidedmundson.co.uk> --- Git commit 0fbb0aa524adbd077b2ba7716218d4c6f042bed0 by David Edmundson, on behalf of David Redondo. Committed on 04/01/2023 at 08:51. Pushed by davidedmundson into branch 'master'. waylandclipboard: Be a bit smarter about when to use the QGuiApplication::clipboard The newly introduced keyboardFocusWatcher suffers from a similar problem on keyboard leave as the one it fixed on keyboard enter. When Qt hides a window, the focusWatcher and itself think that the app has focus because keyboard_leave did not arrive yet but setting the normal clipboard will still fail. This is an issue in klipper as it shows this pattern of window hide and afterwards setting the clipboard. To workaround this we can check if the focusWindow is visible even though we still think we should have focus. FIXED-IN:5.102 M +3 -1 src/systemclipboard/waylandclipboard.cpp https://invent.kde.org/frameworks/kguiaddons/commit/0fbb0aa524adbd077b2ba7716218d4c6f042bed0 -- You are receiving this mail because: You are watching all bug changes.