OpenComic icon indicating copy to clipboard operation
OpenComic copied to clipboard

[Bug]: Cover size shrinks when ComicInfo.xml is added to CBZ

Open wcasanova opened this issue 6 months ago • 2 comments

Preflight Checklist

  • [x] I have searched the issue tracker for a bug report that matches the one I want to file, without success.

OpenComic Version

1.4.1

Operating System

Archlinux, Plasma

Installed via

flathub

Steps to reproduce

  1. Take a .cbz manga/comic file with a standard cover
  2. Open it in OpenComic – the cover displays at its expected size.
  3. Add a ComicInfo.xml file inside the .cbz archive.
  4. Open the modified file in OpenComic.
  5. Return to the library or close and reopen OpenComic.
  6. Observe the cover thumbnail for that file.

Expected Behavior

The comic cover image should remain the same size regardless of whether ComicInfo.xml is present in the archive.

Actual Behavior

After opening a .cbz file that includes a ComicInfo.xml, the cover image gets resized (appears smaller) in the library view. This change happens after the file is opened once post-modification.

Error message

N/A – the issue affects layout/rendering, not functionality or crashing.

Additional Information

This only happens when ComicInfo.xml is present inside the .cbz.

This change happens after the file is opened or the database is refreshed.

Once it’s opened, the cover is persistently resized.

The issue is reproducible across several volumes and appears to be linked specifically to the presence of ComicInfo.xml.

Sample file

Image

https://upload.disroot.org/r/ARCX05W7#oaHld45HT/MhGm4JjXBeH0pVrCCEOzBfc+GZN6XRg6o=

wcasanova avatar Jun 14 '25 15:06 wcasanova

Thanks for reporting!

This error should already be fixed in the master branch 221b6ddeef142e9788676b446a6c1638625ed80a

Although I don't think it will take long before I release v1.5.0, I'm leaving you an AppImage from the master branch so you can test it.

AppImage Build: https://mega.nz/file/GWhUEDDR#anfE1wfW-MPebcyjuWqeEcMq4Ks0dQwc1BOcD_WBvFs

ollm avatar Jun 15 '25 08:06 ollm

Confirmed, it’s working now — thanks!

wcasanova avatar Jun 15 '25 15:06 wcasanova

Closing this, since the fix is now available in v1.6.0

ollm avatar Jul 27 '25 18:07 ollm