Add a window full-screen changed event
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 48/100
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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
- Linguagem predominante
- C++
- Estrelas
- 34
- Forks
- 7
- Merge médio
- 3d 1h
- PRs com merge (30d)
- 1
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de libnativeapi/nativeapi
-
bug
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 45/100
libnativeapi/nativeapi#81 ·
-
bug
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 45/100
libnativeapi/nativeapi#80 ·
-
bug
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 35/100
libnativeapi/nativeapi#79 ·
-
bug
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 45/100
libnativeapi/nativeapi#78 ·
-
bug
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 45/100
libnativeapi/nativeapi#77 ·
Todas as issues de libnativeapi/nativeapi
Issues semelhantes
-
AuTest Bug Tests
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
apache/trafficserver#13714 ·
-
bug build
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
facebookincubator/velox#19143 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
tenstorrent/tt-metal#57393 · 1 comentário ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
objectionary/eo-graphs#74 ·