Skip to content

app: call raise_() before activateWindow() so dodo comes to front on macOS#136

Open
klement wants to merge 1 commit intoakissinger:masterfrom
klement:macos-raise-window
Open

app: call raise_() before activateWindow() so dodo comes to front on macOS#136
klement wants to merge 1 commit intoakissinger:masterfrom
klement:macos-raise-window

Conversation

@klement
Copy link
Copy Markdown
Contributor

@klement klement commented Apr 10, 2026

Summary

On macOS, when returning from an external editor (e.g. after composing a message), activateWindow() alone does not reliably bring the dodo window back to the foreground. Adding raise_() before activateWindow() ensures the window comes to the front and receives keyboard focus when the editor process finishes.

Test plan

  • On macOS, compose a message that opens an external editor — after saving and closing the editor, dodo's window comes to the front
  • On Linux, verify no change in behaviour

…macOS

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

1 participant