[Pkg-kde-extras] Bug#776326: subtitlecomposer breaks MIME type detection of some PNGs

Martin Steghöfer martin at steghoefer.eu
Mon Jan 26 21:17:50 UTC 2015


Package: subtitlecomposer
Version: 0.5.3-4
Severity: normal

Dear maintainers of subtitlecomposer,

the installation of the package subtitlecomposer breaks the MIME type 
detection of certain PNGs.

Before installation of subtitlecomposer:

| mast:~$ gvfs-info headset.png | grep content-type
|   standard::content-type: image/png
|   standard::fast-content-type: image/png

After installation of subtitlecomposer:

| mast:~$ gvfs-info headset.png | grep content-type
|   standard::content-type: text/x-tmplayer
|   standard::fast-content-type: image/png

Note that the PNG file content type is now detected as "text/x-tmplayer" 
(before: "image/png"). The required file "headset.png" is attached to 
this message.

This affects other programs, e.g. it breaks the Ambiance theme window 
decoration in a bug reported to Ubuntu [1] or it crashes the PulseAudio 
volume control without error message in my case (the Gtk call to load 
the icon throws an unhandled exception - and I'd guess that the problem 
can also affect other Gtk-based programs in the same way).

The problem can be fixed temporarily by lowering the priority of 
text/x-tmplayer and text/x-tmplayer+ from 100 to 40 in 
/usr/share/mime/packages/subtitlecomposer.xml and updating the database 
by executing "update-mime-database /usr/share/mime".

A permanent fix is available upstream [2] (see also the upstream bug 
report [3]).

Thank you for maintaining subtitlecomposer and in advance for fixing 
this problem!

Cheers,
Martin

[1] https://bugs.launchpad.net/ubuntu/+source/subtitlecomposer/+bug/993275
[2] 
https://github.com/maxrd2/subtitlecomposer/commit/6528219ade1f2ca2d78b85a236397aa0d62583ee.patch
[3] https://github.com/maxrd2/subtitlecomposer/issues/1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: headset.png
Type: image/png
Size: 741 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-kde-extras/attachments/20150126/b61d3cdf/attachment.png>


More information about the pkg-kde-extras mailing list