Project

General

Profile

Bug #10100

Collecting by folder finds too many files

Added by Torsten Bronger almost 5 years ago. Updated about 2 years ago.

Status:
Fixed
Priority:
Low
Category:
Lighttable
Target version:
Start date:
09/06/2014
Due date:
% Done:

100%

Affected Version:
git development version
System:
all
bitness:
64-bit
hardware architecture:
amd64/x86

Description

I have two directories,

/home/bronger/raws/test
/home/bronger/raws/test2

If I collect images by "folders", and click on /home/bronger/raws/test, DT collects all images from "test" and "test2", apparently, because it includes all paths beginning with /home/bronger/raws/test instead of beging equal with.

Apologies if this is desired behaviour and I simply haven't found the old bug report; I didn't find good search keywords ...


Related issues

Related to darktable - Bug #11001: collecting images from similar folders New 04/22/2016

Associated revisions

Revision 118be6db
Added by Roman Lebedev over 2 years ago

Merge remote-tracking branch 'upstream/pr/1458'

Fixes #10100
Refs. #11001

  • upstream/pr/1458:
    collection: fix query string for folders

History

#1 Updated by Tobias Ellinghaus almost 5 years ago

  • Status changed from New to Triaged
  • % Done changed from 0 to 20
  • System changed from Ubuntu to all

That is definitely not intended behaviour.

#2 Updated by Fernando R over 4 years ago

I'm trying to reproduce this issue with no luck.

I've tried with both today's git version (commit 3465729b...24ea1) and a version from a bit more than one month ago (when this issue was reported) (commit 6a04f115...65df4).

Can you check if this still happens? Which specific version are you using?

#3 Updated by Aldric Renaudin over 4 years ago

  • Status changed from Triaged to In Progress
  • % Done changed from 20 to 50
  • Assignee set to Aldric Renaudin

Strange that you can't reproduce.
It's definitely a bug. (wildcards are added to the db request)
I'm currently rework the collect module, and I've fixed it.
Not pushed in master yet, but you can try the collect_rework branch in main repo

#4 Updated by Fernando R over 4 years ago

Then there's something wrong I must be doing. In any case, if you are already taking care of this, I'll go and find some other bug :)

#5 Updated by Roman Lebedev over 2 years ago

  • Related to Bug #11001: collecting images from similar folders added

#6 Updated by Roman Lebedev over 2 years ago

  • Status changed from In Progress to Fixed
  • % Done changed from 50 to 100

#7 Updated by Roman Lebedev about 2 years ago

  • Target version set to 2.4.0

Also available in: Atom PDF