GestureNavigation: Fix Action Drawer State being out of Sync on First Start

This commit is contained in:
Micah Stanley 2025-04-10 14:30:51 +00:00
parent 970dc01ca1
commit 9707f503a2
2 changed files with 1 additions and 10 deletions

View file

@ -51,7 +51,6 @@ void ShellDBusClient::connectSignals()
connect(m_interface, &OrgKdePlasmashellInterface::resetHomeScreenPositionRequested, this, &ShellDBusClient::resetHomeScreenPositionRequested); connect(m_interface, &OrgKdePlasmashellInterface::resetHomeScreenPositionRequested, this, &ShellDBusClient::resetHomeScreenPositionRequested);
connect(m_interface, &OrgKdePlasmashellInterface::showVolumeOSDRequested, this, &ShellDBusClient::showVolumeOSDRequested); connect(m_interface, &OrgKdePlasmashellInterface::showVolumeOSDRequested, this, &ShellDBusClient::showVolumeOSDRequested);
updateIsActionDrawerOpen();
updateDoNotDisturb(); updateDoNotDisturb();
updateIsTaskSwitcherVisible(); updateIsTaskSwitcherVisible();
} }

View file

@ -67,14 +67,6 @@ ContainmentItem {
} }
} }
Binding {
target: MobileShellState.ShellDBusClient
property: "isActionDrawerOpen"
value: drawer.visible
}
// only opaque if there are no maximized windows on this screen // only opaque if there are no maximized windows on this screen
readonly property bool showingStartupFeedback: MobileShellState.ShellDBusObject.startupFeedbackModel.activeWindowIsStartupFeedback && windowMaximizedTracker.windowCount === 1 readonly property bool showingStartupFeedback: MobileShellState.ShellDBusObject.startupFeedbackModel.activeWindowIsStartupFeedback && windowMaximizedTracker.windowCount === 1
readonly property bool showingApp: windowMaximizedTracker.showingWindow && !showingStartupFeedback readonly property bool showingApp: windowMaximizedTracker.showingWindow && !showingStartupFeedback
@ -119,7 +111,7 @@ ContainmentItem {
Binding { Binding {
target: MobileShellState.ShellDBusClient target: MobileShellState.ShellDBusClient
property: "isActionDrawerOpen" property: "isActionDrawerOpen"
value: drawer.intendedToBeVisible value: drawer.visible
} }
//END API implementation //END API implementation