Skip to content

Fix hang when switching to Notes#87

Open
Cykelero wants to merge 1 commit intosballin:masterfrom
Cykelero:fix-hang-when-switching-to-notes
Open

Fix hang when switching to Notes#87
Cykelero wants to merge 1 commit intosballin:masterfrom
Cykelero:fix-hang-when-switching-to-notes

Conversation

@Cykelero
Copy link
Copy Markdown

Issue

In some configurations, the workflow can hang for a very long time (a dozen seconds, or sometimes even indefinitely) when performing an action that opens Notes.

This PR

The hang can be skipped by the user simply by manually switching to Notes. This PR explicitely reveals the Notes app whenever it is supposed to be switched to, thus fixing the issue.

As a side effect, this makes the workflow feel more reactive, as the Notes app will instantly be displayed when the workflow is used, even if it then takes a bit of time to focus the actual requested note.

Notes

In my daily usage, I only use a fraction of this workflow's features—please test drive this PR for a bit, in case I missed issues with it!

Fixes #81.

In some configurations, the workflow can hang for a very long time (a dozen seconds, or sometimes even indefinitely) when performing an action that opens Notes.

The hang can be skipped by the user simply by manually switching to Notes. This commit explicitely reveals the Notes app whenever it is supposed to be switched to, thus fixing the issue.

As a side effect, this makes the workflow feel more reactive, as the Notes app will instantly be displayed when the workflow is used, even if it then takes a bit of time to focus the actual requested note.
@sballin
Copy link
Copy Markdown
Owner

sballin commented Apr 16, 2025

Thanks for the pull request, will test drive!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Opening a note pauses for multiple seconds

2 participants