KarlitosVII / trilogy-save-editor

A save editor for Mass Effect Trilogy (and Legendary)
https://www.nexusmods.com/masseffectlegendaryedition/mods/20
Other
156 stars 20 forks source link

Blank window no GUI #77

Open gnusuari0 opened 3 months ago

gnusuari0 commented 3 months ago

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 commented 3 months ago

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 commented 3 months ago

https://bugs.webkit.org/show_bug.cgi?id=278230 https://bugs.webkit.org/show_bug.cgi?id=272979 https://bugs.webkit.org/show_bug.cgi?id=277684 https://gitlab.archlinux.org/archlinux/packaging/packages/webkit2gtk/-/blob/main/revert-271175.patch?ref_type=heads Some ideas to work with. Too bad that it's an absolute ass to work with it, or you could have tried some more proper bisecting.

gnusuari0 commented 3 months ago

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 commented 3 months ago

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.