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

Firefox Issue #85

Open
hassandraga opened this issue Apr 24, 2023 · 8 comments
Open

Firefox Issue #85

hassandraga opened this issue Apr 24, 2023 · 8 comments
Labels
help wanted Extra attention is needed

Comments

@hassandraga
Copy link
Member

If you use Linux, and your only installed web browser is the latest Firefox, WebUI probably won't work because Firefox itself can't create a new profile.

firefox -CreateProfile "WebUI /home/me/.WebUI/WebUIFirefoxProfile"

Gtk-Message: 20:15:00.605: Not loading module "atk-bridge":
The functionality is provided by GTK natively. Please try to not load it.
Error creating profile.
@hassandraga hassandraga added the help wanted Extra attention is needed label Apr 25, 2023
@malisipi
Copy link
Contributor

malisipi commented May 2, 2023

image
Firefox Version: Mozilla Firefox 112.0.2 (The latest version of firefox for arch linux)

It's still working for me. It could a error that affect some versions of firefox. Or it could be existing profile bug. Idk, however i'm sure about the problem is not from we.

But we need to add new tweaks into user.js to hide bookmarks

@AlbertShown
Copy link
Contributor

Yes, It seems to be a Firefox issue, not WebUI.

You are right. The user.js and userChrome.css still need to be tweaked to make the Firefox window looks better.

@hassandraga
Copy link
Member Author

Same issue on macOS.

macOs_WebUI_Issue

@hassandraga
Copy link
Member Author

I'm not planning to fix this issue in v2.4.1. I hope someone have free time to deal with user.js and userChrome.css to make Firefox UI look better.

@hassandraga
Copy link
Member Author

until someone update userChrome.css, WebView in WebUI v2.5.0 is considered a new option for systems who have only Firefox, like Linux.

@malisipi
Copy link
Contributor

malisipi commented Jun 1, 2024

Webview is good idea however there are a lot of Webview library in Linux. GTK' webview, QT' webview and more. It would be difficult.

We can download Chromium browser in background by library and run application with the browser.

However i think we should support more browsers to have more options. So, I think might be reconsidered Gnome Web #225. (Epiphany is a web browser that developed by Gnome Team.)

@wwderw
Copy link

wwderw commented Jun 1, 2024

Webview is good idea however there are a lot of Webview library in Linux. GTK' webview, QT' webview and more. It would be difficult.

Statistically speaking the GTK one is the one that I have found most to use, when it's just regular users downloading that dependency. Qt webview is usually those that are using the Qt toolkit for the application as well.

Personally, I like the direction of webview more, from my experience, webview apps tend to have half the memory usage just on a hello world compared to the browser/electron route, so already starting off with less memory consumption. Make it more appealing for even the more trivial apps as well.

The biggest downside (and this is more for the app devs) is that given that they are different (which would happen if different users used different browsers as well) on each platform, is that the UI isn't consistent. Takes more time for the dev to fix, but that's doable.

@hassandraga
Copy link
Member Author

there are a lot of Webview library in Linux. GTK' webview, QT' webview and more

We will only support GTK for now, it's already covering most systems.

We can download Chromium browser in background

I prefer to simply recommend the user to install any Chromium based browser manually.

i think we should support more browsers to have more options

Yes, definitely 👍

webview apps tend to have half the memory usage just on a hello world compared to the browser/electron

When WebUI use the already running browser, I guess it use even similar/less memory than an WebView app, + a real web browser offer full web technology for complex projects. However, most apps needs just an HTML renderer and a JS engine, so WebView is already enough in most cases.

is that the UI isn't consistent. Takes more time for the dev to fix

I use WebUI in some professional projects, we use webui_show_browser with ChromiumBased, all UI are similar, except the macOS Dock icon issue, which is not a big deal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants