Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions shell/plugins/menu/Menu.qml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ Item {
var payload = ({})
try { payload = JSON.parse(payloadJson || "{}") } catch (e) { payload = ({}) }

// A select/input request left in flight when a new summon arrives
// (e.g. the trigger key repeated before the prior one was answered)
// would otherwise have its doneFile silently abandoned by
// openDmenu/openExistingMenu below, leaving the caller that's still
// polling for it (bin/omarchy-menu-select) blocked forever. Answer it
// as cancelled first so every summon always resolves.
if (root.requestActive) root.finishRequest(null)

Comment on lines +27 to +34
if (payload.fontFamily) root.fontFamily = payload.fontFamily

if (payload.mode === "select" || payload.mode === "input") {
Expand Down