Bug 494729

Summary: Cannot Choose Customized Raw Import Tools on Mac
Product: [Applications] digikam Reporter: qp.ding
Component: ImageEditor-WorkflowAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: metzpinguin, qp.ding
Priority: NOR    
Version: 8.4.0   
Target Milestone: ---   
Platform: macOS (DMG)   
OS: macOS   
Latest Commit: Version Fixed In: 8.5.0
Sentry Crash Report:
Attachments: Screen capture showing the options not available

Description qp.ding 2024-10-14 10:19:00 UTC
Created attachment 174798 [details]
Screen capture showing the options not available

***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY
Cannot choose any of the customized raw import tools, they are greyed out.

STEPS TO REPRODUCE
1. Install both darktable and digikam with dmg packages. Give full disk access to digikam.
2. Launch digikam, navigate to Configure -> Image Editor -> RAW behavior -> Always open the Raw Import Tool to customized settings. 
3. Click on the drop down menu.

OBSERVED RESULT
Only the default (Import Raw Using Libaw) is available, all the other options are greyed out and cannot be chosen.

EXPECTED RESULT
The "Raw Import Using DarkTable" option is available (not grayed out).

SOFTWARE/OS VERSIONS
macOS: 15.0.1

ADDITIONAL INFORMATION
1. I can confirm that when installing both darktable and digikam with homebrew, the "Raw Import Using DarkTable" option is still not available.
2. From the internal debug logging, I got the following output:
-------------------------------------------
digikam.general: Plugin of type Digikam::DPluginRawImport loaded from "/Applications/digiKam.org/digikam.app/Contents/libexec/qt5/plugins/digikam/rawimport/RawImport_ART_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginRawImport loaded from "/Applications/digiKam.org/digikam.app/Contents/libexec/qt5/plugins/digikam/rawimport/RawImport_DarkTable_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginRawImport loaded from "/Applications/digiKam.org/digikam.app/Contents/libexec/qt5/plugins/digikam/rawimport/RawImport_UFRaw_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginRawImport loaded from "/Applications/digiKam.org/digikam.app/Contents/libexec/qt5/plugins/digikam/rawimport/RawImport_RawTherapee_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginRawImport loaded from "/Applications/digiKam.org/digikam.app/Contents/libexec/qt5/plugins/digikam/rawimport/RawImport_Native_Plugin.so"
-------------------------------------------
judging from which I assume that all the rawimport plugins should be working properly.

My best guess is that somehow digikam could not get the correct directory to DarkTable, or does not have the correct privilege to call DarkTable, but I have no idea how to fix this on Mac.

3. I can, however, successfully do this: right click on a raw file in an album, choose open with -> darktable.app. In this case, darktable will pop up and I can edit images as normal.
Comment 1 Maik Qualmann 2024-10-14 10:27:03 UTC
The problem is fixed in digiKam-8.5.0. Pre-release version here for Apple silicon:

https://files.kde.org/digikam/

Intel:

https://files.kde.org/digikam/legacy/

Maik
Comment 2 qp.ding 2024-10-14 15:58:01 UTC
(In reply to Maik Qualmann from comment #1)
> The problem is fixed in digiKam-8.5.0. Pre-release version here for Apple
> silicon:
> 
> https://files.kde.org/digikam/
> 
> Intel:
> 
> https://files.kde.org/digikam/legacy/
> 
> Maik

Hi Maik,

Thanks for the super fast response. Just installed the 8.5 pre-release and it's working. Another issue raised but I'll look into that first and report it in another thread if possible.