Skip to content

Frameless window does not enter fullscreen correctly from maximized #19481

Closed

Description

@caesar

Preflight Checklist

  • I have read the Contributing Guidelines for this project.
  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for an issue that matches the one I want to file, without success.

Issue Details

  • Electron Version:
    • 6.0.0-beta.15
  • Operating System:
    • Windows 10 (1903)
  • Last Known Working Electron version:
    • 5.0.8

Expected Behaviour

When a frameless window is maximized, and then enters full screen from that state, it should fill the entire screen with no border.

Actual Behaviour

If a frameless window enters fullscreen from a maximized state, a ~10px white border appears all around the screen.
(Hard to show in a screenshot on a white page…)

To Reproduce

Fiddle gist: https://gist.github.com/caesar/12c97746e9d8b0e9bd2ee7e4958c63ad

Screenshots

It's hard to see the issue here because the border is white and so is the background of this page… but if you look carefully, the second time I the window enters fullscreen (when it does it from maximized), a white border appears.
Kapture 2019-07-26 at 23 28 21

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions