Bug 125727

Summary: digikam open with of raw file only shows application for octet-stream
Product: [Applications] digikam Reporter: Roman Fietze <kde>
Component: Usability-OpenWithAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 0.9.0

Description Roman Fietze 2006-04-17 13:18:21 UTC
Version:            (using KDE KDE 3.5.2)
Installed from:    SuSE RPMs

When viewing e.g. Canon RAW image files (*.cr2, *.CR2) a right klick on the image and "Open With" only shows the configured applications for the content type application/octet-stream.

I configured gimp and ufraw as being able to handle those files. The konqueror (Open With) pop up and kcontrol (File Associations) properly show up those applications.

O.K., it's not really a bug ...
Comment 1 Roman Fietze 2006-08-12 11:19:19 UTC
Seems to be a bug in kdelibs. See bug #132280 for a description.

I will close this bug here when #132280 is fixed, because I cannot mark this bug here as a duplicate of #132280 as I could do it with Bugzilla.
Comment 2 Roman Fietze 2006-10-07 14:11:12 UTC
#132280 fixed in SVN for KDE V3.5.
Comment 3 Simon Oosthoek 2007-12-30 15:14:19 UTC
ok, my last comment in http://bugs.kde.org/show_bug.cgi?id=136643 and this one seem to me to indicate there are still problems:

1: Open With can only be configured using global KDE configuration, which is now very hard to find on e.g. kubuntu, since kcontrol is no longer in the menu.

2: This leads to unintuitive results, because the file-association dialog is not very easy to configure correctly (too many types and too chaotic in the end result)

3: the raw files don't have an associated mime type and even if they did, digikam seems to classify them as octet-stream, which is not specific enough.

So I suppose to solve this several things could be done:

- give digikam an additional configure option to add programs to the open with dialog, these options should show up in addition to the global file-associations

- digikam should also be able to configure the default to use from within digikam

- digikam should use/register the mimetypes it supports, including all RAW formats, I don't know what the proper way is to do this, but if digikam knows about a format, so can KDE and thus, so can the file-associations.

Cheers

Simon