mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-07-31 00:34:45 +00:00
GestureNavigation: Fix Action Drawer State being out of Sync on First Start
This commit is contained in:
parent
970dc01ca1
commit
9707f503a2
2 changed files with 1 additions and 10 deletions
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue