Skip to content

Conversation

@therealmarv
Copy link

@therealmarv therealmarv commented Sep 16, 2025

fixes #82 by handling the fullscreen window in a special way for macOS 26 Tahoe. I could not test it with older macOS but it should cause no problems (that needs testing).

Short Summary

  • Fix grey border on fullscreen on macOS 26 by ensuring a fully opaque, black canvas at all times
  • Image view now paints black before any image and is declared opaque for avoiding grey window borders
  • Fullscreen uses constraint-based layout; windowed uses autoresizing; no mixing of layout systems (could not get the new fullscreen handling to work in window mode)
  • Overhauled window config:
    • fullscreen is borderless, opaque, no shadow, hidden title
    • windowed is titled, opaque, with shadow
  • Notch/safe-area handled in fullscreen by offsetting the top constraint
  • Centralized screen configuration; avoid manually setting view frames when constraints are active

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.

Bug: macOS 26 Tahoe, full screen image view has now a small grey border on all sides

1 participant