https://bugs.kde.org/show_bug.cgi?id=522039
Nate Graham <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas |ma/plasma-workspace/-/commi |ma/plasma-workspace/-/commi |t/b2b8fc265f38a1304aebff299 |t/2cbd475768eb9e78f884f6a6b |e71d1131ff02767 |a7a365096db69ab --- Comment #10 from Nate Graham <[email protected]> --- Git commit 2cbd475768eb9e78f884f6a6ba7a365096db69ab by Nate Graham. Committed on 23/07/2026 at 02:18. Pushed by ngraham into branch 'Plasma/6.7'. 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. ### (cherry picked from commit b2b8fc265f38a1304aebff299e71d1131ff02767) 7fbe9879 containmentlayoutmanager: guard against non-finite item geometry Co-authored-by: Shouvik Kar <[email protected]> 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/2cbd475768eb9e78f884f6a6ba7a365096db69ab -- You are receiving this mail because: You are watching all bug changes.
