1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-08-02 03:28:28 -04:00

fix(Hover): refactor & update hover tracking w/context menus

Fixes #2737
This commit is contained in:
purian23
2026-07-04 00:08:58 -04:00
parent 2861cc89c6
commit c554d973ef
30 changed files with 297 additions and 27 deletions
@@ -12,10 +12,23 @@ Popup {
property int selectedIndex: -1
property bool keyboardNavigation: false
property var parentFocusItem: null
property var transientSurfaceTracker: null
signal menuClosed
signal processKilled
onVisibleChanged: transientSurfaceTracker?.setActive(root, visible, null)
Component.onDestruction: transientSurfaceTracker?.unregister(root)
Connections {
target: processContextMenu.transientSurfaceTracker
ignoreUnknownSignals: true
function onCloseRequested() {
processContextMenu.close();
}
}
readonly property var menuItems: [
{
text: I18n.tr("Copy PID"),