Page 1 of 2

Can't browse archives in 1.6.1 anymore

Posted: Sun Nov 12, 2023 1:30 am
by BloodyRain2k
Subject: Double clicking archives in 1.6.1 doesn't open them in XnView MP anymore.

XnView: MP 1.6.1 - 64 bit
OS: Windows 7 Professional 64bit

I just upgraded from 1.4.4 to 1.6.1 and was confused that I couldn't browse archives anymore.

Effect: archives get instead just opened with the associated program.

To reproduce:
1. unpack "XnView 1.6.1 win x64" from the .zip
2. try to open any archive

Actual behaviour (bug): 7zip gets opened. (associated app for archives) :bug:
A somewhat related bug is that even /if/ browsing archives works, right clicking archives will keep "Open" greyed out anyways.

Expected behaviour: XnView browses the archive.

What I've found out after literally mix 'n matching versions 1.4.4, 1.4.5, 1.5.5 and 1.6.1 I've been able to "fix" the problem by just using the "archive.dll" of 1.5.5
That literally makes it work again while using everything else that comes with 1.6.1
The dll in 1.6.1 is also ~200 kb smaller, maybe something's wrong with it?

I'm also aware that since I am on Win 7, this might be an issue exclusively to Win 7, and if that should be the case, nevermind this issue.
But I wanted to mention it anyways, in case it's something further reaching.

Re: Can't browse archives in 1.6.1 anymore

Posted: Sun Nov 12, 2023 10:01 am
by xnview
it seems to be a problem on Win7 only, it works here...

Re: Can't browse archives in 1.6.1 anymore

Posted: Mon Dec 18, 2023 2:02 pm
by BloodyRain2k
I'm afraid it's not, I'm no longer on Win7 and got on Linux with 1.6.2 the exact same issue...

Do I need to manually install an additional plugin? Because I've noticed that under About > Plugins there's only two, and both are image format plugins.
I can't find anything about archives.

Re: Can't browse archives in 1.6.1 anymore

Posted: Tue Dec 19, 2023 9:50 am
by xnview
it works here on linux. do you try to browse zip archive?

Re: Can't browse archives in 1.6.1 anymore

Posted: Tue Dec 19, 2023 10:34 am
by BloodyRain2k
Yes, I was used to being able to "look into" archives to check the images in them without having to unpack everything.

But as mentioned, it doesn't work anymore. The "Open" entry in the context menu in the browser is greyed out and double clicking just runs my Archive Manager instead.

In the settings for "Custom Filter" I also don't have the option to set Archives to only "None" or "Associated program".

Re: Can't browse archives in 1.6.1 anymore

Posted: Tue Dec 19, 2023 3:36 pm
by xnview
and if you try 'update catalog from files'?

Re: Can't browse archives in 1.6.1 anymore

Posted: Tue Dec 19, 2023 3:41 pm
by BloodyRain2k
Doesn't seem to have done anything.

Re: Can't browse archives in 1.6.1 anymore

Posted: Tue Dec 19, 2023 3:54 pm
by xnview
on .zip?

Re: Can't browse archives in 1.6.1 anymore

Posted: Wed Dec 20, 2023 11:29 am
by BloodyRain2k
On any archive type, Zip, 7z, Rar, Tar, Tar.gz.

Re: Can't browse archives in 1.6.1 anymore

Posted: Wed Dec 20, 2023 1:17 pm
by xnview
which distribution do you have?

Re: Can't browse archives in 1.6.1 anymore

Posted: Wed Dec 20, 2023 2:33 pm
by BloodyRain2k

Code: Select all

Kernel: 6.1.0-13-amd64 arch: x86_64 bits: 64 compiler: gcc v: 12.2.0 Desktop: Cinnamon v: 5.8.4
  tk: GTK v: 3.24.38 wm: muffin dm: LightDM Distro: Debian GNU/Linux 12 (bookworm)
And the version of XnView is 1.6.2 Libformat 7.166

Re: Can't browse archives in 1.6.1 anymore

Posted: Thu Dec 21, 2023 9:35 am
by xnview
ok, i can reproduce. Please uncompress this file in XnView/lib

Re: Can't browse archives in 1.6.1 anymore

Posted: Thu Dec 21, 2023 10:35 pm
by BloodyRain2k
I've put the file inside the archive in "opt/XnView/lib" as that was the only "XnView/lib" I could find.

I've also changed the "libcrypto.so" link that pointed at "libcrypto.so.1.1" to point at the 1.0.0 instead, but nothing changed anything so far.
Is this something that requires more than a program restart to take affect?

Re: Can't browse archives in 1.6.1 anymore

Posted: Fri Dec 22, 2023 9:31 am
by xnview
if you type

Code: Select all

ldd opt/XnView/lib/archive.so

Re: Can't browse archives in 1.6.1 anymore

Posted: Fri Dec 22, 2023 8:44 pm
by BloodyRain2k

Code: Select all

$ ldd /opt/XnView/lib/archive.so
	linux-vdso.so.1 (0x00007ffe93152000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f27d6b9a000)
	libcrypto.so.1.0.0 => not found
	libxml2.so.2 => /lib/x86_64-linux-gnu/libxml2.so.2 (0x00007f27d6654000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f27d6473000)
	libicuuc.so.72 => /lib/x86_64-linux-gnu/libicuuc.so.72 (0x00007f27d6275000)
	liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f27d6b69000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f27d6196000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f27d6bd2000)
	libicudata.so.72 => /lib/x86_64-linux-gnu/libicudata.so.72 (0x00007f27d4200000)
	libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f27d3e00000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f27d6b45000)
There's only "libcrypto.so.1.1.0" installed "globally" on my system, as far as I can tell from the Synaptic Package Manager.

Edit: I've manually copied the 1.0.0 file into the system dir and "ldd" showed it right away, but XnView itself doesn't seem to care (yet?), no change.
Can't open archives nor do I have the option to set them to be opening within XnView, just still Associated programm.