Skip to content

Pins made after the Keychain key fails at launch are never written, because the failure is never retried. - #501

Merged
deansasek merged 1 commit into
mainfrom
fix/clipboard-key-retry
Oct 18, 2026
Merged

deansasek merged 1 commit into
mainfrom
fix/clipboard-key-retry

Conversation

@deansasek

Copy link
Copy Markdown
Owner

Last of the clipboard save stack, on top of #497, #498, #499 and #500.

Closes #470

Stacked on:

…eadable

A key that failed at launch left clipboard.json and clipboard-history.json
closed for the whole session, because only Reset Clipboard Key cleared the
flag. A denied Keychain prompt or a locked Keychain therefore silenced
every save, and pins made in that session were lost at quit with nothing
but a log line.

A save or pin change now reads those files again off the main actor. When
one opens, its clips merge in and the waiting save goes out straight away,
so the pins made meanwhile are written and the older ones are kept. A file
that is still unreadable is left alone and the next change tries again.
@deansasek
deansasek merged commit 822948d into main Oct 18, 2026
@deansasek
deansasek deleted the fix/clipboard-key-retry branch October 18, 2026 17:30
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.

Pins made after the Keychain key fails at launch are never written, because the failure is never retried.

1 participant