Summary: | kwin_wayland crashes when doing plasmashell --replace | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Nicolas Fella <nicolas.fella> |
Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | kde, nate |
Priority: | NOR | Keywords: | qt6 |
Version: | master | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/kwin/-/commit/cf2410f6312697ef86312a391c12ebe329a2e6d1 | Version Fixed In: | |
Sentry Crash Report: |
Description
Nicolas Fella
2023-05-20 22:37:39 UTC
Specifically it crashes after clicking "Show Desktop" in the panel (which actually doesn't show the desktop?) and then running "plasmashell --replace" I could reproduce with those steps. Should only affect Plasma 6. A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/4138 Git commit cf2410f6312697ef86312a391c12ebe329a2e6d1 by Vlad Zahorodnii, on behalf of David Edmundson. Committed on 26/05/2023 at 08:30. Pushed by vladz into branch 'master'. Guard updateLayer for deleted windows When a window is deleted it all "set" operations should no-op. As for the bug specifically, we have an effect that keeps the desktop alive. If a user calls showDesktop not only do we not update the stacking order, we also call updateLayer when the client closes this is after the window is in the deleted state. M +4 -6 src/window.cpp M +0 -1 src/window.h https://invent.kde.org/plasma/kwin/-/commit/cf2410f6312697ef86312a391c12ebe329a2e6d1 |