Skip to content

Setting titleBarOverlay to rgba(0,0,0,0) makes controls fall back to default background color #51014

Closed

Description

@tarik02

Preflight Checklist

Electron Version

41.2.0

What operating system(s) are you using?

Other Linux

Operating System Version

Arch Linux, Linux 6.19.11-1-cachyos #1 SMP PREEMPT_DYNAMIC Wed, 08 Apr 2026 11:27:19 +0000 x86_64 GNU/Linux

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

It shows fully transparent window controls:

Image

Actual Behavior

It falls back to default background color (GetFrameColor()):

Image

Testcase Gist URL

https://gist.github.com/40d398d014240a5ef3be921cbd8c2b85

Additional Information

  1. Setting color to color: 'rgba(1,0,0,0)', works.
  2. Having any transparent color (alpha != 255) makes Electron crash on debug build only: Crash trace.

Activity

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

    @nikwen
    Member

    Thanks for reporting!

    It seems like the gist was not made with Electron Fiddle and references a non-existent file.

    Would you be able to download Electron Fiddle, use it to create a small sample app that allows maintainers to reproduce this issue, and upload it as a GitHub gist from Fiddle?

  6. added
    blocked/need-repro
    on Apr 13, 2026
  7. electron-issue-triage commented on Apr 13, 2026

    @electron-issue-triage

    Hello @tarik02. Thanks for reporting this and helping to make Electron better!

    Would it be possible for you to make a standalone testcase with only the code necessary to reproduce the issue? For example, Electron Fiddle is a great tool for making small test cases and makes it easy to publish your test case to a gist that Electron maintainers can use.

    Stand-alone test cases make fixing issues go more smoothly: it ensure everyone's looking at the same issue, it removes all unnecessary variables from the equation, and it can also provide the basis for automated regression tests.

    Now adding the blocked/need-repro Needs a test case to reproduce the bug label for this reason. After you make a test case, please link to it in a followup comment. This issue will be closed in 10 days if the above is not addressed.

  8. tarik02 commented on Apr 13, 2026

    @tarik02
    ContributorAuthor

    @nikwen updated issue (there's two gists, I hope the fact that second doesn't have accepted format is okay?)

    https://gist.github.com/40d398d014240a5ef3be921cbd8c2b85

  9. removed
    blocked/need-repro
    on Apr 13, 2026
  10. moved this from 👀 Unsorted Items to 👍 Does Not Block Stable in 41-x-yon Apr 15, 2026
  11. added
    has-repro-gist
    on May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    41-x-ybug 🪲component/wcohas-repro-gistplatform/linux

    Type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions