Skip to content

[Bug]: Setting the BackgroundColor to the BrowserView doesn't work on Windows #29778

Closed

Description

@ip7e

Preflight Checklist

Electron Version

11., 12., 13.*

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

setBackgroundColor() should set the background to the browser view.

Actual Behavior

The content of the BrowserView is still transparent.

image

Testcase Gist URL

https://gist.github.com/ddramone/712a2fde2757736c9dbf6c3e7e0aa18b

Additional Information

Additional unusual behavior:

I tried to remove the background color from the parent BrowserWindow. As a result

  • BrowserView that is fully visible in the screen (right) picks up its own background. But it is blended through the renderer content.

  • Another BrowserView that is partially visible on the screen (left) still doesn't pick up its own background.

see the screenshot:

image


figma.com is the example that doesn't have the background color to the document body.

Activity

  1. added
    has-repro-gist
    on Jun 18, 2021
  2. self-assigned this
    on Jun 23, 2021
  3. weifeiyue commented on Jul 16, 2021

    @weifeiyue

    @codebytere when can it be fixed? This bug has affected the progress of my project 😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭

  4. weifeiyue commented on Jul 20, 2021

    @weifeiyue

    how about this bug?

  5. codebytere commented on Jul 21, 2021

    @codebytere
    Member

    Please be patient. We are a small team and there are thousands of issues - we are doing the best we can.

  6. weifeiyue commented on Aug 4, 2021

    @weifeiyue

    😭😭😭😭how about this bug?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

11-x-y12-x-y13-x-ybug 🪲component/BrowserViewhas-repro-gist

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions