From 4fa0c2c042c80353878cc957a2c9b989ac5eb1b4 Mon Sep 17 00:00:00 2001 From: mx Date: Thu, 15 Oct 2026 18:07:46 +0200 Subject: [PATCH] Stop the Noctalia compat settings upgrade from spinning the main loop upgradeSettings() waited for BarWidgetRegistry by re-queuing itself with Qt.callLater. The registry is an empty stand-in in glassMxrph, so whenever noctalia-compat/settings.json already existed the wait never ended and the shell pinned a CPU core. The upgrade would also have pruned every bar, Control Center and desktop widget entry against those empty registries, so it is no longer called. Co-Authored-By: Claude Opus 5.5 --- quickshell/compat/noctalia/Commons/Settings.qml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/quickshell/compat/noctalia/Commons/Settings.qml b/quickshell/compat/noctalia/Commons/Settings.qml index be13ec6..db51837 100644 --- a/quickshell/compat/noctalia/Commons/Settings.qml +++ b/quickshell/compat/noctalia/Commons/Settings.qml @@ -141,7 +141,11 @@ Singleton { root.isLoaded = true; root.settingsLoaded(); - upgradeSettings(); + // glassMxrph: no upgradeSettings(). It prunes bar, Control Center and + // desktop widgets against Noctalia's registries, which are empty + // stand-ins here, and it waited for BarWidgetRegistry by re-queuing + // itself with Qt.callLater, which never ends: a busy main loop that + // pinned a CPU core whenever this settings file already existed. } else { Logger.d("Settings", "Settings reloaded from external file change"); root.settingsReloaded();