1.0: Contents in zip file are not shown correctly

Reported bugs that have been closed and/or resolved

Moderators: helmut, XnTriq, xnview, Dreamer

Ddavid
Posts: 11
Joined: Sun Oct 13, 2019 6:44 pm

1.0: Contents in zip file are not shown correctly

Post by Ddavid »

Version 1.0 64bits (Apr 28 2022)

I build the zip file by 7-zip, but it cannot be opened correctly.

There are two different situations:
A.
1. If I put the zip file into a folder with all English chars name:
Image
2. I can open it to see file list in zip, but I can't watch them full screen.
Image

B.
1. If I put the zip file into a folder with not English chars name (I'm under Japan Windows and use a Japanese folder name):
Image
2. I can open it, but can't see the file list:
Image

The same file I can currently open it and watch pictures in it by XnView Classic with archive plugin:
Image
Image

That's the example zip file:
https://drive.google.com/file/d/1J_GO2- ... sp=sharing
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.0: Contents in zip file are not shown correctly

Post by xnview »

:bugconfirmed: Thanks to your detailed description I can reproduce the problem.
Pierre.
comolokooo
Posts: 1
Joined: Thu Aug 11, 2022 11:23 am

Re: 1.0: Contents in zip file are not shown correctly

Post by comolokooo »

Ddavid wrote: Fri May 27, 2022 12:34 pm Version 1.0 64bits (Apr 28 2022)

I build the zip file by 7-zip, but it cannot be opened correctly.

There are two different situations:
A.
1. If I put the zip file into a folder with all English chars name:
Image
2. I can open it to see file list in zip, but I can't watch them full screen.
Image

B.
1. If I put the zip file into a folder with not English chars name (I'm under Japan Windows and use a Japanese folder name):
Image
2. I can open it, but can't see the file list:
Image

The same file I can currently open it and watch pictures in it by XnView Classic with archive plugin:
Image
Image

That's the example zip file:
https://drive.google.com/file/d/1J_GO2- ... sp=sharing
a nice pocket watch for sure.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.0: Contents in zip file are not shown correctly

Post by xnview »

This problem is supposed to be fixed in XnView MP 1.01. Please check and confirm the bug fix here.
Pierre.
Ddavid
Posts: 11
Joined: Sun Oct 13, 2019 6:44 pm

Re: 1.0: Contents in zip file are not shown correctly

Post by Ddavid »

xnview wrote: Tue Aug 16, 2022 10:13 am This problem is supposed to be fixed in XnView MP 1.01. Please check and confirm the bug fix here.
In my report there are two situations. I try XnView MP 1.01 today, situation B is fixed, but situation A is not.
Let me describe situation A again:

I'm in Japan Windows (although I don't think this is the problem because I don't use any Unicode chars in this example).
I have a .zip file:
Image
This .zip file contains one .jpg, you can see the preview is shown correctly:
Image
However, when I select the .jpg file and press enter key, it doesn't be opened in neither viewer mode nor fullscreen mode.
I even tried to change the language setting of XnView MP to English, but it still doesn't work. Note that there is no jpg icon in the left of the .jpg file.

Situation B is an Unicode problem (and you solve it), but situation A seems a different problem of zip archive format supporting. Even the preview works, I think there is a problem about determining the file format because it does not show the jpg icon. The browser maybe wrongly consider it is not an openable file category.
Thanks for your work!
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.0: Contents in zip file are not shown correctly

Post by xnview »

you can't view the content of above zip file??
Pierre.
Ddavid
Posts: 11
Joined: Sun Oct 13, 2019 6:44 pm

Re: 1.0: Contents in zip file are not shown correctly

Post by Ddavid »

xnview wrote: Sat Aug 20, 2022 1:18 pm you can't view the content of above zip file??
Yes, when the file type icon doesn't appear at the left of filename, pressing enter or double clicking the files in zip do nothing.
When I say icon I mean these:

Image

I remember that XnView Classic has similar issue caused by Unicode problem, I don't know if there is still some kind of Unicode problem here.
And I find another problem, where if there is folder inside zip:

Image

Then the content of this zip cannot be shown in XnView MP:

Image
Image

This problem is also similar to Unicode problem of XnView Classic. However, XnView MP trigger these bugs even in English folder, English filename zip, English filename in the zip.
I use Windows 10 in Japan locale, this is the only thing I can think about this problem, although I don't think this will cause Unicode problem with English strings.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.0: Contents in zip file are not shown correctly

Post by xnview »

with 1.01, you can't show content in the file that you have posted https://drive.google.com/file/d/1J_GO2- ... sp=sharing??
Pierre.
Ddavid
Posts: 11
Joined: Sun Oct 13, 2019 6:44 pm

Re: 1.0: Contents in zip file are not shown correctly

Post by Ddavid »

xnview wrote: Sat Aug 27, 2022 2:48 pm with 1.01, you can't show content in the file that you have posted https://drive.google.com/file/d/1J_GO2- ... sp=sharing??
Oh my god, I'm sorry that I saw the new version and install 1.02 before I see this post, now I have no 1.01 for trying this.
It seems that you temporary remove the option to open zip in XnView MP 1.02, right? So I can't do more experiments about this.
Hope you have luck to fix this!
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.0: Contents in zip file are not shown correctly

Post by xnview »

Ddavid wrote: Sat Aug 27, 2022 3:46 pm
xnview wrote: Sat Aug 27, 2022 2:48 pm with 1.01, you can't show content in the file that you have posted https://drive.google.com/file/d/1J_GO2- ... sp=sharing??
Oh my god, I'm sorry that I saw the new version and install 1.02 before I see this post, now I have no 1.01 for trying this.
It seems that you temporary remove the option to open zip in XnView MP 1.02, right? So I can't do more experiments about this.
Hope you have luck to fix this!
It's a bug in 1.02, please download 1.01
Pierre.
Ddavid
Posts: 11
Joined: Sun Oct 13, 2019 6:44 pm

Re: 1.0: Contents in zip file are not shown correctly

Post by Ddavid »

OK, I rollback to 1.01, and even record the test process, hope this can help you identify the problem.

In this video, when I click file it is usually a double click.
You can see that I can double click zip to go into it, double click up link to leave zip file, but double click the jpg files in zip can't open it, only select it (which single click does). Preview works well, it just cannot show in fullscreen.

https://youtu.be/mrljSblLnYk
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.0: Contents in zip file are not shown correctly

Post by xnview »

Ddavid wrote: Sun Aug 28, 2022 11:08 am OK, I rollback to 1.01, and even record the test process, hope this can help you identify the problem.

In this video, when I click file it is usually a double click.
You can see that I can double click zip to go into it, double click up link to leave zip file, but double click the jpg files in zip can't open it, only select it (which single click does). Preview works well, it just cannot show in fullscreen.
In 'Thumbnails + Labels', do you have the problem too?
Pierre.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.0: Contents in zip file are not shown correctly

Post by xnview »

:bugconfirmed: Thanks to your detailed description I can reproduce the problem.
Pierre.
Ddavid
Posts: 11
Joined: Sun Oct 13, 2019 6:44 pm

Re: 1.0: Contents in zip file are not shown correctly

Post by Ddavid »

xnview wrote: Mon Aug 29, 2022 6:37 am In 'Thumbnails + Labels', do you have the problem too?
That's interesting it works in 'Thumbnails + Labels' but another bug occurs (maybe in fact it is the same bug).
My double click setting is "Browser > Fullscreen > Viewer".
When I double click .jpg in zip, fullscreen works. But when I double click again, it goes to viewer and jumps the error message "File cannot be loaded!"
https://youtu.be/H5ehH6wY_B4
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.0: Contents in zip file are not shown correctly

Post by xnview »

This problem is supposed to be fixed in XnView MP 1.3.0. Please check and confirm the bug fix here.
Pierre.
Post Reply