Skip to content

[Bug]: Electron app is getting unsnapped on restore from minimize #31451

@kch281

Description

@kch281

Preflight Checklist

Electron Version

13.1.7

What operating system are you using?

Windows

Operating System Version

Windows 11 Dev Insider

What arch are you using?

x64

Last Known Working Electron version

Unsure

Expected Behavior

  1. Snap Electron app window through WIN+Left/Right, dragging, or with hovering on the maximize button to get the snap options.
  2. Minimize the window.
  3. Click on the window through the taskbar to pull it up again.

Expected behavior: Electron window stays snapped.

Actual Behavior

  1. Snap Electron app window through WIN+Left/Right, dragging, or with hovering on the maximize button to get the snap options.
  2. Minimize the window.
  3. Click on the window through the taskbar to pull it up again.

Actual behavior: Electron window gets unsnapped, visible because the corners are rounded instead of sharp.

Testcase Gist URL

No response

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions