<?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>379207</bug_id>
          
          <creation_ts>2017-04-25 15:47:22 +0000</creation_ts>
          <short_desc>Excludes folders from collections using RegEx.</short_desc>
          <delta_ts>2025-12-25 10:54:05 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>digikam</product>
          <component>Setup-Database</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>All</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>wishlist</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Luca RIva">luca.riva93</reporter>
          <assigned_to name="Digikam Developers">digikam-bugs-null</assigned_to>
          <cc>caulier.gilles</cc>
    
    <cc>daniel.ouin</cc>
    
    <cc>kde</cc>
    
    <cc>lepeter2010</cc>
    
    <cc>metzpinguin</cc>
          
          <cf_commitlink>https://invent.kde.org/graphics/digikam/-/commit/ab09daab2eff3e03b71d79d7dda5c4eb11f71d94</cf_commitlink>
          <cf_versionfixedin>9.0.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>1</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1673247</commentid>
    <comment_count>0</comment_count>
    <who name="Luca RIva">luca.riva93</who>
    <bug_when>2017-04-25 15:47:22 +0000</bug_when>
    <thetext>I think that may be useful to add the possibility to exclude folders during the scan using for example regex.
My idea is that under the folder that I add to digikam I have also sub-folders or sub-sub-folders that I wouldn&apos;t like to include and see in digikam but in the meantime I also wouldn&apos;t like to move them in another position. Using regex could be very nice because is flexible, anyway the possibility to use metacharacters is very important.
Thanks a lot.
Luca</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1673283</commentid>
    <comment_count>1</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2017-04-25 17:24:07 +0000</bug_when>
    <thetext>Please take a look to 5.5.0 release where we have introduced a exclusion feature about Database scan. It&apos;s located in Setup/Database panel.

Gilles Caulier</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1673377</commentid>
    <comment_count>2</comment_count>
    <who name="Luca RIva">luca.riva93</who>
    <bug_when>2017-04-26 06:42:27 +0000</bug_when>
    <thetext>Thanks for the reply.
I&apos;ve already looked at the feature present in the 5.5.0 but it seems that I can exclude only folder with a specific name (moreover without spaces). My need, instead, is to exclude every folder which name is not always exactly the same but only contains some words.

Luca</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1948000</commentid>
    <comment_count>3</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2020-08-01 21:45:12 +0000</bug_when>
    <thetext>digiKam 7.0.0 stable release is now published:

https://www.digikam.org/news/2020-07-19-7.0.0_release_announcement/

We need a fresh feedback on this file using this version.

Best Regards

Gilles Caulier</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2401851</commentid>
    <comment_count>4</comment_count>
    <who name="Daniel Ouin">daniel.ouin</who>
    <bug_when>2025-02-24 10:02:09 +0000</bug_when>
    <thetext>This enhancement should be useful for me. Is it possible to include it in the next version?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2478139</commentid>
    <comment_count>5</comment_count>
    <who name="">lepeter2010</who>
    <bug_when>2025-12-19 15:10:12 +0000</bug_when>
    <thetext>If implementing RexEx is not yet available, simple wildcarding like would be nice as well.
Examples for implementation: prefix*, *suffix</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2478512</commentid>
    <comment_count>6</comment_count>
    <who name="Maik Qualmann">metzpinguin</who>
    <bug_when>2025-12-21 12:30:33 +0000</bug_when>
    <thetext>Git commit ab09daab2eff3e03b71d79d7dda5c4eb11f71d94 by Maik Qualmann.
Committed on 21/12/2025 at 12:29.
Pushed by mqualmann into branch &apos;master&apos;.

add regular expression wildcard support for ignored directories
Wildcard characters such as * ? or [...] are possible.
Related: bug 513583
FIXED-IN: 8.9.0

M  +2    -2    NEWS
M  +16   -0    core/libs/database/collection/collectionscanner_p.cpp
M  +1    -0    core/libs/database/collection/collectionscanner_p.h
M  +2    -2    core/libs/database/collection/collectionscanner_scan.cpp

https://invent.kde.org/graphics/digikam/-/commit/ab09daab2eff3e03b71d79d7dda5c4eb11f71d94</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2478514</commentid>
    <comment_count>7</comment_count>
    <who name="Maik Qualmann">metzpinguin</who>
    <bug_when>2025-12-21 12:32:56 +0000</bug_when>
    <thetext>We don&apos;t want full regular expressions in the GUI for the end user. Wildcard support should suffice.

Maik</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>