Skip to content

Commit 0a80a0d

Browse files
committed
fix: Uninstalling app in fullscreen doesn't close launcher
fix Uninstalling an app in full screen doesn't close launcher pms-bug-315255
1 parent a9c8f52 commit 0a80a0d

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

qml/AppItemMenu.qml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,9 @@ Loader {
126126
enabled: !root.desktopId.startsWith("internal/folders/") && !DesktopIntegration.appIsCompulsoryForDesktop(root.desktopId)
127127
text: qsTr("Uninstall")
128128
onTriggered: {
129-
LauncherController.visible = false
129+
if(LauncherController.currentFrame !== "FullscreenFrame"){
130+
LauncherController.visible = false
131+
}
130132
confirmUninstallDlg.appName = root.display
131133
confirmUninstallDlg.appId = root.desktopId
132134
confirmUninstallDlg.icon = root.iconName

shell-launcher-applet/package/launcheritem.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ AppletItem {
216216
return;
217217
}
218218
if (!active && !DebugHelper.avoidHideWindow) {
219-
LauncherController.hideWithTimer()
219+
//LauncherController.hideWithTimer()
220220
}
221221
}
222222

0 commit comments

Comments
 (0)