Summary: | raw file open with action causes two instances | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Simon Oosthoek <kdebugs> |
Component: | Usability-OpenWith | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | caulier.gilles |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 7.0.0 |
Description
Simon Oosthoek
2008-01-16 22:11:56 UTC
Arnd, This entry is relevant of Gimp not digiKam directly... Gilles Caulier Simon, could you try to associate a shell script with .ARW files and let this script gives some "debug" output, like echo "Starting shell script" gimp-remote ... echo "finished shell script" maybe with the passed filename etc. This should reveal, whether digikam calls this script twice, or whether it is a gimp-remote problem (i.e. by running the script from the command line). Best, Arnd While trying to implement this test script, I noticed I had two entries for .arw in the file associations found in kcontrol. One (image/x-raw), to which I think I remember adding the .arw extension. The other is image/x-sony-raw. The list of applications is different and also the way gimp is called of those options is different. I also think I remember adding the image/x-sony-raw type (in an attempt to get digikam to list applications for the .arw raw format). In the image/x-raw type, gimp is called as "gimp", the other image/x-sony-raw is using gimp-remote. If both associations are followed and called, it would explain the double instance of the gimp, due to one of them calling gimp, instead of gimp-remote. I don't think this can be a bug of gimp-remote, since I usually use that to open files with the gimp and only digikam shows this behaviour. I suspect it may be a strange interaction between digikam and the kde file associations, of which I understand very little... I hope this helps (I assume the test-script is no longer necessary, since this appears to be a much saner explanation than a weird double execute in gimp-remote ;-) Cheers Simon Shouldn't then removing the .arw entry for image/x-raw solve the problem so that this bug can be closed? I suppose so, as I can't tell whether this is caused by digikam or the file associations API... Not reproducible with digiKam 7.0.0-beta1. |