Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explore window-reuse nuances of cross-screen fullscreen #38

Open
michaelwasserman opened this issue Oct 22, 2020 · 1 comment
Open

Explore window-reuse nuances of cross-screen fullscreen #38

michaelwasserman opened this issue Oct 22, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request question Further information is requested

Comments

@michaelwasserman
Copy link
Member

See this thread: https://gist.github.com/HenrikJoreteg/f1ca7c6bdfc1159b103db14e74fffaa0

Currently Chromium uses the existing HWND/NSWindow/XWindow for fullscreen rendering, so cross-screen requests move the window to the target display before entering the fullscreen state (and move back on exit).

Users and developers may expect the existing window to remain in-place and for a separate window to be used for cross-screen fullscreen. We should explore use cases, plus spec & impl options more deeply, but it's unclear how this might work in practice (e.g. how to split the Document and DOM across two windows, how to handle input events and Window/Screen JS access, etc.).

Safari might give some insight here, I think it shows a placeholder in the original window and then creates a separate window for fullscreen? Note that it is possible (albeit awkward) to do window.open + Element.requestFullscreen (we may also explore supporting fullscreen=true in window.open or similar)

@michaelwasserman michaelwasserman self-assigned this Oct 22, 2020
@michaelwasserman michaelwasserman added enhancement New feature or request question Further information is requested labels Oct 29, 2021
@michaelwasserman
Copy link
Member Author

This is a reasonable space to explore for future enhancements of the fullscreen and window placement apis.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant