Summary: | kwin_wayland crashes when enabling monitor | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Nicolas Fella <nicolas.fella> |
Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | kde, nate, slawek |
Priority: | NOR | ||
Version: | git master | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=450501 | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Nicolas Fella
2020-07-26 20:01:53 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1068 Git commit 2297983230521ee5f2a79054e66c50e84300c9ac by David Edmundson. Committed on 20/09/2021 at 08:19. Pushed by davidedmundson into branch 'master'. [Klipper] Handle incoming UTF-8 mime types QMimeData abstracts most mime type handling, but not text/plain vs text/plain;charset=utf-8. This is currently being done in QWayland inside qwaylanddataoffer. Given this code is effectively a clone, we need to have the same check here. Interestingly mimeData->text() worked before but not hasText(), which is why it was unnoticed in the test pasteClient tool. This fixes klipper and GTK apps. M +20 -6 klipper/systemclipboard/waylandclipboard.cpp https://invent.kde.org/plasma/plasma-workspace/commit/2297983230521ee5f2a79054e66c50e84300c9ac Git commit 75fbdaab0d128ed5afb339e923d83722205af2d3 by David Edmundson. Committed on 20/09/2021 at 08:20. Pushed by davidedmundson into branch 'Plasma/5.23'. [Klipper] Handle incoming UTF-8 mime types QMimeData abstracts most mime type handling, but not text/plain vs text/plain;charset=utf-8. This is currently being done in QWayland inside qwaylanddataoffer. Given this code is effectively a clone, we need to have the same check here. Interestingly mimeData->text() worked before but not hasText(), which is why it was unnoticed in the test pasteClient tool. This fixes klipper and GTK apps. (cherry picked from commit 2297983230521ee5f2a79054e66c50e84300c9ac) M +20 -6 klipper/systemclipboard/waylandclipboard.cpp https://invent.kde.org/plasma/plasma-workspace/commit/75fbdaab0d128ed5afb339e923d83722205af2d3 Heh, I had the wrong bug number. This is very unrelated. @Nicolas, is this crash still reproducible? Sort of. It doesn't look like kwin is crashing (no coredump in coredumpctl) but plasmashell dies with "The Wayland connection broke. Did the Wayland compositor die?" It might be fixed by https://invent.kde.org/plasma/kwayland-server/-/merge_requests/293. Can you please apply it and check whether plasma still crashes? Also, make sure that you have the latest libkscreen. It seems to fix it Please reopen this bug report if the crash comes back. As for plasma, there are a couple of known crashes. One of them is https://bugs.kde.org/show_bug.cgi?id=428232. Another one is the assert in screenInvariant() (can be triggered even if kwin sends valid output info). *** Bug 446620 has been marked as a duplicate of this bug. *** |