Skip to content

setResizable(true) after setResizable(false) on a transparent frameless window removes transparency on Windows #51094

Closed

Description

@YUCLing

Preflight Checklist

Electron Version

41.2.0, 41.0.3

What operating system(s) are you using?

Windows

Operating System Version

Windows 11 version 23H2

What arch are you using?

x64

Last Known Working Electron version

41.0.2

Does the issue also appear in Chromium / Google Chrome?

I don't know how to test

Expected Behavior

Window's transparency is kept across the changes to resizability.

Actual Behavior

Window lost its transparency after setting it to not resizable then resizable

Testcase Gist URL

https://gist.github.com/YUCLing/c41ad9581c0d4def55cd971c6bac2118

Additional Information

No response

Activity

  1. added theissue type on Apr 16, 2026
  2. added
    has-repro-gist
    on Apr 16, 2026
  3. moved this to 👀 Unsorted Items in 41-x-yon Apr 16, 2026
  4. nikwen commented on Apr 16, 2026

    @nikwen
    Member

    Thanks for reporting! What is the first v41 version on which it is broken?

  5. added
    bug/regression ↩️
    on Apr 16, 2026
  6. YUCLing commented on Apr 16, 2026

    @YUCLing
    ContributorAuthor

    What is the first v41 version on which it is broken?

    After v41.0.2 v41.0.3, to be clear

  7. YUCLing commented on Apr 16, 2026

    @YUCLing
    ContributorAuthor

    FYI, in v41.0.2 (and some versions before), resizing is not possible with transparent frameless window. It's possible since v41.0.3, but the transparency loss issue also kicks in.

  8. nikwen commented on Apr 16, 2026

    @nikwen
    Member

    Thanks! Range: v41.0.2...v41.0.3

    #49428 seems to be related (but still an improvement over the previous state). CC @mayfield.

  9. self-assigned this
    on Apr 20, 2026
  10. moved this from 👀 Unsorted Items to 🛠️ Fixed for Next Release in 41-x-yon Apr 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

41-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