Bug 370390 - No thumbnail creation for comic books (cbz and cbr)
Summary: No thumbnail creation for comic books (cbz and cbr)
Status: RESOLVED FIXED
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: thumbnail (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-10 06:13 UTC by BasioMeusPuga
Modified: 2018-04-13 22:05 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description BasioMeusPuga 2016-10-10 06:13:18 UTC
Dolphin no longer generates thumbnail previews for any comic book files with the standard .cbz and .cbr extensions.

dolphin is 16.08.1-1
kio is 5.26.0-2
unzip is 6.0-12
unrar is 1:5.4.5-1

Everything is on an up to date x86_64 Arch Linux install.

Reproducible: Always

Steps to Reproduce:
1. Have all the requisite binaries installed (unzip / unrar)
2. Turn on Preview in Dolphin, and check the option for Comic book previews in settings

Actual Results:  
No thumbnails are created for either .cbz OR .cbr files

Expected Results:  
New thumbnail previews for the relevant files

It bears mention that the .cbr bug has been documented here: https://bugs.kde.org/show_bug.cgi?id=341305

The .cbz bug is completely new, however.
Comment 1 Massimiliano Torromeo 2016-10-24 19:36:24 UTC
I fixed this on my system by adding the mime type "application/vnd.comicbook+zip" to the list associated with the comicbookthumbnail service.

Append it to the "MimeType" list in "/usr/share/kservices5/comicbookthumbnail.desktop" and run "kbuildsycoca5"
Comment 2 Massimiliano Torromeo 2016-10-24 19:39:08 UTC
Forgot to say that this only fixed the thumbnails for .cbz files.
I think the issue with .cbr archives is completely different.
Comment 3 Massimiliano Torromeo 2016-10-24 20:31:46 UTC
I also found the reason for the missing thumbnails of cbr archives and commented about it in Bug 370390
Comment 4 Massimiliano Torromeo 2016-10-24 20:32:34 UTC
Sorry, wrong reference.
It's Bug 367626
Comment 5 Massimiliano Torromeo 2016-10-24 21:31:43 UTC
I just noticed that a fix has been committed already 3 days ago.
Comment 6 BasioMeusPuga 2016-10-25 04:08:10 UTC
I can confirm that this works for .cbz thumbnail generation. Thank you, Massimiliano Torromeo. 

Considering how (relatively) simple this fix is, hopefully it finds its way upstream soon.