0.99.7: Not starting under Wayland

*** Please report new bugs here! ***

Moderators: helmut, XnTriq, xnview, Dreamer

[Sable]
Posts: 1
Joined: Sun Apr 24, 2022 5:30 pm

0.99.7: Not starting under Wayland

Post 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.
GoatGoat
Posts: 14
Joined: Thu Oct 29, 2015 4:15 pm

Re: 0.99.7: Not starting under Wayland

Post 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.
User avatar
xnview
Author of XnView
Posts: 37754
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 0.99.7: Not starting under Wayland

Post 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?
Pierre.
GoatGoat
Posts: 14
Joined: Thu Oct 29, 2015 4:15 pm

Re: 0.99.7: Not starting under Wayland

Post 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.