From 646b87525f308f9231f1e7b8d2a5a7ee17bd4c26 Mon Sep 17 00:00:00 2001 From: Jacopo De Simoi Date: Thu, 17 Sep 2020 21:13:59 -0400 Subject: [PATCH] No-op restore window position This will most likely be reported as a bug in a short while. I am patching this out to wait to see how it is solved --- src/gui/kwindowconfig.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gui/kwindowconfig.cpp b/src/gui/kwindowconfig.cpp index 40b665b..d0247f2 100644 --- a/src/gui/kwindowconfig.cpp +++ b/src/gui/kwindowconfig.cpp @@ -103,6 +103,9 @@ void KWindowConfig::saveWindowPosition(const QWindow *window, KConfigGroup &conf void KWindowConfig::restoreWindowPosition(QWindow *window, const KConfigGroup &config) { + // no-op this. I don't want this to mess up my positioning logic + return; + // On Wayland, the compositor is solely responsible for window positioning, // So this needs to be a no-op if (!window || QGuiApplication::platformName() == QStringLiteral("wayland")) {