MicrosoftEdge / WebView2Feedback

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

Mac OSX support #1314

Closed champnic closed 2 days ago

champnic commented 3 years ago

Is your feature request related to a problem? Please describe. Add support for WebView2 on Mac OSX.

Related

645: Linux Support

AB#27336439

captainjono commented 3 years ago

Keen beta tester here for anything preview 🥇

jwosty commented 3 years ago

This would be a serious game changer for those of us who want to build cross-platform electron-like apps with .NET. Currently, there isn't really a good macOS CEF binding for .NET out there, so we have to resort to using Apple's built-in WKWebView, which ends up behaving differently at times because it's a different browser (not Chromium).

Interstellar is very very interested in this.

Having WebView2 for macOS would be seriously amazing. Please please please!

chris1000 commented 2 years ago

Has there been any updates to this?

DominicFarrington commented 2 years ago

It's still marked on the roadmap: https://docs.microsoft.com/en-us/microsoft-edge/webview2/roadmap.

We also need this feature; so would be nice to have a timeline.

captainjono commented 2 years ago

I got word from inside MS on the Roadmap being first release expected around Oct `22.

On Tue, Nov 2, 2021 at 1:59 PM DominicFarrington @.***> wrote:

It's still marked on the roadmap: https://docs.microsoft.com/en-us/microsoft-edge/webview2/roadmap.

We also need this feature; so would be nice to have a timeline.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/MicrosoftEdge/WebView2Feedback/issues/1314#issuecomment-957055347, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABOPWTXBBHCJUM3GIFNZIDDUJ5HZNANCNFSM45JV57BQ . 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.

vmeganathan81 commented 2 years ago

@champnic ... do you have any idea by when we could expect this for macOC ?

ningccn commented 2 years ago

@vmeganathan81 we are actively working on the WebView2 macOS support towards the future public developer release. We will keep you posted for updates here, stay tuned!

jwosty commented 2 years ago

Fantastic news!

arunvishy commented 2 years ago

@ningccn Thanks for the news, any tentative timelines.

vjpr commented 1 year ago

https://twitter.com/msedgedev/status/1532450628256948224

From slides => 2023

vmeganathan81 commented 1 year ago

@champnic ... could we get beta release of webview2 in macOS so we can start some work on it?

Danielx64 commented 1 year ago

Any updates? Also wanting to build something on mac too

npolyak commented 1 year ago

Friends, any updates for Mac and Linux????????

champnic commented 1 year ago

No updates since @ningccn's comment above. We are continuing to make progress on Mac and haven't begun Linux planning yet.

bobcarroll commented 1 year ago

@champnic That seems to be the perpetual response with the Linux client. It lags behind the Windows client with inconsistent feature updates, bugs, no release notes, and no timelines. I'm happy there's even a Linux client at all, but it would be nice if Microsoft gave it some love.

Edit: Sorry, I just realized this feedback is specifically for Edge and not Teams. It's even more disappointing Teams would switch to WebView2 when it isn't yet supported on macOS or Linux.

jgoldhammer commented 1 year ago

It seems that a new pre version of Teams with Webview2 for macOS is landed in following github project https://github.com/ItzLevvie/MicrosoftTeams-msinternal. Currently I cannot use it as noted here: https://github.com/ItzLevvie/MicrosoftTeams-msinternal/issues/34

xland commented 1 year ago

WebView2 now use COM(IDL) to call native-side code from web-side code. I wonder how this part will be migrated to Mac system. That's a real concern for developers, isn't it?

koenvd commented 1 year ago

Wondering if there's an update here? Thanks!!

hjlld commented 1 year ago

@champnic Any news about mac support?I'm thirsty for rebuilding my electron app with webview2.

eburnette commented 11 months ago

I need to write an app that works on Windows and Mac. I'd like to use WebView2; while we're waiting for Mac support do you have any pointers on a solution that would let me reuse as much code as possible? For example, Chromium Embedded Framework (CEF), WebKit, and Qt WebEngine have come up as possibilities. Also, I understand you can use Electron with an embedded WebView2 when on Windows, but that sounds heavy.

Danielx64 commented 11 months ago

I need to write an app that works on Windows and Mac. I'd like to use WebView2; while we're waiting for Mac support do you have any pointers on a solution that would let me reuse as much code as possible? For example, Chromium Embedded Framework (CEF), WebKit, and Qt WebEngine have come up as possibilities. Also, I understand you can use Electron with an embedded WebView2 when on Windows, but that sounds heavy.

I looked at CEF but the 2 downers for me was that there's no AllowSingleSignOnUsingOSPrimaryAccount option replacement and the runtime is huge, much bigger than my app itself.

Is WebKit even on windows? Qt I think is paid?

tinmac commented 11 months ago

I need to write an app that works on Windows and Mac. I'd like to use WebView2; while we're waiting for Mac support do you have any pointers on a solution that would let me reuse as much code as possible? For example, Chromium Embedded Framework (CEF), WebKit, and Qt WebEngine have come up as possibilities. Also, I understand you can use Electron with an embedded WebView2 when on Windows, but that sounds heavy.

Not strictly web tech but you could take a look at .Net MAUI, you would need C# & XAML knowledge.

jwosty commented 11 months ago

I need to write an app that works on Windows and Mac. I'd like to use WebView2; while we're waiting for Mac support do you have any pointers on a solution that would let me reuse as much code as possible? For example, Chromium Embedded Framework (CEF), WebKit, and Qt WebEngine have come up as possibilities. Also, I understand you can use Electron with an embedded WebView2 when on Windows, but that sounds heavy.

@eburnette Unfortunately there just isn't a good CEF binding that works on macOS, and I'm saying this as someone who is heavily invested in it. The best approach I can come up with is still Apple's WKWebView, if you can tolerate using a different browser engine. There's also https://www.nuget.org/packages/WebkitGtkSharp, part of the GtkSharp ports to .NET Core (I know it works on macOS and Linux; I think it even works on Windows) - it's promising, but not fully completed.

gilvbp commented 11 months ago

Any update? Thanks

AGN1234 commented 10 months ago

Hello, @ningccn just checking if there's an update for supporting mac

xland commented 10 months ago

@ningccn @champnic

I don't want to rush you to support for Mac OSX. I just want to know if there will be destructive updates when support for Mac OSX.

WebView2 now use COM(IDL) to call native-side code from web-side code. I wonder how this part will be migrated to Mac system. That's a real concern for developers, isn't it?

vjpr commented 9 months ago

New Microsoft Teams claims to use WebView2 now. Does this mean WebView2 is now running on macOS?

Macs don't benefit quite as much from the new app since, unlike Windows, they don't have any of the Edge WebView2 files built-in—a WebView2 app on macOS is a lot like an Electron app, in that it includes its own dependencies and needs to update them separately from other WebView2 apps on the same system. But Microsoft still says the new app should improve Mac performance by making it faster to switch channels, improving scrolling performance, more efficiently using device resources, and optimizing the "Teams experience even when using multiple high-resolution monitors during calls or meetings."

https://arstechnica.com/gadgets/2023/10/rebuilt-microsoft-teams-app-promises-twice-the-speed-and-half-the-ram-usage/

This doesn't seem to be such an issue, essentially its just the fixed version runtime model: https://learn.microsoft.com/en-us/microsoft-edge/webview2/concepts/distribution#the-fixed-version-runtime-distribution-mode

There is now /Applications/Microsoft Teams (work or school).app/Contents/Frameworks/MSWebView2.framework...

gilvbp commented 9 months ago

New Microsoft Teams claims to use WebView2 now. Does this mean WebView2 is now running on macOS?

Macs don't benefit quite as much from the new app since, unlike Windows, they don't have any of the Edge WebView2 files built-in—a WebView2 app on macOS is a lot like an Electron app, in that it includes its own dependencies and needs to update them separately from other WebView2 apps on the same system. But Microsoft still says the new app should improve Mac performance by making it faster to switch channels, improving scrolling performance, more efficiently using device resources, and optimizing the "Teams experience even when using multiple high-resolution monitors during calls or meetings."

https://arstechnica.com/gadgets/2023/10/rebuilt-microsoft-teams-app-promises-twice-the-speed-and-half-the-ram-usage/

This doesn't seem to be such an issue, essentially its just the fixed version runtime model: https://learn.microsoft.com/en-us/microsoft-edge/webview2/concepts/distribution#the-fixed-version-runtime-distribution-mode

There is now /Applications/Microsoft Teams (work or school).app/Contents/Frameworks/MSWebView2.framework...

It's out! Finally!

image

@AGN1234 @npolyak @jgoldhammer @koenvd @Danielx64 @DominicFarrington @chris1000

@champnic Congrats! Awesome work!

Danielx64 commented 9 months ago

So how do I get my hands on it now?

gilvbp commented 9 months ago

So how do I get my hands on it now?

It´s just like Windows.

Follow these procedures:

https://support.microsoft.com/en-au/office/get-early-access-to-new-features-in-microsoft-teams-a6e387fe-1cad-4f90-ad78-1a311c77b36d

and after that:

https://support.microsoft.com/en-us/office/switch-to-the-new-microsoft-teams-2d4a0c96-fa52-43f8-a006-4bfbc62cf6c5

Danielx64 commented 9 months ago

So how do I get my hands on it now?

It´s just like Windows.

Follow these procedures:

https://support.microsoft.com/en-au/office/get-early-access-to-new-features-in-microsoft-teams-a6e387fe-1cad-4f90-ad78-1a311c77b36d

and after that:

https://support.microsoft.com/en-us/office/switch-to-the-new-microsoft-teams-2d4a0c96-fa52-43f8-a006-4bfbc62cf6c5

Sorry, I should have been more clear, I'm taking about webview2 for Mac so I can start building my Mac based application

alexchandel commented 7 months ago

New Microsoft Teams claims to use WebView2 now. Does this mean WebView2 is now running on macOS?

Macs don't benefit quite as much from the new app since, unlike Windows, they don't have any of the Edge WebView2 files built-in—a WebView2 app on macOS is a lot like an Electron app, in that it includes its own dependencies and needs to update them separately from other WebView2 apps on the same system. But Microsoft still says the new app should improve Mac performance by making it faster to switch channels, improving scrolling performance, more efficiently using device resources, and optimizing the "Teams experience even when using multiple high-resolution monitors during calls or meetings."

https://arstechnica.com/gadgets/2023/10/rebuilt-microsoft-teams-app-promises-twice-the-speed-and-half-the-ram-usage/

This doesn't seem to be such an issue, essentially its just the fixed version runtime model: https://learn.microsoft.com/en-us/microsoft-edge/webview2/concepts/distribution#the-fixed-version-runtime-distribution-mode

There is now /Applications/Microsoft Teams (work or school).app/Contents/Frameworks/MSWebView2.framework...

It would be preferable to install WebView2 globally on macOS, similar to how it functions on Windows. macOS already has great support for shared application frameworks (even multiple versions), so this shouldn't be a problem.

awakecoding commented 7 months ago

Any update on this? I've heard to new Windows App uses WebView2 under the hood, and it has a macOS version. Clearly there's a non-Windows WebView2 runtime being gradually adopted by first-party Microsoft applications, we're just here waiting for it to become available for everybody else.

koenvd commented 5 months ago

Wondering as well if there would be an update about this? Would be amazing news 😀.

radiachkik commented 4 months ago

Same here!

Just a regular reminder, showing there are quite some people interested. 👍

jaruba commented 2 months ago

ezgif-5-8b5ad1add3

npolyak commented 2 months ago

Same here!

Just a regular reminder, showing there are quite some people interested. 👍

Except for Microsoft

ajaythakran commented 2 months ago

Since new Teams has now become stable, can we see WebView2 release for Mac OS soon???? It would be great if we could get some beta versions to try!!

leaanthony commented 2 months ago

Can't stand "+1" posts but anything for a response!

guidsdo commented 2 months ago

Any update? Is there any way in which we can help?

Maybe one of these tags will help: @champnic @tochukwuIbeEkeocha @victorhuangwq @novac42 @yildirimcagri-msft @ningccn

novac42 commented 2 days ago

Hi everyone, After careful consideration and review of our long-term product strategy, we have decided to discontinue plans for a public release of WebView2 on MacOS and Linux to focus on providing the most value to our customers on currently supported platforms. Thank you for being a valued member of this community and sharing your feedback. In the meantime, if you have any other questions or suggestions, feel free to share them with us. Your input is valuable as we continue to improve WebView2. Thank you for your understanding!

mvasilkov commented 1 day ago

GG well played :)

eburnette commented 1 day ago

In November 2020, @champnic wrote: "We are currently planning on adding support for MacOS first".

In March 2023, Sumi Sigh explained the advantages of WebView2 and said the Mac version was coming soon. A diagram showed Windows, Mac, and Linux.

Classic vs New

In October 2023, Anupam Pattnaik announced the general availability of the new Teams app on the Mac. He wrote: "Using Edge WebView2 as the host for the new Teams app helped us reduce memory usage and disk space as resources are shared with Edge."

Given that Microsoft already supports Teams with WebView2 on the Mac, one could argue it's a "currently supported platform". Is it really that much more work to make the APIs and downloads public? If you can't, then put WebView2 source on GitHub and let the community do it. I bet there would be a port within a week.

The community has waited almost 4 years for WebView2 on Mac. It's based on open-source projects like Chromium. Microsoft is using it internally, so please make it public via SDK or source code so the rest of us can get the same benefits.

bukowa commented 1 day ago

You'd get over it too if you had a budget as small as Microsoft's.

YoavCodes commented 1 day ago

Upsetting news. I was hoping to use webview2 in electrobun

Working with chromium directly and CEF outside of C++ is such a pain. I guess we'll just have to bite that bullet and build it ourselves.