Bug 325819

Summary: [Regression] kio_thumbnail fails to detect MimeType for FLAC files since 4.11.1
Product: [Unmaintained] kio Reporter: Mathias Dietrich <dietrichmathias>
Component: thumbnailAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: hrvoje.senjan, samrog131
Priority: NOR    
Version: 4.11.2   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 4.11.3
Sentry Crash Report:

Description Mathias Dietrich 2013-10-09 15:03:08 UTC
Since KDE 4.11.1 kio_thumbnail fails to detect the proper mime type for FLAC files.

As far as i undersand, for all files in the directory, kio_thumbnail tries to determine the mime type of the files within the directory, e.g.:

kio_thumbnail(10151) ThumbnailProtocol::get: Wanting MIME Type: "video/x-matroska"

for mkv or e.g. for mp3: 

kio_thumbnail(10151) ThumbnailProtocol::get: Wanting MIME Type: "audio/mpeg"

Unfortunately, this is not done for flac files, which are "audio/flac" or "audio/x-flac".
Also I can confirm that this behavior appeared with KDE 4.11.1, so I assume it's a regression.

Reproducible: Always

Steps to Reproduce:
1. Enable dolphin debug
2. Enter directory 
3. Enable preview
4. Look at ~/.xessions-errors for output
Actual Results:  
kio_thumbnails fails to determine the mimetype of flac files

Expected Results:  
kio_thumbnails determines and outputs the mimetype of flac files
Comment 1 Rog131 2013-10-20 20:34:51 UTC
The KDE-Apps.org AudioThumbs: http://kde-apps.org/content/show.php/?content=145088 thumbnailer is working with the KDE 4.11.2 / Kubuntu 13.10 if the audio/x-flac is removed from the MimeTypes. 

Kubuntu forums thread: http://www.kubuntuforums.net/showthread.php?63880-audiothumbs-doesn-t-work
Comment 2 Hrvoje Senjan 2013-10-20 20:56:53 UTC
Same as http://lists.kde.org/?l=kde-core-devel&m=138178759224330&w=2. Should be fixed in 4.11.3 (and it does work with the mentioned commits)