Skip to content

Commit e8fbf97

Browse files
committed
fix: OSD cannot displayed on top of the lock window
as title Log: as title Pms: BUG-292567
1 parent 45e47ee commit e8fbf97

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

panels/notification/osd/package/main.qml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@ import org.deepin.dtk.style 1.0 as DS
1313
Window {
1414
id: root
1515
visible: Applet.visible
16+
flags: Qt.ToolTip | Qt.WindowTransparentForInput | Qt.WindowDoesNotAcceptFocus
17+
18+
onVisibleChanged: {
19+
if (visible) {
20+
root.raise()
21+
}
22+
}
23+
1624
property var windowRadius: isSingleView ? 30 : D.DTK.platformTheme.windowRadius
1725
D.DWindow.windowRadius: root.windowRadius
1826
D.DWindow.enableBlurWindow: true

0 commit comments

Comments
 (0)