Bug 477908 - Yakuake not working correctly after KWin Wayland crash
Summary: Yakuake not working correctly after KWin Wayland crash
Status: CONFIRMED
Alias: None
Product: yakuake
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Eike Hein
URL:
Keywords: qt6
: 480949 482384 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-12-02 12:02 UTC by Жора Змейкин
Modified: 2024-03-19 23:07 UTC (History)
5 users (show)

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


Attachments
Demonstration (1.62 MB, image/png)
2023-12-02 12:02 UTC, Жора Змейкин
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Жора Змейкин 2023-12-02 12:02:26 UTC
Created attachment 163757 [details]
Demonstration

As I remember, Plasma 6.0 introduced a new system where programs continue to run even after a shell crash in Wayland. Yakuake doesn't seem to be very adapted to this scenario, because after KWin crash, Yakuake is separated from the top edge of the screen and appears only in the middle (you can see it on the screenshot)

STEPS TO REPRODUCE
1. Switch to a Wayland session.
2. Launch Yakuake.
3. Crash KWin, for example by killing the kwin-wayland process
4. Open Yakuake and you will see that it is in the wrong place.

OBSERVED RESULT
Incorrect positioning of the Yakuake window

EXPECTED RESULT
Should display as configured before.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE Neon (Unstable), Wayland
KDE Plasma Version: 5.90.0
KDE Frameworks Version: 5.246.0
Qt Version: 6.6.0

ADDITIONAL INFORMATION
Attached a screenshot with the problem. It's funny that restarting the session doesn't fix it. Only rebooting the system helps.
Comment 1 Nicolas Fella 2024-02-06 13:38:29 UTC
*** Bug 480949 has been marked as a duplicate of this bug. ***
Comment 2 Nicolas Fella 2024-03-04 13:32:41 UTC
*** Bug 482384 has been marked as a duplicate of this bug. ***
Comment 3 Louis Moureaux 2024-03-19 22:55:24 UTC
Related to https://bugs.kde.org/show_bug.cgi?id=385882 ?
Comment 4 Nicolas Fella 2024-03-19 23:03:46 UTC
(In reply to Louis Moureaux from comment #3)
> Related to https://bugs.kde.org/show_bug.cgi?id=385882 ?

Yakuake uses the KWayland library to do Wayland things. It doesn't handle compositor restarts properly, likely causing this bug.

A similar problem could also explain https://bugs.kde.org/show_bug.cgi?id=385882
Comment 5 Louis Moureaux 2024-03-19 23:07:48 UTC
> Yakuake uses the KWayland library to do Wayland things. It doesn't handle compositor restarts properly, likely causing this bug.

Sounds like something I could look at if you have a more precise pointer (no promise though, especially on a timeline).