Skip to content

feat: Close on focus loss - #389

Open
martinszeltins wants to merge 3 commits into
AlexanderVanhee:mainfrom
martinszeltins:close-on-focus-loss
Open

martinszeltins wants to merge 3 commits into
AlexanderVanhee:mainfrom
martinszeltins:close-on-focus-loss

Conversation

@martinszeltins

Copy link
Copy Markdown

Add an preference option to close the window on focus loss with configurable delay. Useful when you just want to take a screenshot but don't want to annotate. Fixes the issue of Gradia windows piling up which need to be closed manually.

image

kekel87 and others added 3 commits April 28, 2026 08:57
Closes AlexanderVanhee#250
Adds a new "Close After Copying" preference in the existing "Closing" group. When enabled, pressing Ctrl+C (or otherwise triggering the copy action) closes the window once the image has been placed on the clipboard.
Skipped when exit-method is already "copy" to avoid a redundant re-render and second clipboard write.
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.

2 participants