<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>501424</bug_id>
          
          <creation_ts>2025-03-12 18:22:01 +0000</creation_ts>
          <short_desc>Settings: Exiftool is not found in Metadata</short_desc>
          <delta_ts>2025-07-04 10:01:36 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>KDE Neon</classification>
          <product>neon</product>
          <component>Snaps</component>
          <version>unspecified</version>
          <rep_platform>Kubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="juergen.barnert@gmx.de">juergen.barnert</reporter>
          <assigned_to name="Scarlett Moore">sgmoore</assigned_to>
          <cc>ba68zf0c</cc>
    
    <cc>clay</cc>
    
    <cc>john</cc>
    
    <cc>juergen.barnert</cc>
    
    <cc>metzpinguin</cc>
    
    <cc>sergio.schvezov</cc>
    
    <cc>sgmoore</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2407093</commentid>
    <comment_count>0</comment_count>
    <who name="juergen.barnert@gmx.de">juergen.barnert</who>
    <bug_when>2025-03-12 18:22:01 +0000</bug_when>
    <thetext>***
If you&apos;re not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you&apos;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
Location of exiftools not found

STEPS TO REPRODUCE
1. In &apos;settings&apos; &gt; &apos;digikam einrichten&apos; &gt; &apos;Metadata&apos; &gt; &apos;Exiftool&apos;  exiftool is not found. Exiftool is installed in /usr/local/bin. But only the folder /usr/bin is shown in the menu. I can not change to /usr/local/bin
2. An error message is shown at the start of digikam that exiftool is not found
3. Exiftool is correctly installed and works in the terminal


OBSERVED RESULT
Exiftool is not working in digikam

EXPECTED RESULT
I would expect that exiftool is recognized by digikam

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Kubuntu 24.10
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.6.2
Displayserver: Wayland

ADDITIONAL INFORMATION</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2407259</commentid>
    <comment_count>1</comment_count>
    <who name="Clay Weber">clay</who>
    <bug_when>2025-03-13 10:47:05 +0000</bug_when>
    <thetext>Was this installed as a Snap, Flatpak, or using a PPA?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2407266</commentid>
    <comment_count>2</comment_count>
    <who name="juergen.barnert@gmx.de">juergen.barnert</who>
    <bug_when>2025-03-13 11:05:37 +0000</bug_when>
    <thetext>It was installed on snap. I have reinstalled digikam using deb repository. Now it works. Snap was the problem.

Von meinem iPhone gesendet

&gt; Am 13.03.2025 um 11:47 schrieb Clay Weber &lt;bugzilla_noreply@kde.org&gt;:
&gt; 
&gt; ﻿https://bugs.kde.org/show_bug.cgi?id=501424
&gt; 
&gt; Clay Weber &lt;clay@claydoh.com&gt; changed:
&gt; 
&gt;           What    |Removed                     |Added
&gt; ----------------------------------------------------------------------------
&gt;                 CC|                            |clay@claydoh.com
&gt; 
&gt; --- Comment #1 from Clay Weber &lt;clay@claydoh.com&gt; ---
&gt; Was this installed as a Snap, Flatpak, or using a PPA?
&gt; 
&gt; -- 
&gt; You are receiving this mail because:
&gt; You are on the CC list for the bug.
&gt; You reported the bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2428709</commentid>
    <comment_count>3</comment_count>
    <who name="John Kizer">john</who>
    <bug_when>2025-05-29 14:46:50 +0000</bug_when>
    <thetext>Reopening and moving to the Snap component since this appears to be an issue specific to the Snap packaging of Digikam. Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2428710</commentid>
    <comment_count>4</comment_count>
    <who name="John Kizer">john</who>
    <bug_when>2025-05-29 14:47:27 +0000</bug_when>
    <thetext>Messed up the reassignment the first time, sorry for the double emails!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2428725</commentid>
    <comment_count>5</comment_count>
    <who name="Maik Qualmann">metzpinguin</who>
    <bug_when>2025-05-29 15:44:52 +0000</bug_when>
    <thetext>Delete the Snap digiKam package; it&apos;s unusable, and we can&apos;t fix it. Snap uses a sandbox; you can only access files within your home directory. Use our AppImage or request a native digiKam package from your distribution.

Maik</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2428974</commentid>
    <comment_count>6</comment_count>
    <who name="">ba68zf0c</who>
    <bug_when>2025-05-30 06:57:23 +0000</bug_when>
    <thetext>(In reply to Maik Qualmann from comment #5)
&gt; Delete the Snap digiKam package; it&apos;s unusable, and we can&apos;t fix it. Snap
&gt; uses a sandbox; you can only access files within your home directory. Use
&gt; our AppImage or request a native digiKam package from your distribution.
&gt; 
&gt; Maik

Can&apos;t digikam be removed from snap store to prevent new users from stumpling across this issue in future?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2429269</commentid>
    <comment_count>7</comment_count>
    <who name="Scarlett Moore">sgmoore</who>
    <bug_when>2025-05-31 08:59:14 +0000</bug_when>
    <thetext>Alright, I have been fighting with this. I added exiftool to the snap. Snap usr/bin is in PATH and digikam still refuses to find it because it is looking for a hard coded path of /usr/bin/exiftool . Does digikam not use PATH for binary search path?? I am trying very hard here, I would appreciate some effort to help and not throw away all my hard work, thanks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2429584</commentid>
    <comment_count>8</comment_count>
    <who name="">ba68zf0c</who>
    <bug_when>2025-06-02 05:26:48 +0000</bug_when>
    <thetext>I&apos;m not a programmer, so I don&apos;t think I can help here.
Perhaps consider looking at the Flatpak version and copying their solution, as it works without the need to install ExifTool. 

I hope you can fix this! New users will inevitably come across Ubuntu and Digikam when they start using Linux. It would be great to have all the Digikam features available in the Snap package.

Keep up your work! Thank you!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2436227</commentid>
    <comment_count>9</comment_count>
    <who name="Scarlett Moore">sgmoore</who>
    <bug_when>2025-06-25 15:48:03 +0000</bug_when>
    <thetext>Well I am getting closer, it now finds exiftool but &apos;the binary found isn&apos;t working as intended&apos;. I have a theory... crossing fingers.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2437860</commentid>
    <comment_count>10</comment_count>
    <who name="Sergio Schvezov">sergio.schvezov</who>
    <bug_when>2025-07-01 23:40:00 +0000</bug_when>
    <thetext>This merge request should do the trick https://invent.kde.org/graphics/digikam/-/merge_requests/360

```
❯ snap install digikam_8.6.0_amd64.snap --dangerous
digikam 8.6.0 installed

❯ snap run --shell digikam
sergiusens@cuivienen:/home/sergiusens/Source/Snaps/digikam$ exiftool
Syntax:  exiftool [OPTIONS] FILE

Consult the exiftool documentation for a full list of options.
sergiusens@cuivienen:/home/sergiusens/Source/Snaps/digikam$ which exiftool
/snap/digikam/x10/usr/bin/exiftool
```

digikam when run, also finds it</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2438434</commentid>
    <comment_count>11</comment_count>
    <who name="Scarlett Moore">sgmoore</who>
    <bug_when>2025-07-04 10:01:36 +0000</bug_when>
    <thetext>This is now fixed in latest stable. Thank you Sergio</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>