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 Andrew Ammerlaan
Modified: 2023-02-23 15:26 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew 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 Andrew 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 Andrew 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.