Bug 433171 - Yakuake Opens, but does not close under wayland
Summary: Yakuake Opens, but does not close under wayland
Status: REOPENED
Alias: None
Product: yakuake
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-18 14:31 UTC by Nowa Ammerlaan
Modified: 2024-05-18 21:20 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nowa Ammerlaan 2021-02-18 14:31:19 UTC
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
Comment 1 muddle 2021-02-18 22:12:18 UTC
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
Comment 2 Oded Arbel 2021-11-15 10:32:50 UTC
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?
Comment 3 Nowa Ammerlaan 2021-11-17 07:15:25 UTC
(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.
Comment 4 Andreas Sturmlechner 2022-01-20 16:36:37 UTC
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)).
Comment 5 Nowa Ammerlaan 2022-08-25 08:33:33 UTC
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.
Comment 6 Ricardo J. Barberis 2024-05-18 21:19:34 UTC
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.
Comment 7 Ricardo J. Barberis 2024-05-18 21:20:48 UTC
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