aboutsummaryrefslogtreecommitdiffstats
path: root/desktop
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-15 14:43:40 +0200
committerDanilo M. <danix@danix.xyz>2026-09-15 14:43:40 +0200
commitf0678f9dac3a8aeef8725c69331c02266e44134f (patch)
treeaa60aa046e210210f0341e216399dfe047a16f3c /desktop
parenta0528b46c77a6298e88bfd67ce92efffe6f0d6bd (diff)
downloadquickshell-f0678f9dac3a8aeef8725c69331c02266e44134f.tar.gz
quickshell-f0678f9dac3a8aeef8725c69331c02266e44134f.zip
fix(desktop): leave history when deep-linking to a page
show() is the IPC deep-link path and set only page/open, so if the history view was open, historyLoader stayed active alongside pageLoader and painted over the requested module page. Clear history in show(), as close() already does.
Diffstat (limited to 'desktop')
-rw-r--r--desktop/Drawer.qml3
1 files changed, 3 insertions, 0 deletions
diff --git a/desktop/Drawer.qml b/desktop/Drawer.qml
index b39da1f..c02a4ba 100644
--- a/desktop/Drawer.qml
+++ b/desktop/Drawer.qml
@@ -61,6 +61,9 @@ Scope {
}
function show(name) {
+ // Deep-linking to a page must leave the history view, or both loaders
+ // stay active and the later-declared history loader paints on top.
+ root.history = false;
root.page = root.modules.some(m => m.name === name) ? name : "";
root.open = true;
}