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

Do not show window #22

Open
bigov opened this issue Jul 16, 2024 · 3 comments
Open

Do not show window #22

bigov opened this issue Jul 16, 2024 · 3 comments

Comments

@bigov
Copy link

bigov commented Jul 16, 2024

On my Arch Linux with Xfce4 the example code do not show the window, and do not show any errors.
Runtime Dependencies (GTK3, WebKitGTK and QtCore, QtGui, QtWidgets) present both. Web bowser is Firefox.

@hassandraga
Copy link
Member

This wrapper is old and not updated yet. You can try manually replace the dynamic library from the latest one: https://github.com/webui-dev/webui/releases/tag/nightly

Webui needs only a web browser, does not depend on anything.

@ludwigkraatz
Copy link

have the same issue
Firefox does not seem to work with 2.4.5, same goes for safari.

any:int = 1 # Default recommended web browser

weirdly, the default browser isn't even "any" as suggested in the browser class of webui, but if not specified differently in the window.show() call, a Chromium Based is the only browser option tried:

def show(self, content="<html></html>", browser:int=browser.ChromiumBased):

my suggestion: download chromium. only way i got it to work as of 2.4.5

(other options fail silently)

@hassandraga
Copy link
Member

Basically the wrapper needs to be updated to 2.5.0. Hopefully someone may have time and push a PR soon.

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