Skip to content

Commit 0009b6f

Browse files
Ivy233deepin-bot[bot]
authored andcommitted
fix: close launchpad when right-clicking taskbar to open menu
Call viewDeactivated() to close the fullscreen launchpad when right-clicking to open the dock menu. This ensures the launchpad is closed when the menu opens, meeting user expectations. PMS: BUG-323289
1 parent 4f0c66e commit 0009b6f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

panels/dock/package/main.qml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,7 @@ Window {
394394
if (button === Qt.RightButton && lastActive !== dockMenuLoader.item) {
395395
// maybe has popup visible, close it.
396396
Panel.requestClosePopup()
397+
viewDeactivated()
397398
MenuHelper.openMenu(dockMenuLoader.item)
398399
}
399400
if (button === Qt.LeftButton) {

0 commit comments

Comments
 (0)