Page 1 of 1

Two bugs/quirks with CBZ files

Posted: Mon Feb 18, 2008 4:27 pm
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

Re: Two bugs/quirks with CBZ files

Posted: Wed Feb 20, 2008 9:04 am
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?

Re: Two bugs/quirks with CBZ files

Posted: Wed Feb 20, 2008 2:56 pm
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'.

Re: Two bugs/quirks with CBZ files

Posted: Wed Feb 20, 2008 4:00 pm
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

Re: Two bugs/quirks with CBZ files

Posted: Wed Feb 20, 2008 6:24 pm
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