diff --git a/shell/panelview.cpp b/shell/panelview.cpp --- a/shell/panelview.cpp +++ b/shell/panelview.cpp @@ -912,6 +912,9 @@ } const QRect otherScreen = corona()->screenGeometry(i); + if (!otherScreen.isValid()) { + continue; + } switch (location()) {