| Summary: | Plasma asserts in PlasmaQuick::AppletPopup::updateSize() due to a QRect being empty following screens being switched around during login | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | Viktor Vozar <viktor.vozar> |
| Component: | generic-crash | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | marceloslacerda, nate, notmart |
| Priority: | NOR | Keywords: | drkonqi |
| Version First Reported In: | 6.4.5 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Neon | ||
| OS: | Linux | ||
| See Also: | https://bugs.kde.org/show_bug.cgi?id=487230 | ||
| Latest Commit: | https://invent.kde.org/plasma/libplasma/-/commit/0d08519a488b38a0607d6e9628bd74aa523aeeef | Version Fixed/Implemented In: | 6.6.6 |
| Sentry Crash Report: | https://crash-reports.kde.org/organizations/kde/issues/327102/ | ||
| Attachments: | New crash information added by DrKonqi | ||
|
Description
Viktor Vozar
2025-10-11 06:30:05 UTC
Created attachment 185682 [details]
New crash information added by DrKonqi
DrKonqi auto-attaching complete backtrace.
Relevant part: #14 0x0000732035273b45 in QMessageLogger::fatal (this=<optimized out>, msg=0x73203524b8d0 "ASSERT: \"%s\" in file %s, line %d") at /usr/src/qt6-base-6.9.2-0zneon+24.04+noble+release+build121/src/corelib/global/qlogging.cpp:883 #15 0x000073203525d779 in qt_assert (assertion=assertion@entry=0x732037cf6243 "!size.isEmpty()", file=file@entry=0x732037cf4ca0 "./src/plasmaquick/appletpopup.cpp", line=line@entry=273) at /usr/src/qt6-base-6.9.2-0zneon+24.04+noble+release+build121/src/corelib/global/qassert.cpp:105 #16 0x0000732037c98028 in PlasmaQuick::AppletPopup::updateSize (this=0x5c6b57958370) at /usr/src/libplasma-6.4.5-0zneon+24.04+noble+release+build32/src/plasmaquick/appletpopup.cpp:273 The same issue was found originating from KSvg code in Bug 487230. Looks like it's still asserting in the same line of code, so I guess that change was not enough. *** This bug has been marked as a duplicate of bug 487230 *** Actually my mistake, it's slightly different. Now it's asserting because the size() of the QRect is empty. Can you explain better your steps to reproduce the issue? The way I understand you did the following: 1. Start the computer. 2. Log into your account with kde. 3. Change the display from hdmi to display port. If that's what you did, how did you change your display? You plugged and unplugged the display with a different cable or did you switch between different monitors already connected? A possibly relevant merge request was started @ https://invent.kde.org/plasma/libplasma/-/merge_requests/1522 Git commit 85fb7f09550469d3f0d9fd3878222d760f9ce3ba by Marco Martin. Committed on 11/06/2026 at 07:07. Pushed by mart into branch 'master'. AppletPopup: Don't assert on AppletPopup::updateSize() we assert when trying to resize the window at a size of zero, but his is unfortunately a possible event early during applet creation (and there isn't a meaningful AppletPopup mainItem size hint yet) either if this happens before the background svg is fully loaded and had a valid margins size or if a plasma theme without dialog svg paddings is used. M +2 -5 src/plasmaquick/appletpopup.cpp https://invent.kde.org/plasma/libplasma/-/commit/85fb7f09550469d3f0d9fd3878222d760f9ce3ba Git commit 1cf87e58cd19fa19ce43d4933044234d9cfa9dc1 by Marco Martin. Committed on 11/06/2026 at 08:15. Pushed by mart into branch 'Plasma/6.7'. AppletPopup: Don't assert on AppletPopup::updateSize() we assert when trying to resize the window at a size of zero, but his is unfortunately a possible event early during applet creation (and there isn't a meaningful AppletPopup mainItem size hint yet) either if this happens before the background svg is fully loaded and had a valid margins size or if a plasma theme without dialog svg paddings is used. (cherry picked from commit 85fb7f09550469d3f0d9fd3878222d760f9ce3ba) 85fb7f09 AppletPopup: Don't assert on AppletPopup::updateSize() Co-authored-by: Marco Martin <notmart@gmail.com> M +2 -5 src/plasmaquick/appletpopup.cpp https://invent.kde.org/plasma/libplasma/-/commit/1cf87e58cd19fa19ce43d4933044234d9cfa9dc1 Git commit 0d08519a488b38a0607d6e9628bd74aa523aeeef by Marco Martin. Committed on 11/06/2026 at 08:16. Pushed by mart into branch 'Plasma/6.6'. AppletPopup: Don't assert on AppletPopup::updateSize() we assert when trying to resize the window at a size of zero, but his is unfortunately a possible event early during applet creation (and there isn't a meaningful AppletPopup mainItem size hint yet) either if this happens before the background svg is fully loaded and had a valid margins size or if a plasma theme without dialog svg paddings is used. (cherry picked from commit 85fb7f09550469d3f0d9fd3878222d760f9ce3ba) 85fb7f09 AppletPopup: Don't assert on AppletPopup::updateSize() Co-authored-by: Marco Martin <notmart@gmail.com> M +2 -5 src/plasmaquick/appletpopup.cpp https://invent.kde.org/plasma/libplasma/-/commit/0d08519a488b38a0607d6e9628bd74aa523aeeef |