Skip to content

Electron window changes size when moving after using setResizable #51465

Closed

Description

@t57ser

Preflight Checklist

Electron Version

42.0.0-beta.7

What operating system(s) are you using?

Windows

Operating System Version

Windows 10

What arch are you using?

x64

Last Known Working Electron version

No response

Does the issue also appear in Chromium / Google Chrome?

I don't know how to test

Expected Behavior

Window should not change its size

Actual Behavior

window gets smaller by the resize handle after moving it

Testcase Gist URL

https://gist.github.com/t57ser/30c7c0f4fc6d43eeaa4038a276e55986

Additional Information

Related: #51252
although calling setResizable does not change the window size anymore, it will change after a move

Activity

  1. added theissue type on May 4, 2026
  2. added
    has-repro-gist
    on May 4, 2026
  3. moved this to 👀 Unsorted Items in 42-x-yon May 4, 2026
  4. t57ser commented on May 4, 2026

    @t57ser
    ContributorAuthor

    Also note that no resize event is fired for this, which makes workarounds hard

  5. nikwen commented on May 4, 2026

    @nikwen
    Member

    Thanks for reporting! CC @mitchchn.

  6. added
    bug/regression ↩️
    on May 4, 2026
  7. mitchchn commented on May 5, 2026

    @mitchchn
    Member

    I know what's happening here but fixing it properly will actually require backporting my Chromium CL: https://chromium-review.googlesource.com/c/chromium/src/+/7795073.

    @nikwen please assign this one to me.

  8. moved this from 👀 Unsorted Items to 🛑 Blocks Stable in 42-x-yon May 6, 2026
  9. moved this from 🛑 Blocks Stable to 🛠️ Fixed for Next Release in 42-x-yon Jun 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

42-x-ybug 🪲bug/regression ↩️component/BrowserWindowhas-repro-gistplatform/windows

Type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions