Skip to content

[Bug]: BrowserWindow.maximize Doesn't Fire show Event for Unshown Window #32976

Closed

Description

@dsanders11

Preflight Checklist

Electron Version

19.0.0-nightly.20220207

What operating system are you using?

Windows

Operating System Version

Windows 10

What arch are you using?

x64

Last Known Working Electron version

No response

Expected Behavior

An unshown window becomes shown if maximize() is called, so a 'show' event should be fired.

Actual Behavior

A 'show' event is not fired.

Testcase Gist URL

https://gist.github.com/b86e40446891294b1d1f3cfc19202c89

Additional Information

I've only tested this on Windows so far. On macOS, #32947 means the window isn't shown anyway, so this issue is not applicable there for the moment.

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