Skip to content

fix: handle macos fullscreen close#2443

Open
ritteralvaro wants to merge 1 commit into
ferdium:developfrom
ritteralvaro:develop
Open

fix: handle macos fullscreen close#2443
ritteralvaro wants to merge 1 commit into
ferdium:developfrom
ritteralvaro:develop

Conversation

@ritteralvaro

Copy link
Copy Markdown

Summary

Fixes a macOS native fullscreen window-management issue when closing Ferdium while "Keep Ferdium in background when closing the window" is enabled.

When the main window is in native fullscreen, Ferdium now waits for the leave-full-screen event before hiding the window.

Details

The previous logic registered a show listener that re-entered fullscreen after the window was shown again. On macOS this can cause an odd hide/reopen loop or window-management glitch.

This change removes that re-enter-fullscreen hook and keeps the existing Windows behavior unchanged.

Testing

  • Tested locally on macOS.
  • Entered native fullscreen.
  • Pressed Cmd+W.
  • Confirmed Ferdium exits fullscreen and hides cleanly.
  • Ran project hooks during commit: typecheck, lint/format, and tests passed.

Fixes #2442

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.

macOS: Closing Ferdium while in native fullscreen can cause window hide/reopen loop

1 participant