Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When will transparency come out. #1

Open
Hunlongyu opened this issue Sep 30, 2021 · 5 comments
Open

When will transparency come out. #1

Hunlongyu opened this issue Sep 30, 2021 · 5 comments

Comments

@Hunlongyu
Copy link

Transparency level setting opacity: number.

@danidre14
Copy link

It was planned for 2021 and currently is now planned for 2022, but honestly, it might not come about in the near future. This is because Neu heavily relies on webview (a cross platform library to running...a webview) and if you check their github, since 2017 they have been trying to get transparent backgrounds but have been unable to on all platforms and thus have not implemented it fully yet.
webview/webview#25 (its left as "help wanted")

@prashantkr006
Copy link

hello @danidre14 I was looking for participating in GSOC 2022 and I saw this project and I found it interesting and somehow similar to the tech stack I work on, in GSOC readme I saw this project idea and the attached link dropped me here to this issue, I would like to work on this opacity feature.

@danidre14
Copy link

Hi @prashantkr006

If you haven't already, join the discord and get acquainted with everyone and you can further discuss your options there!

@coldino
Copy link

coldino commented Oct 24, 2022

On Windows this is certainly already possible when working directly with WebView2. An old test project I made to overlay Twitch chat over games has a very simple WPF wrapper and works well:

<Window x:Class="BrowserOverlay.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:wpf="clr-namespace:Microsoft.Web.WebView2.Wpf;assembly=Microsoft.Web.WebView2.Wpf"
        AllowsTransparency="True" Background="Transparent"
        Topmost="True" WindowStyle="None" Title="MainWindow" Width="600" Height="480">
    <Grid>
        <wpf:WebView2 x:Name="webView" DefaultBackgroundColor="Transparent"/>
    </Grid>
</Window>

Sure, this is WPF, but it shows it is very much achievable.

Unfortunately I have no knowledge about the viability on Linux or Mac.

@riffly
Copy link

riffly commented Jan 26, 2023

I would like to try,, please assign me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants