8000 [Bug]: Setting the BackgroundColor to the BrowserView doesn't work on Windows · Issue #29778 · electron/electron · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[Bug]: Setting the BackgroundColor to the BrowserView doesn't work on Windows #29778
Closed
@ip7e

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0