https://bugs.kde.org/show_bug.cgi?id=522039
Nate Graham <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|ASSIGNED |RESOLVED Latest Commit| |https://invent.kde.org/plas | |ma/plasma-workspace/-/commi | |t/b2b8fc265f38a1304aebff299 | |e71d1131ff02767 --- Comment #9 from Nate Graham <[email protected]> --- Git commit b2b8fc265f38a1304aebff299e71d1131ff02767 by Nate Graham, on behalf of Shouvik Kar. Committed on 23/07/2026 at 02:16. Pushed by ngraham into branch 'master'. containmentlayoutmanager: guard against non-finite item geometry containmentlayoutmanager: guard against non-finite item geometry A malformed ItemGeometries entry containing "inf"/NaN was parsed via QString::toDouble() straight into the applet geometry and then applied as an infinite item size. That sends the desktop layout into a CPU-pegged loop, freezing plasmashell and breaking session D-Bus services (kuiserver etc.), which in turn crashes dependent apps. Reject non-finite values on both sides: - when parsing the saved layout, skip such entries so an existing corrupt config can no longer wedge the layout (the applet falls back to automatic placement); - when serializing, skip items whose geometry is non-finite so the layout manager does not write such a value back to the config. ### M +12 -1 components/containmentlayoutmanager/gridlayoutmanager.cpp M +5 -0 components/containmentlayoutmanager/itemcontainer.cpp M +2 -0 components/containmentlayoutmanager/itemcontainer.h https://invent.kde.org/plasma/plasma-workspace/-/commit/b2b8fc265f38a1304aebff299e71d1131ff02767 -- You are receiving this mail because: You are watching all bug changes.
