Bug 505650 - Print Creator Can't Find GIMP 3 on macOS
Summary: Print Creator Can't Find GIMP 3 on macOS
Status: REPORTED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Generic-PrintCreator (other bugs)
Version First Reported In: 8.6.0
Platform: macOS (DMG) macOS
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-16 04:59 UTC by nteovuj0i
Modified: 2025-06-24 19:15 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nteovuj0i 2025-06-16 04:59:49 UTC
SUMMARY
Print Creator Can't Find GIMP 3.0 on macOS. It greys out the directory in the /Application folder.

STEPS TO REPRODUCE
1. Open the Print Creator tool

OBSERVED RESULT
The binary will not be found

EXPECTED RESULT
Finding the binary

SOFTWARE/OS VERSIONS
macOS: 15.5 (24F74)
KDE Frameworks Version: 6.10.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
I worked around the problem by editing digikamrc to include:
  /Applications/GIMP.app/Contents/MacOS
and by adding a symlink gimp-bin -> gimp in /Applications/GIMP.app/Contents/MacOS
Comment 1 caulier.gilles 2025-06-16 05:32:47 UTC
Hi, 

on my macbook pro, gimp 2.10 is installed and binary name is not the same :

# uname -a
Darwin MacBook-Pro-M1-de-Gilles.local 24.5.0 Darwin Kernel Version 24.5.0: Tue Apr 22 19:54:49 PDT 2025; root:xnu-11417.121.6~2/RELEASE_ARM64_T6000 arm64
# pwd
/Applications/GIMP.app/Contents/MacOS
# ls -al
total 29232
drwxr-xr-x@ 19 gilles  admin       608 May 14  2024 .
drwxr-xr-x@  7 gilles  admin       224 May 14  2024 ..
-rwxr-xr-x@  1 gilles  admin     94752 May 14  2024 gegl
drwxr-xr-x@  3 gilles  admin        96 May 14  2024 gegl.dSYM
-rwxr-xr-x@  1 gilles  admin  10426672 May 14  2024 gimp.      <=====!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
lrwxr-xr-x   1 gilles  admin        17 May 14  2024 gimp-console -> gimp-console-2.10
-rwxr-xr-x@  1 gilles  admin   4156896 May 14  2024 gimp-console-2.10
drwxr-xr-x@  3 gilles  admin        96 May 14  2024 gimp-console-2.10.dSYM
lrwxr-xr-x   1 gilles  admin        19 May 14  2024 gimp-debug-tool -> gimp-debug-tool-2.0
-rwxr-xr-x@  1 gilles  admin    114448 May 14  2024 gimp-debug-tool-2.0
drwxr-xr-x@  3 gilles  admin        96 May 14  2024 gimp-debug-tool-2.0.dSYM
drwxr-xr-x@  3 gilles  admin        96 May 14  2024 gimp.dSYM
-rwxr-xr-x@  1 gilles  admin     89840 May 14  2024 gimptool-2.0
drwxr-xr-x@  3 gilles  admin        96 May 14  2024 gimptool-2.0.dSYM
lrwxr-xr-x   1 gilles  admin         9 May 14  2024 python -> python2.7
lrwxr-xr-x   1 gilles  admin         9 May 14  2024 python2 -> python2.7
-rwxr-xr-x@  1 gilles  admin     70160 May 14  2024 python2.7
drwxr-xr-x@  3 gilles  admin        96 May 14  2024 python2.7.dSYM
-rwxr-xr-x@  1 gilles  admin      1816 May 14  2024 xdg-email

Best

Gilles Caulier
Comment 2 caulier.gilles 2025-06-16 05:34:22 UTC
Note: Current plugin code search GIMP-bin as executable :

https://invent.kde.org/graphics/digikam/-/blob/master/core/dplugins/generic/tools/printcreator/tools/gimpbinary.cpp?ref_type=heads#L29
Comment 3 caulier.gilles 2025-06-23 05:47:01 UTC
The problem will be same under Windows, as Gimp executable filename can include the version ID.
Comment 4 Maik Qualmann 2025-06-24 19:09:59 UTC
Git commit ed3aaf7121a71a717e97381f4c511595b562acee by Maik Qualmann.
Committed on 24/06/2025 at 19:08.
Pushed by mqualmann into branch 'master'.

fix finding Gimp 3 on Windows

M  +1    -1    core/dplugins/generic/tools/printcreator/tools/gimpbinary.cpp
M  +2    -0    core/dplugins/generic/tools/printcreator/wizard/advprintintropage.cpp

https://invent.kde.org/graphics/digikam/-/commit/ed3aaf7121a71a717e97381f4c511595b562acee
Comment 5 Maik Qualmann 2025-06-24 19:15:57 UTC
Git commit 56f158f24dbf2e5516b5156e9d5af0b0fc3dc9e6 by Maik Qualmann.
Committed on 24/06/2025 at 19:15.
Pushed by mqualmann into branch 'master'.

this should fix finding Gimp on macOS

M  +0    -14   core/dplugins/generic/tools/printcreator/tools/gimpbinary.cpp

https://invent.kde.org/graphics/digikam/-/commit/56f158f24dbf2e5516b5156e9d5af0b0fc3dc9e6