Skip to content

Fix crash when plugging / unplugging a screen on Wayland

My setup : 2 x 1440p screens (DP and HDMI) with Wayland / Intel graphics

In my workflow, I need to unplug and replug my primary screen multiple times a day.

Since Plasma 5.25, I'm noticing a segfault every time I unplug or plug back my main screen. It's related to this commit (really useful fix though, even on Wayland) : 8cfd0464

After some intensive testing, this MR is fixing the segfault. But I'm not sure if it's the right place to do it. It sounds more like a KWin / Qt bug.

It shouldn't impact anything else though.

Merge request reports