Bug 103760

Summary: "file types dialog": find extensions AND descriptions
Product: [Applications] systemsettings Reporter: Oliver Grimm <logistikka>
Component: kcm_filetypesAssignee: David Faure <faure>
Status: RESOLVED FIXED    
Severity: wishlist CC: rs4000, sven.burmeister
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Oliver Grimm 2005-04-12 23:57:19 UTC
Version:            (using KDE KDE 3.4.0)
Installed from:    Debian testing/unstable Packages
OS:                Linux

In the KControlCenter tab "KDE components --> file types" please extend the search bar feature such that it also searches the file type descriptions and not only the extension.

I encountered a problem here when doing the following: I was having a problem when clicking on an ogg file in Konqueror because it didn't start amaroK but noatun. So I started KControlCenter, typed "ogg" in the search bar and it took me to the entry "application-->ogg". I changed the startup order such that amaroK was the first program to be launched. This didn't seem to work and the old problem persisted. Typing "vorbis" there didn't find anything. A few das later I opened the file properties dialog of an ogg-file in Konqueror and clicked on the "file type" button there. This took me to a file type dialog for the type "audio --> vorbis" where I then saw that the startup order was wrong. 

I have three remarks about this:

1. I do not quite understand why there are different type entries for the same thing (oggs).
2. I do not quite understand why "audio --> vorbis" is launched when there are NO extensions set in this dialog.
3. The whole thing would been have much more unlikely to cause a headache if the file type find dialog had offered me the two different entries in the beginning by searching the descriptions as well.

I'd really appreciate a feature change on #3. I guess #1 and #2 are not bugs. Maybe someone who knows it could comment these points here.

Thanks!
Oliver

PS: have a look at bug 17556
Comment 1 Thiago Macieira 2005-04-13 03:02:09 UTC
1. Ogg and Vorbis aren't the same thing. Ogg is the container format and multiplexer, Vorbis is one audio codec. You can also have Ogg FLAC, Ogg Speex, Ogg Theora, not to mention multiplexed streams of those (like Ogg Theora + Vorbis).

2. The file was identified, somehow, as Vorbis audio. I don't know why, but isn't wrong.
Comment 2 David Faure 2008-03-04 12:46:45 UTC
3. is sort of fixed in KDE4 (as a result of bug 64675) : if you type ogg, you'll see all mimetypes containing "ogg" in the name appear, which includes application/ogg, audio/ogg, video/ogg, audio/x-flac+ogg, audio/x-vorbis+ogg, video/x-ogm+ogg and video/x-theora+ogg.
This is not exactly "searching in the descriptions", it's "searching in the mimetype name", but it covers this particular use case.

I'm undecided about searching in the (translated) descriptions... Hmm, ok, why not.
Comment 3 David Faure 2008-03-04 12:48:48 UTC
SVN commit 782144 by dfaure:

OK, let's also search into the filetype description (mimetype comment).
Typing Adobe includes application/illustrator and application/x-frame in the results, makes sense.
Typing "file" is useless though :)
FEATURE: 103760


 M  +3 -0      mimetypedata.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=782144
Comment 4 David Faure 2008-03-04 20:46:21 UTC
*** Bug 126644 has been marked as a duplicate of this bug. ***
Comment 5 David Faure 2009-04-10 20:41:48 UTC
*** Bug 155803 has been marked as a duplicate of this bug. ***