kiwix-desktop icon indicating copy to clipboard operation
kiwix-desktop copied to clipboard

kiwix-desktop appimage webengine is broken on Fedora (and ubuntu 22.04)

Open mgautierfr opened this issue 2 years ago • 13 comments

kiwix-desktop appimage (both released (https://download.kiwix.org/release/kiwix-desktop/kiwix-desktop_x86_64_2.1.0-1.appimage) and nigthly (https://download.kiwix.org/nightly/2022-03-02/kiwix-desktop_x86_64_2022-03-02.appimage)) do not display anything in the web views (library and zim) on Fedora 35

Appimage is run with the workaround explained here https://github.com/kiwix/kiwix-desktop/issues/745#issuecomment-1017530749 MESA_LOADER_DRIVER_OVERRIDE=i965 ./kiwix-desktop_x86_64_2022-03-02.appimage

Capture d’écran du 2022-03-02 15-00-18

Else kiwix-desktop seems to work correctly. It is possible to open a zim file (but we cannot see its content. Traces are ok.... kiwix-desktop compiled localy works fine.

mgautierfr avatar Mar 02 '22 14:03 mgautierfr

AppImage build on local system works correctly.

mgautierfr avatar Mar 02 '22 14:03 mgautierfr

Few more information :

  • Last nightly version (https://download.kiwix.org/nightly/2022-03-16/kiwix-desktop_x86_64_2022-03-16.appimage) doesn't need the workaround as it as been fixed by https://github.com/kiwix/kiwix-build/pull/520
  • Running kiwix-destkop appimage with env var QTWEBENGINE_REMOTE_DEBUGGING=8080 start a server to debug QtWebengine but connecting to localhost:8080 show no page to inspect.
  • However, subprocesses QtWebEngineProcess have been correctly (?) started.

I've tried to trace dynamic libraries loaded if somethings seems wrong but I've found nothing relevant. Pinging @probonopd maybe he has a idea of what going on or a lead to follow.

mgautierfr avatar Mar 16 '22 14:03 mgautierfr

@mgautierfr

AppImage build on local system works correctly.

Are you saying you have a working and a non-working AppImage? Then it's probably a matter of tracing/comparing the two...

probonopd avatar Mar 28 '22 17:03 probonopd

Yes, I've tried to compare strace/LD_DEBUG=1/QT_DEBUG_PLUGINS=1 QML_IMPORT_TRACE=1 but I've found nothing convincing. But I can provide you the two appImage if you want to try. Maybe you will have a better idea of what to check/what is important.

mgautierfr avatar Mar 29 '22 08:03 mgautierfr

This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.

stale[bot] avatar Jun 13 '22 03:06 stale[bot]

Last nightly version (https://download.kiwix.org/nightly/2022-06-22/kiwix-desktop_x86_64_2022-06-22.appimage) have the same issue.

mgautierfr avatar Jun 22 '22 09:06 mgautierfr

Same problem on Ubuntu 22.04

juuz0 avatar Jul 02 '22 08:07 juuz0

@mgautierfr I confirm, this is now urgent to fix this problem and make a new release.

kelson42 avatar Jul 02 '22 14:07 kelson42

With the new version I use: kiwix-desktop_x86_64_2.3.0.appimage the trouble looks the same. The GUI open but I can open ZIM files. (I am using Linuxmint Vanessa)The output is: $ ./kiwix-desktop_x86_64_2.3.0.appimage add widget qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 1184, resource id: 27263409, major code: 40 (TranslateCoords), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 1544, resource id: 27263444, major code: 40 (TranslateCoords), minor code: 0

No se encuentra el paquete que proporciona /tmp/.mount_kiwix-VCo6MO/usr/libexec/QtWebEngineProcess. Si desea generar un seguimiento de la pila para este informe de error, reinstálelo.

No se encuentra el paquete que proporciona /tmp/.mount_kiwix-VCo6MO/usr/bin/kiwix-desktop. Si desea generar un seguimiento de la pila para este informe de error, reinstálelo.

caralu74 avatar Sep 10 '22 19:09 caralu74

We struggle to fix the problem. In the mean time, better use flathub/flatpak

kelson42 avatar Sep 10 '22 20:09 kelson42

@probonopd If we setup a Bounty, would you be interested to have a look and fix this ticket?

kelson42 avatar Sep 11 '22 09:09 kelson42

I think so!, I would love to help on it.

Sent from ProtonMail, encrypted email based in Switzerland.

Enviado con Proton Mail correo seguro.

------- Original Message ------- El domingo, 11 de septiembre de 2022 a las 04:38, Kelson @.***> escribió:

@.***(https://github.com/probonopd) If we setup a Bounty, would you be interested to have a look and fix this ticket?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

caralu74 avatar Sep 12 '22 13:09 caralu74

I have opened a issue upstream (https://github.com/probonopd/linuxdeployqt/issues/554) with a small repro case without all the kiwix stack.

mgautierfr avatar Sep 13 '22 13:09 mgautierfr