By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.

Bug 2564

Summary: [Enhancement] Improve mimetype support
Product: TDE Reporter: Michele Calgaro <michele.calgaro>
Component: tdelibsAssignee: Timothy Pearson <kb9vqf>
Status: NEW ---    
Severity: enhancement CC: bugwatch, michele.calgaro
Priority: P5    
Version: R14.1.x [Trinity]   
Hardware: Other   
OS: Linux   
Compiler Version: TDE Version String:
Application Version: Application Name:

Description Michele Calgaro 2015-12-21 11:55:39 CST
Improve mimetype support by switching to /usr/share/mime

---------------------------------------
From mailing list conversation

> Slavek, currently tdelibs ships with two files for x-shellscript.desktop:
> /opt/trinity/share/mimelnk/application/x-shellscript.desktop
> /opt/trinity/share/mimelnk/text/x-shellscript.desktop
> I think it would be better to associate shell scripts with one only. IMO
> most of the users would expect shell scripts to be executed when clicking
> on it from Konqueror.
> What do you think?
>
> Any opinion from the other users?
>
> Cheers
>   Michele
>

There is a need to act with caution. As I found when examining the problem 
KNotify => problem with playing ogg (see bug 2392), there is an important 
relationship between mime types obtained by calling libmagic and mime types 
defined in TDE. Missing definition in TDE may cause a problem with the 
functionality. It is also necessary to keep in mind that different versions 
libmagic may return different types - as is application/ogg × audio/ogg.

The ideal solution would be to leave the /opt/trinity/share/mimelnk in favor 
of the system /usr/share/mime. But it will require some effort.

Related links:
+ http://trinity-users.pearsoncomputing.net/?0::9572
+ http://bugs.pearsoncomputing.net/show_bug.cgi?id=2392

-- 
Slávek
Comment 1 Michele Calgaro 2023-06-26 21:06:12 CDT
Also related to tdelibs#211 (https://mirror.git.trinitydesktop.org/gitea/TDE/tdelibs/issues/211)