0.99.6 Linux (KDE): "Open in file explorer" not working

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

Moderators: helmut, XnTriq, xnview, Dreamer

User avatar
winnylinny
Posts: 167
Joined: Fri Apr 17, 2020 5:35 pm

0.99.6 Linux (KDE): "Open in file explorer" not working

Post by winnylinny »

Even with previous versions, this issue still persisted.

Currently, in version 0.99.6, under KDE (Linux), I receive the following error message when trying to use:

Right-click -> "Open in file explorer"

:!: "Error - KIO Client" :!:

It doesn't matter if it's a local folder, external drive, or network share.

This issue does not happen on Windows. I can try to test this out on Xfce or GNOME later on.

This happens in the Viewer and the Browser.
Last edited by winnylinny on Thu Aug 18, 2022 4:53 pm, edited 2 times in total.
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.99.6: "Open file in explorer" not working in Linux KDE

Post by xnview »

winnylinny wrote: Wed Jan 05, 2022 8:12 pm This issue does not happen on Windows. I can try to test this out on Xfce or GNOME later on.
It seems that this issue comes with different version of Qt
Pierre.
User avatar
winnylinny
Posts: 167
Joined: Fri Apr 17, 2020 5:35 pm

Re: 0.99.6: "Open file in explorer" not working in Linux KDE

Post by winnylinny »

xnview wrote: Thu Jan 06, 2022 7:04 am
winnylinny wrote: Wed Jan 05, 2022 8:12 pm This issue does not happen on Windows. I can try to test this out on Xfce or GNOME later on.
It seems that this issue comes with different version of Qt
You're correct. I just tried with a different installer from the AUR (xnviewmp-system-libs), and it indeed works properly when selecting "Open in file explorer".

However, using this version, while it fixes the bugs related to opening paths or invoking XnViewMP from another application (such as double-clicking the results of a "finder" app), using this "system-libs" version introduces other bugs, such as crashing when trying to view certain JPEGs or navigating with the viewer. :(

I wonder why it's an issue if XnViewMP is using its own Qt libraries?
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.99.6: "Open file in explorer" not working in Linux KDE

Post by xnview »

winnylinny wrote: Sun Jan 09, 2022 6:56 pm I wonder why it's an issue if XnViewMP is using its own Qt libraries?
It seems that executing other Qt app use XnView libs and not system
Pierre.
User avatar
winnylinny
Posts: 167
Joined: Fri Apr 17, 2020 5:35 pm

Re: 0.99.6: "Open file in explorer" not working in Linux KDE

Post by winnylinny »

xnview wrote: Mon Jan 10, 2022 7:56 amIt seems that executing other Qt app use XnView libs and not system
Is this something that can be fixed in XnViewMP? Perhaps, to tell it "don't use XnView libs when giving / receiving command to / from outside application"?
User avatar
winnylinny
Posts: 167
Joined: Fri Apr 17, 2020 5:35 pm

Re: 0.99.6: "Open file in explorer" not working in Linux (KDE)

Post by winnylinny »

Is this being looked into?

It not only breaks "Open in file explorer", but it also breaks anything related to invoking XnViewMP from an outside application. For example, if XnViewMP is my default image viewer in KDE, then double-clicking on a file in a list in a separate application (e.g, Czkawka), nothing will happen. However, if I'm using the custom XnViewMP package that uses system libraries, then the above all works as expected.

So the question, why not use the custom package instead? Because the program itself is buggy if using the custom package. Even zooming in and out crashes the application.

So perhaps the solution is not to use the system libs for XnViewMP itself, yet to use system libs if another application is being invoked or invoking XnViewMP?
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.99.6: "Open file in explorer" not working in Linux (KDE)

Post by xnview »

winnylinny wrote: Wed Jan 26, 2022 5:14 pm So perhaps the solution is not to use the system libs for XnViewMP itself, yet to use system libs if another application is being invoked or invoking XnViewMP?
Do you have tried to use system libs? Which qt version?
Pierre.
User avatar
winnylinny
Posts: 167
Joined: Fri Apr 17, 2020 5:35 pm

Re: 0.99.6: "Open file in explorer" not working in Linux (KDE)

Post by winnylinny »

xnview wrote: Thu Jan 27, 2022 7:31 am
winnylinny wrote: Wed Jan 26, 2022 5:14 pm So perhaps the solution is not to use the system libs for XnViewMP itself, yet to use system libs if another application is being invoked or invoking XnViewMP?
Do you have tried to use system libs? Which qt version?
If I use the package in my Software Manager which installs "xnviewmp-system-libs", then it uses system libraries and the above issues work correctly. :mrgreen:

However...

Other things in the application will crash or be unstable, such as zooming in or scrolling through images, if I use "xnviewmp-system-libs". :( (This is why I need to revert back to the default "xnviewmp" package, which sadly has the issue with "mis-matched" Qt libraries.

My system's Qt5 version: 5.15.2

(Happens on multiple PCs using Manjaro KDE.)
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.99.6: "Open file in explorer" not working in Linux (KDE)

Post by xnview »

Which Manjaro KDE version?
Pierre.
User avatar
winnylinny
Posts: 167
Joined: Fri Apr 17, 2020 5:35 pm

Re: 0.99.6: "Open file in explorer" not working in Linux (KDE)

Post by winnylinny »

Sorry for the late reply.

System information:

Operating System: Manjaro Linux
KDE Plasma: 5.23.5
KDE Frameworks: 5.90.0
Qt: 5.15.2
Kernel: 5.16.5
Graphics Processor: Intel Xe Graphics

I also have another PC of the same OS / software, the only difference is it uses Nvidia.
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.99.6: "Open file in explorer" not working in Linux (KDE)

Post by xnview »

is it Manjaro 21.0?
Pierre.
User avatar
winnylinny
Posts: 167
Joined: Fri Apr 17, 2020 5:35 pm

Re: 0.99.6: "Open file in explorer" not working in Linux (KDE)

Post by winnylinny »

xnview wrote: Mon Feb 14, 2022 11:48 am is it Manjaro 21.0?
I missed this response!

As an update, the issue remains with the following versions:

XnViewMP: 0.99.7

Manjaro Linux: 21.2.5
KDE Plasma: 5.24.3
KDE Frameworks: 5.91.0
Qt Version: 5.15.3
User avatar
winnylinny
Posts: 167
Joined: Fri Apr 17, 2020 5:35 pm

Re: 0.99.6: "Open file in explorer" not working in Linux (KDE)

Post by winnylinny »

Will this be a repeating problem, as a user's Linux system gets updated, and thus their Qt version is updated?

Is there a way around this?
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.99.6: "Open file in explorer" not working in Linux (KDE)

Post by xnview »

please check this topic
Pierre.
User avatar
winnylinny
Posts: 167
Joined: Fri Apr 17, 2020 5:35 pm

Re: 0.99.6: "Open file in explorer" not working in Linux (KDE)

Post by winnylinny »

That topic is a similar (but still different) issue.

The bug I'm pointing at is where XnViewMP will not open up the current location of the image in the system's "file explorer".

It works on Windows 10.

However, in Linux (such as KDE), it spits out an error about "Error - KIO Client".

This is not an issue if I use the version of XnViewMP that uses the system libraries (rather than its own bundled libraries.)
Post Reply