MicrosoftEdge / WebView2Feedback

Feedback and discussions about Microsoft Edge WebView2
https://aka.ms/webview2
425 stars 51 forks source link

Linux support #645

Closed damodaranr closed 2 weeks ago

damodaranr commented 3 years ago

When can we expect WebView2 to be available on Linux (ubuntu) now that Microsoft Edge Chromium is officially available on Linux.

AB#27465288

champnic commented 3 years ago

Thanks for the inquiry! We are currently planning on adding support for MacOS first, so I wouldn't expect Linux until later 2021. We'll use this GH issue to track support and keep you posted. Thanks!

gismofx commented 3 years ago

@champnic Is there a timeline/schedule issue I can follow for MacOS support?

kirsan31 commented 3 years ago

What about Avalonia support? Or may be I need to open a new issue?

champnic commented 3 years ago

@kirsan31 I don't think we will be specifically contributing to Avalonia. It sounds like something folks who are passionate about WebView2 may want to contribute to that project though!

Jinjinov commented 3 years ago

@champnic when approximately - which month - can we expect WebView2 on macOS / Linux? or at least which quarter?

champnic commented 3 years ago

It is on our roadmap but at this point we believe it will be post 2021 so we don't have a specific quarter - we will share updates when we have more detailed timelines.

TomMarius commented 3 years ago

@champnic is there (going to be) an issue tracking macOS support, or will you use this one?

champnic commented 3 years ago

@TomMarius That's a great point - I'll create a new issue to track Mac: #1314.

RChrisCoble commented 3 years ago

Registering interest in this support.

Specifically we want to deliver a MAUI wrapped Blazor application that also runs on Linux. My understanding is we need a Linux version of WebView2 and some form of MAUI wrapper support.

CC: @danroth27

captainjono commented 3 years ago

Plus 1 to support for a cross platform WebView framework.

@RChrisCoble Ive been building apps in this vain with Xamarin WebView on mobiles, and with Chromely on desktops, sharing code across all projects. Ive got a fork that runs on macos, windows, linux and supposedly works with Blazor but i havnt tried. Alvalonia runs on CEF, pretty much all current electron style frameworks do.

Im keen bring .net outa the dark ages and start a MAUItron to package this style of app up into a simple to consume library and would love it to be powered by AspNetCORE + WebView2.

I came across this thread while tracking down my latest CEF gremlin. Its a massive maintanance overhead that you need to dedicate either full time resources to or deal being on a stale build. My WebView code hardly changes from update to update if at all.

The Java ecosystem has no problem with embedded Browser apps on any platform, C# definitely feels like the poor second cousin in this area.

yangzhongke commented 3 years ago

Because 'AddHostObjectToScript' uses the notorious COM technology, which is Windows-dependent , I don't think it will be supported on the Linux version, right? Why did your team decide to use COM technology to implement the hostObjects?

jschroedl commented 3 years ago

WebView2 was created as a replacement for WPF WebBrowser and UWP WebView, so it is no surprise that it uses COM. IMO, making this cross-plat is a pipe dream which adds no value to myself as a Windows desktop developer. I personally hope Lx and Mac are very low priorities.

RChrisCoble commented 3 years ago

WebView2 was created as a replacement for WPF WebBrowser and UWP WebView, so it is no surprise that it uses COM. IMO, making this cross-plat is a pipe dream which adds no value to myself as a Windows desktop developer. I personally hope Lx and Mac are very low priorities.

There are some of us that want to "write once, use everywhere" using something like a MAUI wrapped Blazor application. Having this support makes that possible.

lucasyvas commented 3 years ago

WebView2 was created as a replacement for WPF WebBrowser and UWP WebView, so it is no surprise that it uses COM. IMO, making this cross-plat is a pipe dream which adds no value to myself as a Windows desktop developer. I personally hope Lx and Mac are very low priorities.

Edge is cross-platform to support cross-platform developers - I won't speculate the amount of work required to make this happen and if it's worth it or not (because I don't know), but Windows is less and less the sole market that Microsoft aims to serve.

x4e commented 3 years ago

WebView2 was created as a replacement for WPF WebBrowser and UWP WebView, so it is no surprise that it uses COM. IMO, making this cross-plat is a pipe dream which adds no value to myself as a Windows desktop developer. I personally hope Lx and Mac are very low priorities.

I fail to understand how what a single developer values should direct the goal of such a major library

csdvrx commented 3 years ago

adds no value to myself as a Windows desktop developer. I personally hope Lx and Mac are very low priorities.

As a Windows developer and user, I personally hope Linux support is high priority, since having more potential users adds value to my software, and by extension myself.

sing-ideas commented 3 years ago

Thanks for the inquiry! We are currently planning on adding support for MacOS first, so I wouldn't expect Linux until later 2021. We'll use this GH issue to track support and keep you posted. Thanks!

Hi,

Is there a roadmap ID for Linux release of MS Edge Chromium WebView2?

regards, Sing

ericoporto commented 2 years ago

A WebView with Linux support would allow me to use more C# in my developments.

lucasyvas commented 2 years ago

Is the goal for WebView2 for Linux/Mac GA to provide a singular language binding, or will it expose a C API that can be bound to anything supporting FFI?

yangzhongke commented 2 years ago

don't bloat linux with your web shit

microsoft bloat driven company, STOP

Shit happens, and you do too.

mt16in commented 2 years ago

What is the timeline look like? would be interested in the beta program if there is any for Mac or Linux.

captainjono commented 2 years ago

I heard through the grapevine that the first beta will be Released this time next year for macOS.

On Fri, Sep 17, 2021 at 1:21 PM mt16in @.***> wrote:

What is the timeline look like? would be interested in the beta program if there is any for Mac or Linux.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/MicrosoftEdge/WebView2Feedback/issues/645#issuecomment-921425078, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABOPWTW4XX52ITVOEYAXSILUCKX37ANCNFSM4T4LKLZQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

kejml commented 2 years ago

I heard through the grapevine that the first beta will be Released this time next year for macOS.

And I bet never for Linux...

HasinduLanka commented 2 years ago

https://github.com/webview/webview already support Linux. In fact, it's primary purpose is to make write once - run anywhere desktop apps. Why wouldn't webview2 support Linux?

intrnl commented 2 years ago

https://github.com/webview/webview already support Linux. In fact, it's primary purpose is to make write once - run anywhere desktop apps. Why wouldn't webview2 support Linux?

It wasn't stated that they're not supporting Linux, it is in their plans :slightly_smiling_face:

Thanks for the inquiry! We are currently planning on adding support for MacOS first, so I wouldn't expect Linux until later 2021. We'll use this GH issue to track support and keep you posted. Thanks!

FilipPlotnicki commented 2 years ago

Since Teams v2 uses webview2, this would make it easier for the Teams team to create a native client for Linux, am I getting this right?

If so, then as a developer, who is predominantly using Linux-based OS but is communicating with the team via MS Teams I'm very interested in such a feature!

kejml commented 2 years ago

Since Teams v2 uses webview2, this would make it easier for the Teams team to create a native client for Linux, am I getting this right?

That's correct, but my feeling is, that MS doesn't care about Teams for Linux at all...

greatawesome commented 2 years ago

I'd really like to see webview2 on Linux, especially for ARM and embedded systems. It'd really fit with the C# everywhere mantra.

kitingChris commented 2 years ago

waitin for webview2 on linux...

p0358 commented 2 years ago

Well, not much reason of choosing WebView2 if it limits you to one system. Ideally not only should it work natively, but also with Wine...

StephenMcConnel commented 2 years ago

My development team is certainly interested in a Linux WebView2 since the two systems we target in much of our software are Windows and (Ubuntu) Linux.

mt16in commented 2 years ago

How about the timeline for Mac and Linux? I am looking for a cross-platform UI framework for our project. My first choice is to use WebView2. If it is not coming shortly, we would prefer to use the electron framework.

champnic commented 2 years ago

@mt16in We are working on Mac now, but it probably won't be available until next year (I'm not sure on the exact preview plan yet). We don't have a timeline yet for Linux, but I would be surprised if we start work this year unfortunately. Sounds like that timeline probably doesn't work for you, so I would also consider CEF (Chromium Embedded Framework) in addition to Electron: https://bitbucket.org/chromiumembedded/cef/wiki/Home

mt16in commented 2 years ago

Thanks, @champnic, for your quick response. It helps; looking forward to using Webview2 in the future. Please let me know if there is any beta program that you are rolling out for Webview2 on Mac.

SergioRibera commented 2 years ago

Thanks, @champnic, for your quick response. It helps; looking forward to using Webview2 in the future. Please let me know if there is any beta program that you are rolling out for Webview2 on Mac.

As a good alternative to electron while webkit2 is finished sewing for all systems, I can suggest tauri, it's based on rust and it's the best thing ever made and most importantly is crossplatform

mt16in commented 2 years ago

Thanks, @champnic, for your quick response. It helps; looking forward to using Webview2 in the future. Please let me know if there is any beta program that you are rolling out for Webview2 on Mac.

As a good alternative to electron while webkit2 is finished sewing for all systems, I can suggest tauri, it's based on rust and it's the best thing ever made and most importantly is crossplatform

Thanks @champnic, Yes it seems to be a good alternative. However, it looks like Tauri is still doing beta https://tauri.studio/release-notes

sing-ideas commented 2 years ago

Thanks for the inquiry! We are currently planning on adding support for MacOS first, so I wouldn't expect Linux until later 2021. We'll use this GH issue to track support and keep you posted. Thanks!

Hi,

Is there a roadmap ID for Linux release of MS Edge Chromium WebView2?

regards, Sing

Hi,

I noted an update about WebView2 - Linux Preview in this link... https://docs.microsoft.com/en-us/microsoft-edge/webview2/roadmap

No specific date found.

The WebView2 team is planning the following major efforts for future updates:

UWP Preview MacOS Preview Xbox Preview HoloLens Preview Linux Preview

Is there any other update on the linux? regards, Sing.

champnic commented 2 years ago

No update. We haven't begun design or planning for Linux.

LifeIsStrange commented 2 years ago

https://github.com/webview/webview, gtkwebkit and tauri all suffer from the same fundamental flaw. They do not use the same rendering engine on windows and on linux which leads to many platform dependent bugs. Moreover, using webkit on linux is a very poor choice when you know the topic, webkit is significantly slower on many important rendering tasks and more importantly webkit is the new internet explorer, its support for web standard is buggy and lacking in a magnitude that goes beyond imagination. WebView2 solves a real problem by being the first to bring a proper cross platform webview that consistently use a chromium derivative. If it went mainstream, people could save the disk space caused by electron absurdly using one chromium duplicate per app.

Niedzwiedzw commented 2 years ago

I love Microsoft and Microsoft Teams, but it runs much worse on linux and I need to use linux cause I'm developing a cross platform apps in C#... This would also allow me to produce C# Blazor applications much more smoothly, with better developer experience, for windows, linux and macos.

tomatac commented 2 years ago

Any update on WebView2 on Linux?

pboushy commented 2 years ago

Any update on this? Really surprised to see this isn't in progress with Microsoft's plans for Teams running WebView2. Hoping this moves to in progress soon.

sing-ideas commented 2 years ago

At least a roadmap ID to track would be good.

gamelaster commented 1 year ago

Who knows when Linux support will arrive, but I'm not much sure that it will be in near time, as even on Standalone Edge for Linux, Microsoft is not building it with VA-API enabled, (thus no hw video decoding, so quite big deal), and nobody cares

LifeIsStrange commented 1 year ago

@gamelaster isn't chromium/chrome having the same issue?

gamelaster commented 1 year ago

@LifeIsStrange Chromium isn't problem, as you can compile it by yourself with VA-API module enabled, and from the articles online, it seems that Google Chrome have VA-API module compiled (and needs to be enabled with flag).

sing-ideas commented 1 year ago

@LifeIsStrange Chromium isn't problem, as you can compile it by yourself with VA-API module enabled, and from the articles online, it seems that Google Chrome have VA-API module compiled (and needs to be enabled with flag).

Hi, Our developer too expressed this issue. Microsoft is now speaking about Linux Distro, not sure what is stopping them from working on this Linux Webview2, even a road map ID is not available.

kejml commented 1 year ago

Microsoft doesn't care about Linux desktop - just look at Teams client, it's years behind in features.

sandsc commented 1 year ago

Any update on this?

pboushy commented 1 year ago

Microsoft doesn't care about Linux desktop - just look at Teams client, it's years behind in features.

Lol. Teams native client in Linux is EOL even now. They’re doing a progressive web app instead.