Bug 454612

Summary: If 'Keep window open when it loses focus' is checked, Yakuake does not open/retract when I press F12
Product: [Applications] yakuake Reporter: Patrick Silva <bugseforuns>
Component: generalAssignee: Eike Hein <hein>
Status: RESOLVED DUPLICATE    
Severity: normal CC: goo, kustodian, muesli, nicolas.fella
Priority: NOR    
Version: 24.02.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Patrick Silva 2022-05-30 14:16:49 UTC
SUMMARY
Can reproduce on X11 and Wayland.


STEPS TO REPRODUCE
1. open Yakuake
2. press F12 - Yakuake does not retract
3. close Yakuake to system tray
4. try to open Yakuake by pressing F12 - Yakuake does not open

EXPECTED RESULT
F12 shortcut should work

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.25.80
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.4
Graphics Platform: Wayland
Comment 1 Nicolas Fella 2022-05-30 18:55:54 UTC
Works fine here. Just to be sure, the shortcut is not configured to something else, is it?
Comment 2 Patrick Silva 2022-05-30 19:02:00 UTC
No. The shortcut is configured to F12.
Comment 3 Patrick Silva 2022-09-17 21:15:27 UTC
On Plasma 5.26 beta I can reproduce only on Wayland. I'm even unable to retract Yakuake by clicking on the red X.

Operating System: Arch Linux
KDE Plasma Version: 5.25.90
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6
Graphics Platform: Wayland
Comment 4 Patrick Silva 2022-09-24 20:13:35 UTC
(In reply to Patrick Silva from comment #3)
> On Plasma 5.26 beta I can reproduce only on Wayland. I'm even unable to
> retract Yakuake by clicking on the red X.

Humm, F12 key does not work only if 'Keep window open when it loses focus' is checked in Yakuake menu that we can open by clicking on the second button in the lower right corner.
Comment 5 Patrick Silva 2023-11-19 15:52:33 UTC
Cannot reproduce with Yakuake 24.01.75.

Operating System: Arch Linux 
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.245.0
Qt Version: 6.6.0
Graphics Platform: Wayland
Comment 6 goo 2024-03-11 17:34:04 UTC
It is not fixed for me. 
I'm on yakuake 24.02/KDE Plasma 6.0.1 and can't activate yakuake window with F12 on Wayland if 'Keep window open when it loses focus' is checked.

This is what I get while pressing F12:
mar 11 18:31:48 goowks yakuake[1361055]: kf.windowsystem: static void KX11Extras::forceActiveWindow(WId, long int) may only be used on X11
Comment 7 Strahinja Kustudic 2024-03-13 21:37:15 UTC
STEPS TO REPRODUCE
The problem only happens on Wayland to reproduce it:
1. Open Yakuake
2. In Yakuake settings enable "Keep window on when it loses focus" and "Use Open/Retract action to focus windows"
3. Open Yakuake by pressing F12 if it's not already open
4. Click on some other window so that Yakuake loses focus
5. Press F12 again

EXPECTED RESULT
Yakuake window should appear above other windows and have focus.

ACTUAL RESULT
Nothing happens. F12 only works if Yakuake is focused and it retracts the window, or if the Yakuake window is closed to open it.


I think this is a duplicate of https://bugs.kde.org/show_bug.cgi?id=402634 which was open a few years ago.

Now that Wayland is the default compositor of Plasma 6, it would be really good to fix this issue because it's breaking one of the best ways for using Yakuake having it always available on F12.
Comment 8 Christian Muehlhaeuser 2024-03-15 17:28:46 UTC

*** This bug has been marked as a duplicate of bug 402634 ***