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

Use desktop_webview_window for desktop #1

Open
joranmulderij opened this issue Jul 25, 2023 · 7 comments
Open

Use desktop_webview_window for desktop #1

joranmulderij opened this issue Jul 25, 2023 · 7 comments

Comments

@joranmulderij
Copy link

Could you use desktop_webview_window as an alternative to webf for desktop? webf is really experimental and not at all stable. It fails to render most web pages.

I understand that it will no longer be plug-and-play, but I think it is better than the current situation.

Thanks for creating this. It is a lot better than doing the platform interfacing manually.

@moluopro
Copy link
Owner

moluopro commented Jul 25, 2023

I considered using this library on the desktop. But instead of a webview widget, it restarts a new window. Do you think this effect is acceptable?

@joranmulderij
Copy link
Author

Oh I did not realize that. That is indeed unacceptable. I looked a little further and there are some Windows and Mac specific packages that you might be able to use. They do have a more complicated setup but I still think it is well worth it.

@moluopro
Copy link
Owner

In fact, those packages almost always pop up a new window. I'm pretty bummed about that too. I'll keep an eye on the community for better alternatives! And you're welcome to keep recommending me.

@joranmulderij
Copy link
Author

There is 'webview_windows' and 'flutter_inline_webview_macos' which don't open a new window I believe. Not entirely sure if they work well and haven't tried them.

@EricApostal
Copy link

I run webview_windows in my own application which works flawlessly, and allows you to add it to a tree. I think https://github.com/hlwhl/webview_cef is also inlined (I can test later), but when I last tried it there was no keyboard support.

@moluopro
Copy link
Owner

Thank you, I'll test it later ⊙▽⊙

@joranmulderij
Copy link
Author

webview_cef is inclined, but it ships a large runtime, increasing the size of the app.

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

3 participants