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.
I have a similar problem on Wayland now which I believe is related to this. With "Use Open/Retract action to focus window" enabled, F12 never focuses Yakuake if it's open behind another window, only if it's retracted. Especially anoying if you have "Keep window open when it loses focus" (translated from spanish, might be inaccurate) enabled too. I had to make a window rule to make Yakuake show up in the window switcher for this reason, and because I'm used to Alt+Tab between Yakuake and my web browser.
Sorry, my system info: yakuake 24.02.2 Operating System: Fedora Linux 40 KDE Plasma Version: 6.0.4 KDE Frameworks Version: 6.2.0 Qt Version: 6.7.0 Kernel Version: 6.8.9-300.fc40.x86_64 (64-bit) Graphics Platform: Wayland Processors: 8 × Intel® Core™ i5-1035G1 CPU @ 1.00GHz Memory: 15.2 GiB of RAM Graphics Processor: Mesa Intel® UHD Graphics