Bug 325819 - [Regression] kio_thumbnail fails to detect MimeType for FLAC files since 4.11.1
Summary: [Regression] kio_thumbnail fails to detect MimeType for FLAC files since 4.11.1
Status: RESOLVED FIXED
Alias: None
Product: kio
Classification: Unmaintained
Component: thumbnail (show other bugs)
Version: 4.11.2
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-09 15:03 UTC by Mathias Dietrich
Modified: 2013-10-21 01:26 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.11.3
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)