Fix Quick Entry window hidden behind MailMate on OmniFocus 4#10
Open
verwinv wants to merge 1 commit into
Open
Conversation
OmniFocus 4 compatibility: remove OF2-specific Quick Entry tree navigation and call activate unconditionally so the Quick Entry window is always brought to the front instead of opening hidden behind MailMate.
Author
|
Fixes an issue I struggled with, using OF4. Full disclosure: the creation of this PR relied heavily on Claude Code, but saw it work (on my machine). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
When triggering "Add..." or "Add With Summary..." from MailMate, OmniFocus's Quick Entry window opens but stays hidden behind MailMate — so the command appears to do nothing.
The script only called
activatewhen OmniFocus was not already running. In the normal case (OmniFocus already open), Quick Entry silently opened in the background.A secondary issue: the
elsebranch contained OF2-specific Quick Entry tree navigation (set note expanded of tree, System Events keystrokes) that throws silent errors on OmniFocus 3/4, and whose error dialog is also hidden behind MailMate.Fix
activateunconditionally afteropen, so Quick Entry always comes to the frontquoted form oftodo shell scriptcalls to handle paths safelyTested on OmniFocus 4.8.11 / macOS Sequoia.