SUMMARY When running a wayland session, yakuake does not close when pressing F12. If it has not yet been opened, it does open correctly when pressing F12. It works just fine when running with Xorg. STEPS TO REPRODUCE 1. Start yakuake 2. Press F12, window opens 3. Press F12 again, window does not close OBSERVED RESULT Window does not close upon pressing F12 after it has been opened. EXPECTED RESULT Yakuake closes again when pressing F12, just like it does in a Xorg session SOFTWARE/OS VERSIONS Operating System: Gentoo Linux KDE Plasma Version: 5.21.0 KDE Frameworks Version: 5.79.0 Qt Version: 5.15.2 Kernel Version: 5.11.0-gentoo OS Type: 64-bit Graphics Platform: X11 Processors: 12 × Intel® Core™ i7-8700K CPU @ 3.70GHz Memory: 31.2 GiB of RAM Graphics Processor: Radeon RX 590 Series ADDITIONAL INFORMATION
I also experience this behavior though in an X-session. Shortcut F12 isn't working at all (might be a different problem), but using dbus-send: dbus-send --type=method_call --dest=org.kde.yakuake /yakuake/window org.kde.yakuake.toggleWindowState opens the window. Using the command again does not close the window. SOFTWARE/OS VERSIONS Operating System: Gentoo Linux KDE Plasma Version: 5.21.0 KDE Frameworks Version: 5.79.0 Qt Version: 5.15.2 Kernel Version: 5.11.0-gentoo OS Type: 64-bit Graphics Platform: X11
Recently there were various changes to how Yakuake handles opening and closing on Wayland and X11 - can you please check if this is still an issue?
(In reply to Oded Arbel from comment #2) > Recently there were various changes to how Yakuake handles opening and > closing on Wayland and X11 - can you please check if this is still an issue? Still an issue with version 21.08.3, "QT_QPA_PLATFORM=xcb yakuake" works as a workaround.
yakuake-21.12.1 now works just fine for me, closing via F12 as well as hiding by clicking somewhere else (with the latter seemingly fixed with Plasma 5.24 beta (5.23.90)).
I just gave wayland a try again, but yakuake still has this issue for me. QT_QPA_PLATFORM=xcb is required to get yakuake to work the same as on x11. I dug a bit deeper into it and the root of the problem seems to be in the "Use Open/Retract action to focus window" setting, disabling this setting fixes the problem. With the setting enabled this bug occurs on wayland but not on x11.