Add a window full-screen changed event
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
Direzione di ricerca
Start by tracing Window::SetFullScreen() and IsFullScreen() on macOS, Windows, and Linux. Review the listed native notifications and window-state event, including the Windows style and title-bar restoration concerns. Done means a full-screen change event is emitted for programmatic and user-triggered changes on each platform.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Window::SetFullScreen() / IsFullScreen() exist on all three desktop platforms, but there is no event when a window enters or leaves full screen. That includes changes the user triggers (the green button on macOS, F11 / the window manager on Linux). Apps that change their layout in full screen currently have to poll.
Proposal: add a WindowFullScreenChangedEvent (or an entered/left pair), emitted:
- macOS:
NSWindowDidEnterFullScreenNotification/NSWindowDidExitFullScreenNotification - Windows: from
SetFullScreen(), which is the only way in since Win32 has no native full-screen state. Note thatWM_SIZEarrives withSIZE_RESTORED, so it can't be detected from the size message. - Linux:
window-state-eventwithGDK_WINDOW_STATE_FULLSCREEN
It should also be checked that the Windows SetFullScreen() restores the style and title bar correctly on exit (see leanflutter/window_manager#579 and #569).
Background:
- leanflutter/window_manager#560: onWindowEnterFullScreen / onWindowLeaveFullScreen never fire on Windows
- leanflutter/window_manager#559: a draft PR for Windows full-screen handling
- Lingua principale
- C++
- Stelle
- 34
- Fork
- 7
- Merge medio
- 3g 1h
- PR unite (30g)
- 1
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di libnativeapi/nativeapi
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
libnativeapi/nativeapi#81 ·
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
libnativeapi/nativeapi#80 ·
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
libnativeapi/nativeapi#79 ·
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
libnativeapi/nativeapi#78 ·
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
libnativeapi/nativeapi#77 ·
Tutte le issue di libnativeapi/nativeapi
Issue simili
-
AuTest Bug Tests
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
apache/trafficserver#13714 ·
-
bug build
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
facebookincubator/velox#19143 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
tenstorrent/tt-metal#57393 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
objectionary/eo-graphs#74 ·