chromiumembedded / cef

Chromium Embedded Framework (CEF). A simple framework for embedding Chromium-based browsers in other applications.
https://bitbucket.org/chromiumembedded/cef/
Other
3.21k stars 455 forks source link

Allow transparent browser for windowed mode. #2315

Open magreenblatt opened 6 years ago

magreenblatt commented 6 years ago

Original report by santosh mahto (Bitbucket: Santosh_Collabora).


As of now windowed mode browser background is set to opaque(WHITE) but windowless browser background is set to transparent by default.

There are many valid use case for embedder to allow windowed mode browser also to be transparent when browser is layered on top of some existing UI, and that UI should be visible though browser.

magreenblatt commented 6 years ago

Original comment by santosh mahto (Bitbucket: Santosh_Collabora).


@magreenblatt : Let me know what you think about this, I already have local patch for this.

magreenblatt commented 6 years ago

What platforms does it work on? How is it configured? You're welcome to submit a PR for further discussion.

magreenblatt commented 6 years ago

Original comment by santosh mahto (Bitbucket: Santosh_Collabora).


We have embedded linux devices for bike tracker where we want to enable transparency for windowed browser,
Here is a PR : https://bitbucket.org/chromiumembedded/cef/pull-requests/136/add-support-for-windowed-mode-transparency/diff

Your views will be really welcomed.

magreenblatt commented 5 years ago

Original comment by Mitchell Charity (Bitbucket: mncharity, GitHub: mncharity).


Fyi, the PR from 2017-12 has a title with an incorrect issue number.

The misidentified issue is closed, which perhaps contributed to the lack of follow-up on this one?

magreenblatt commented 5 years ago

Please see comments on the PR.

magreenblatt commented 4 years ago

Marking as WontFix due to lack of reporter response.

magreenblatt commented 3 years ago

Original comment by Benjamín de la Fuente Ranea (Bitbucket: Benjamín de la Fuente Ranea).


There is a good implementation for this issue in this PR: https://bitbucket.org/chromiumembedded/cef/pull-requests/267/support-transparent-window-in-views

Maybe this issue can be re-considered?

magreenblatt commented 6 years ago

Original changes by santosh mahto (Bitbucket: Santosh_Collabora).


magreenblatt commented 5 years ago
magreenblatt commented 4 years ago
magreenblatt commented 3 years ago
magreenblatt commented 3 years ago
magreenblatt commented 3 years ago
cnelson-fp commented 5 months ago

Andy Tzeng had a PR267 that looks pretty good that supports this feature: https://bitbucket.org/chromiumembedded/cef/pull-requests/267/support-transparent-window-in-views

magreenblatt commented 4 months ago

There is also https://bitbucket.org/chromiumembedded/cef/pull-requests/342 for non-Views. If someone wanted to update these PRs for current master we could re-review.