Skip to content

Commit d2f0d76

Browse files
committed
fix: The tray popup was was hidden when an item is dragged in or out
when contextDragging is true, do not close the popup. Log: as title Pms: BUG-288747
1 parent d963ead commit d2f0d76

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

panels/dock/tray/package/tray.qml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ AppletItem {
8181
Connections {
8282
target: DDT.TraySortOrderModel
8383
function onActionsAlwaysVisibleChanged(val) {
84-
if (!val) {
84+
if (!val && !Panel.contextDragging) {
8585
closeStashPopupTimer.start()
8686
}
8787
}
@@ -93,7 +93,9 @@ AppletItem {
9393
interval: 10
9494
repeat: false
9595
onTriggered: {
96-
stashedPopup.close()
96+
if (!Panel.contextDragging) {
97+
stashedPopup.close()
98+
}
9799
}
98100
}
99101

0 commit comments

Comments
 (0)