https://bugs.kde.org/show_bug.cgi?id=439027
Bug ID: 439027 Summary: Qt::Tool windows don't regain focus after pop-ups close on X11 Product: kwin Version: 5.22.1 Platform: Archlinux Packages OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: core Assignee: kwin-bugs-n...@kde.org Reporter: frederick...@tsundere.moe Target Milestone: --- SUMMARY Qt::Tool windows don't regain focus after pop-ups close on X11. STEPS TO REPRODUCE This issue was found when testing [1]. It doesn't impact Wayland. 1. Compile and run [2] (one-liner change based on Yakuake v21.04.2) 2. Execute: printf 'GETPIN\n' | pinentry-qt 3. Enter something random OBSERVED RESULT After pinentry closes, the last regular window gains focus instead of Yakuake. EXPECTED RESULT Yakuake regains focus. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.22.1 KDE Frameworks Version: 5.83.0 Qt Version: 5.15.2 Kernel Version: 5.12.12-zen1-1-zen (64-bit) Graphics Platform: X11 [1] https://invent.kde.org/utilities/yakuake/-/merge_requests/42#note_257687 [2] https://invent.kde.org/frederickzhang/yakuake/commit/b950ee2c6321ef9d9c1259b9bec6cb9e57112c88 -- You are receiving this mail because: You are watching all bug changes.