Page 1 of 1

0.99.7: Not starting under Wayland

Posted: Sun Apr 24, 2022 5:42 pm
by [Sable]
XnView: MP 0.99.7 - 64 bit
OS: Arch Linux x86_64

Using KDE Plasma in a wayland session, XnViewMP doesn't start.
When starting via terminal it throws the following error:

Code: Select all

qt.qpa.wayland: No shell integration named "xdg-shell" found 
qt.qpa.wayland: No shell integration named "xdg-shell-v6" found 
qt.qpa.wayland: No shell integration named "wl-shell" found 
qt.qpa.wayland: No shell integration named "ivi-shell" found 
qt.qpa.wayland: Loading shell integration failed. 
qt.qpa.wayland: Attempted to load th
Effect: Program doesn't start

To reproduce:
1. install the xnviewmp package in a wayland session
2. start xnviewmp

Actual behaviour (bug): Program doesn't start :bug:

Expected behaviour: Program starts

The issue doesn't appear when istalling the xnviewmp-system-libs package or when running xnviewmp in an x11 session.

Re: 0.99.7: Not starting under Wayland

Posted: Tue May 24, 2022 2:13 am
by GoatGoat
I've been having this issue as well, also on Plasma Wayland on Arch. I've experienced this running XnViewMP version 1.0.0.

I was able to temporarily fix it by exporting the system qt libraries (e.g. adding /usr/lib/qt/plugins to QT_PLUGIN_PATH), although I'm not sure if this will last through the updates.

Re: 0.99.7: Not starting under Wayland

Posted: Tue May 24, 2022 6:19 am
by xnview
GoatGoat wrote: Tue May 24, 2022 2:13 am I've been having this issue as well, also on Plasma Wayland on Arch. I've experienced this running XnViewMP version 1.0.0.
and not with 0.99.7?

Re: 0.99.7: Not starting under Wayland

Posted: Tue May 24, 2022 3:09 pm
by GoatGoat
xnview wrote: Tue May 24, 2022 6:19 am
GoatGoat wrote: Tue May 24, 2022 2:13 am I've been having this issue as well, also on Plasma Wayland on Arch. I've experienced this running XnViewMP version 1.0.0.
and not with 0.99.7?
On 0.99.7, I receive the same issue as on 1.0.0. Using the workaround of adding /usr/lib/qt/plugins/ to QT_PLUGIN_PATH also works the same on 0.99.7.