Skip to content

[Bug]: Multi-Screen Window Placement API not working #31103

Closed as not planned
Closed as not planned

Description

@jjeff

Preflight Checklist

Electron Version

15.0.0

What operating system are you using?

macOS

Operating System Version

Big Sur

What arch are you using?

arm64 (including Apple Silicon)

Last Known Working Electron version

No response

Expected Behavior

With experimental features enabled, Electron (via Chrome 93+) should be able to use the new Multi-Screen Window Placement API to place windows onto various screens.

Actual Behavior

While most of the API appears to work (e.g. window.getScreens()), any calls to requestFullscreen({screen: someScreen}) will only fullscreen the window on its current screen.

Testcase Gist URL

https://gist.github.com/jjeff/078e07a2e6efd589365717e81094bbd6

Additional Information

Multi-screen Window Placement API is currently in prerelease, but it will ship with Chrome 97.

More in the gist comment:
https://gist.github.com/jjeff/078e07a2e6efd589365717e81094bbd6#gistcomment-3891934

Some thoughts from Michael Wasserman:
michaelwasserman/window-placement-demo#2

Activity

  1. jjeff commented on Sep 24, 2021

    @jjeff
    Author

    Marginally related: #30249

  2. github-actions commented on Oct 5, 2022

    @github-actions
    Contributor

    This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment!

  3. github-actions commented on Nov 6, 2022

    @github-actions
    Contributor

    This issue has been closed due to inactivity, and will not be monitored. If this is a bug and you can reproduce this issue on a supported version of Electron please open a new issue and include instructions for reproducing the issue.

  4. oott123 commented on Nov 7, 2022

    @oott123

    Can we reopen it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions