Zum Hauptinhalt gehen

⚠️ Please note that this topic or post has been archived. The information contained here may no longer be accurate or up-to-date. ⚠️

Smart folder not working properly (solved)

Kommentare

23 Kommentare

  • Walter Rowe
    Moderator
    Top Commenter

    I recommend opening a support case. There have been other reports of smart albums not always showing all the variants they should be finding.

    0
  • I agree — my approach is first to post to the forum to check about some silly error I could be making, and if no feedback to open a support case.

    0
  • SFA
    Top Commenter

    No Preset by, say, rating or colour tag that might be in play for the catalog folder and subfolder?

    0
  • I'd say no, as you can see in the former screenshot: it shows the smart folder configuration and the search box in the bottom right, which is clear. I don't think there can be other settings elsewhere... right?

    0
  • SFA
    Top Commenter

    Based on your screen shots things do indeed look OK.

    A deleted image (i.e. in the Catalog trash "folder" ) might no appear but that does not seem to be the case here.

    Multiple versions of the same image can cause apparent anomalies but, again, that doe not seem to be the case here.

    "Duplicate" keywords that look the same but may have different spellings or spaces could be problematic but that seems unlikely here.

    The only other thing I can recall experiencing is a failure to update dynamically that sometimes requires go up a folder level (in Windows, I have no idea about Mac) and re-accessing the saved Smart Folder in order to force a new assessment. My experience with that is insessions rather than catalogs but, again, that does not seem to apply in your situation.

    Have you tried recreating the Smart folder? Did the recreation deliver the same result?

    0
  • Yes, same result. Indeed the problem was discovered by using an Applescript that queries the catalog and produces some files with the list of images.

    Thanks for the comment — it allowed me to make further checks. At this point probably it's not something trivial. I'm going to call the support.

    0
  • SFA
    Top Commenter

    Have you also tried looking as ALL Images and using the keyword string as a filter?

    Or, perhaps easier, opening the filter tool for keywords, view the list of Keywords discovered and check the counts calculated for each one?

    I not in the missing image screenshot that you have 43 images selected. How was that selection made and how does the method used compare to the smart album selection method?

    I'm wondering whether your 2024 folder relates to images created in 2024 and is somehow acting as an additional filter in this case but without knowing all about your organisational structure that is no more than an inquisitive idea.

    0
  • Fabrizio Giudici (stoppingdown)

    I'm going to provide a few more context.

    Up to now I've used smart albums for e.g. filtering by rate, piece of equipment, keywords associated to a subject; and regular albums for final picks, e.g. photos to print, to publish to a book, to publish to the web. This because the final selection is always manual and a regular album is the most natural tool for manual picks: you pick the photo and drag it to the album.

    For a number of reasons (mostly for interoperability with other applications, e.g. PhotoSupreme used for caloguing), from now on I'm working with an alternative approach: whenever I'd have used a regular album I'm now creating a specific keyword and using a smart album. Manual picks are tagged with that keyword. Same approach with PhotoSupreme and so tagging and untagging once keeps the collections in sync in both applications.

    So I started re-doing the 19 collections of photos published this year — my process uses an Applescript that queries C1 and produces text files with the list of related photo names for each collection. These files are kept in a Git repository, so they can be compared and versioned. After regenerating the files with the smart albums I expected of course that they would stay the same as they were with regular albums; instead, 7 out of 19 have a few missing items.

    Pretty strange, eh?

    0
  • Walter Rowe
    Moderator
    Top Commenter

    Now you are introducing scripting. Could be additional issue in the script query where the script itself is producing the wrong output?

    0
  • That 's why I posted the screenshots: to demonstrate that the UI is doing wrong.

    0
  • OTOH my doubt was about the fact that the keyword was imported from XMP — but the other screenshot demonstrates that it has been correctly ingested.

    0
  • SFA
    Top Commenter

    Fabrizio,

    One additional quick test that might be interesting.

    Using the Advanced Search, Try "Any" (field) > contains > your special keyword phrase

    Looking at your phrase I assume this is likely to be a unique "keyword" that would not be expected to appear anywhere but as a keyword. So the results should be the same whether you specify "Any" field or "keyword" field.

    If the results are not the same it might be useful analysis suggesting the next investigation step.

    0
  • Thanks for the suggestion. Done, still wrong outcome (14 items instead of 17).

    BUT —  your hint suggested me another test — if I go to the "All" collection and enter diary-item-2024-02-28 in the search box at the bottom right corner, I get the expected 17 items. See new screenshot attached.


    0
  • Further strange discover! If at this point create a smart album ('Untitled smart album 2') out of the search result, I get it working (17 items). Note that the search criterium is 'any contains 'diary-item-2024-02-28'.

       

    This is inconsistent with the smart album I created at the previous step out of the 'Advanced search' ('Untitled smart album'), in spite of having the very same criterium:

     

    0
  • BTW, C1 has become almost unresponsive now (CPU load is low).

    0
  • Running a script to inspect the album rules in XML format, they look like they are the same (as expected):

    use scripting additions

    tell application "Capture One"
        tell front document
            set _album1 to some collection whose name is "Untitled smart album"
            log rules of _album1 as text
            set _album2 to some collection whose name is "Untitled smart album 2"
            log rules of _album2 as text
        end tell
    end tell

     

    (*<?xml version="1.0"?><MatchOperator Kind="AND"><MatchOperator Kind="AND"><Condition Enabled="YES"><Key>_textSearch</Key><Operator>6</Operator><Criterion>diary-item-2024-02-28</Criterion></Condition></MatchOperator></MatchOperator>*)
    (*<?xml version="1.0"?><MatchOperator Kind="AND"><MatchOperator Kind="AND"><Condition Enabled="YES"><Key>_textSearch</Key><Operator>6</Operator><Criterion>diary-item-2024-02-28</Criterion></Condition></MatchOperator></MatchOperator>*)

     

    0
  • Fabrizio Giudici (stoppingdown)

    Ok, final (?) surprise: if I move both test smart albums in another folder... they both work. If you look at my previous screenshots, they were created in two different places. So I tried to move the original smart albums in a new place in the 'User collections' hierarchy (under the root)... and it worked. Putting it back to the original place, it breaks again.

    0
  • Walter Rowe
    Moderator
    Top Commenter

    Is there a project in the parent hierarchy where it fails to find the correct number? projects limit scope of search.

    0
  • Yes, there is a project. But in which way the scope of search is limited?

    0
  • So, the project was there by error, since I only use groups. I replaced the Project node with a simple Group and everything now works.

    So you solved my problem.

    I'd be curious, though, to understand how Project works because it's not clear to me.

    0
  • Walter Rowe
    Moderator
    Top Commenter

    When a smart album is contained within a project, the scope of the search is limited to the albums contained within that project.

    0
  • Ok, this at last makes sense for the behaviour I experienced.

    0
  • SFA
    Top Commenter

    Excellent investigative work Fabrizio and Walter.

    I use mostly sessions but occasionally catalogs just to get some sort of understanding of the differences for practical usage reference. I had entirely forgotten about the scope-limiting features of Projects. I'm grateful to be reminded about it. 

    I wonder if AI could be used to search the entire Community Help content here, both user and official, and create some form of "flow-chart" in response to questions like this one?

    Or, possibly better but more development input intensive, flow charts for the advanced search options to be made available on request from within the search tool. 

    Presumably Mac users familiar with Apple Script could create such a flow replication and presentation tool but Windows users would be unlucky.

    That said, I have, in the past, worked with software for which such tools have been developed and whilst the results were almost always of interest to users on first discovery they seemed to be little used in the later work. 

     

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.