mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 17:06:15 -08:00
Settings > General gains "Window on startup" (normal / maximized / fullscreen), Electron only, mirrored into the main-process config by SETTINGS_UPDATE and applied at the next window creation. `--fullscreen` forces one fullscreen launch (consumed by the first window). F11 toggles OS-level fullscreen through WINDOW:TOGGLE_FULLSCREEN — the exit path on Windows/Linux where the title bar is hidden — and is skipped while the player owns document.fullscreenElement. attachWindowStateEvents tracks native and HTML fullscreen as two flags, since Electron leaves only the HTML state when the window was already natively fullscreen. macOS ignores the constructor `fullscreen` option on a hidden window, so ready-to-show repeats the request after show(). Toggles are decided by an observe-only, event-fed tracker (native-fullscreen-transitions.ts), never against isFullScreen(). Closes #1455 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
11 lines
345 B
Markdown
11 lines
345 B
Markdown
---
|
|
type: feature
|
|
area: shell
|
|
issues: [1455]
|
|
---
|
|
|
|
Settings → General has a new "Window on startup" option: open the desktop app
|
|
at its last size, maximized, or fullscreen — handy on a TV or HTPC. Starting
|
|
with `--fullscreen` forces a single fullscreen launch without changing the
|
|
setting, and F11 now toggles fullscreen anywhere in the app.
|