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

Blank window no GUI #77

Open
gnusuari0 opened this issue Aug 17, 2024 · 4 comments
Open

Blank window no GUI #77

gnusuari0 opened this issue Aug 17, 2024 · 4 comments

Comments

@gnusuari0
Copy link

gnusuari0 commented Aug 17, 2024

I'm trying to execute this program under openSUSE Tumbleweed. Only a blank square (the app window) appears. I have downloaded the binary from nexusmods and also compiled it myself. Doesn't work.

I have tried environment variables WEBKIT_DISABLE_COMPOSITING_MODE=1 or WEBKIT_DISABLE_DMABUF_RENDERER=1. The GUI still doesn't work but now instead of a white square it shows the window title and the rest is black. But can't interact with it. I can only force close the window. If running from the CLI adding the --help option or -v option it shows the info as expected.

WebkitGTK version is 2.44.3.

@gnusuari0 gnusuari0 changed the title White window no GUI Blank window no GUI Aug 17, 2024
@gnusuari0
Copy link
Author

I'm trying to execute this program under openSUSE Tumbleweed. Only a blank square (the app window) appears. I have downloaded the binary from nexusmods and also compiled it myself. Doesn't work.

I have tried environment variables WEBKIT_DISABLE_COMPOSITING_MODE=1 or WEBKIT_DISABLE_DMABUF_RENDERER=1. The GUI still doesn't work but now instead of a white square it shows the window title and the rest is black. But can't interact with it. I can only force close the window. If running from the CLI adding the --help option or -v option it shows the info as expected.

WebkitGTK version is 2.44.3.

I have tested with the previous installed version (2.44.2) and it works again. Is it a library problem or trilogy save editor problem?

@mirh
Copy link

mirh commented Aug 18, 2024

@gnusuari0
Copy link
Author

gnusuari0 commented Aug 31, 2024

None of those bugs are related to my case, but thank you for your suggestion. I tried Epiphany (GNOME Web) and it works with 2.44.3. It's GTK4. Trilogy Save Editor is using WebKit for GTK3.

Afterwards I tried Liferea RSS reader. It shows web content without problems. It's GTK3.

I could instead write my own save editor instead of trying to fix WebKit for GTK3 or this trilogy save editor. Sounds easier.

@tobiasquinn
Copy link

I think I've come across a similar issue to this using a webkit2gtk webview under the current opensuse tumbleweed. I saw the archlinux patch above elsewhere and patched the tumbleweed packages which allowed my app to work (tauri/leptos webview). I think the bug only affects applications that use wasm.

Rather than fiddle with locally build RPM packages I've worked around this for now running an archlinux distrobox container.

I've just tried building the trilogy-save-editor and I can confirm that it displays the window correctly using the archlinux distrobox.

I'll see if I can point the maintainers of the opensuse webkit2gtk packages to the archlinux patch.

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