Two bugs/quirks with CBZ files

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: helmut, XnTriq, xnview

Post Reply
maraskan_user
Posts: 7
Joined: Mon Feb 18, 2008 3:38 pm

Two bugs/quirks with CBZ files

Post by maraskan_user »

Two bugs/quirks with CBZ files:

(CBZ and CBR is a Comic Book Archive File that seems to have gotten a little bit more widespread in the last couple of years. Internally, it's a normal ZIP or RAR, only the file name extension has been changed from zip to cbz or from rar to cbr. For more info see http://en.wikipedia.org/wiki/Comic_Book_Archive_file)


1. With the present version of XnView, the settings in "Open action (Browser)" are ignored with *.cbz file types. I've set all my opening actions to "Open in associated program". But when double clicking a *.cbz file, it instead shows in XnView's internal viewer. Only when using F3 it opens correctly in the associated application.
This bug wasn't in the old version 1.82.4, which is the only other one I checked.

2. With CBZ files, until now I've been abusing a certain behaviour of Xnview: When a ZIP file is made with no compression, and the first file in the archive is JPEG and renamend to *.cbz, XnView will show a thumbnail as if the cbz were a normal jpeg file. Which, of course is great when collecting scanned comic books, since it will simply show the cover page of the book. But strangely though, unlike JPEGs, it won't show thumnails for CBZ files in a subfolder (you know, the overlay of 4 thumbnails over a large folder icon). But why does XnView treat CBZ files different that image files, when they are in a subfolder? Why does it ignore cbz in this case?

Greetings
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Two bugs/quirks with CBZ files

Post by xnview »

maraskan_user wrote: 1. With the present version of XnView, the settings in "Open action (Browser)" are ignored with *.cbz file types. I've set all my opening actions to "Open in associated program". But when double clicking a *.cbz file, it instead shows in XnView's internal viewer. Only when using F3 it opens correctly in the associated application.
This bug wasn't in the old version 1.82.4, which is the only other one I checked.
yes, i need to add Archive Open action
2. With CBZ files, until now I've been abusing a certain behaviour of Xnview: When a ZIP file is made with no compression, and the first file in the archive is JPEG and renamend to *.cbz, XnView will show a thumbnail as if the cbz were a normal jpeg file. Which, of course is great when collecting scanned comic books, since it will simply show the cover page of the book. But strangely though, unlike JPEGs, it won't show thumnails for CBZ files in a subfolder (you know, the overlay of 4 thumbnails over a large folder icon). But why does XnView treat CBZ files different that image files, when they are in a subfolder? Why does it ignore cbz in this case?
Could you send me a sample?
Pierre.
maraskan_user
Posts: 7
Joined: Mon Feb 18, 2008 3:38 pm

Re: Two bugs/quirks with CBZ files

Post by maraskan_user »

xnview wrote:
maraskan_user wrote: 1. With the present version of XnView, the settings in "Open action (Browser)" are ignored with *.cbz file types. I've set all my opening actions to "Open in associated program". But when double clicking a *.cbz file, it instead shows in XnView's internal viewer. Only when using F3 it opens correctly in the associated application.
This bug wasn't in the old version 1.82.4, which is the only other one I checked.
yes, i need to add Archive Open action
Why? By default the CBZ files aren't associated with an archive program like WinRAR, but with a viewer named CDisplay. That's supposed to be that way. It's just that the newer XnView doesn't use the associated action when double clicking, even if told to do so.
xnview wrote:
maraskan_user wrote: 2. With CBZ files, until now I've been abusing a certain behaviour of Xnview: When a ZIP file is made with no compression, and the first file in the archive is JPEG and renamend to *.cbz, XnView will show a thumbnail as if the cbz were a normal jpeg file. Which, of course is great when collecting scanned comic books, since it will simply show the cover page of the book. But strangely though, unlike JPEGs, it won't show thumnails for CBZ files in a subfolder (you know, the overlay of 4 thumbnails over a large folder icon). But why does XnView treat CBZ files different that image files, when they are in a subfolder? Why does it ignore cbz in this case?
Could you send me a sample?
I'll send you one. The CBZ package was prepared through Winrar using the settings 'zip format', 'no compression' and 'do not store paths'.
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Two bugs/quirks with CBZ files

Post by xnview »

maraskan_user wrote:
xnview wrote:
maraskan_user wrote: 1. With the present version of XnView, the settings in "Open action (Browser)" are ignored with *.cbz file types. I've set all my opening actions to "Open in associated program". But when double clicking a *.cbz file, it instead shows in XnView's internal viewer. Only when using F3 it opens correctly in the associated application.
This bug wasn't in the old version 1.82.4, which is the only other one I checked.
yes, i need to add Archive Open action
Why? By default the CBZ files aren't associated with an archive program like WinRAR, but with a viewer named CDisplay. That's supposed to be that way. It's just that the newer XnView doesn't use the associated action when double clicking, even if told to do so.
CBZ is recognized as archive in xnview
Pierre.
maraskan_user
Posts: 7
Joined: Mon Feb 18, 2008 3:38 pm

Re: Two bugs/quirks with CBZ files

Post by maraskan_user »

xnview wrote:CBZ is recognized as archive in xnview
I see. So XnView recognizes archives not from the file name extension but from file structure. But at the same time, when producing the thumbnail, it thinks that the uncompressed zip file is a jpeg file, when the first image happens to be a jpeg.
So, what's the reason that it doesn't show a thumbnail if the cbz is in a subfolder? Does it not do this in general for archives when they're in subfolders?

Greetings,
maraskan_user
Post Reply