Welcome Dialog

Welcome to the Community!

We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.


Lightroom: Bug in text filter Caption Ends With

6 Votes
LEGEND ,
Dec 20, 2011 Dec 20, 2011

Copy link to clipboard

Copied

The text filter:

Caption Ends With "ab"

matches a photo with caption "xab" but not with caption "aab".
Bug Investigating
TOPICS
Desktop

Views

13

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
19 Comments
LEGEND ,
Dec 20, 2011 Dec 20, 2011

Copy link to clipboard

Copied

Also,

Caption Ends With "a"

matches caption "a b".

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 20, 2011 Dec 20, 2011

Copy link to clipboard

Copied

Regarding xab but not aab:

Sounds like a data-sensitive bug reminiscent of the "Big Mallard Ducks" bug in 'Contains Words'.

However, the second case is to be expected (ends-with "a" matching "a b").

The way Lightroom works, it divides the search term up by spaces, then subjects each to the search criteria: "a" does end with "a" (I thought you were the one who pointed this out to me in the 'starts with' thread ;?) This behavior is awesome *iff* you dont have any spaces in your metadata, which my keywords don't, anymore, ever since I realized that Lightroom does not handle spaces properly. This behavior however is especially bad for searching captions, etc...

Space Urchin on the other hand, has been specifically designed to consider spaces as part of the search term, and will not match ends-with "a" unless the whole search term ends with "a".

R

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 21, 2011 Dec 21, 2011

Copy link to clipboard

Copied

I agree that the second case, Caption Ends With "a" matches caption "a b", is consistent with the way Starts With works. But since Becky of Adobe acknowledged Starts With as a bug, I thought it best to also mention that Ends With has a similar issue:

http://feedback.photoshop.com/photosh...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 21, 2011 Dec 21, 2011

Copy link to clipboard

Copied

Gotcha.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 11, 2012 Jan 11, 2012

Copy link to clipboard

Copied

Still present in LR 4 beta.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 24, 2013 Apr 24, 2013

Copy link to clipboard

Copied

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 24, 2013 Apr 24, 2013

Copy link to clipboard

Copied

The Smart Collection search options of 'ends with' doesn't appear to be working. When using 'Folder' 'ends with' 'Test' it includes all photos under the root folder of 'Test Photos'.

Similar examples such as 'Folder' 'ends with' 'Test Lucia' return all photos that are under the root 'Test Photos' and have 'Lucia' somewhere in the folder name.

As far as I can tell so far there is no difference between using contains all and ends with. Or starts with for that matter.
(v4.3 64-bit on Win8 64-bit)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 24, 2013 Apr 24, 2013

Copy link to clipboard

Copied

To be clear: Lr divides metadata up into words (with space as delimiter) *BEFORE* testing for matches. It then tests each word independently of the rest.

So 'THE END' starts with 'END' and ends with 'THE'.

Note: due to bug, the aformentioned can not be found at all when using "contains words" (see "big mallard ducks" bug).

This is one of my pet peeves in Lightroom:

Spaces are allowed *as data* but are treated *as separator*.

It's just wrong...

In the mean time, consider using AnyFilter
(or SpaceUrchin, if you're weird, like me)
if you need to search for metadata with spaces in it.

Rob

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 24, 2013 Apr 24, 2013

Copy link to clipboard

Copied

To be clear: Lr divides metadata up into words (with space as delimiter) *BEFORE* testing for matches. It then tests each word independently of the rest.

So 'THE END' starts with 'END' and ends with 'THE'.

Note: due to bug, the aformentioned can not be found at all when using "contains words" (see "big mallard ducks" bug).

This is one of my pet peeves in Lightroom:

Spaces are allowed *as data* but are treated *as separator*.

It's just wrong...

In the mean time, consider using AnyFilter
(or SpaceUrchin, if you're weird, like me)
if you need to search for metadata with spaces in it.

Rob

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 26, 2013 Apr 26, 2013

Copy link to clipboard

Copied

TextMeta offers a solution for searching a limited subset of metadata with spaces (e.g. file name, folder path, title, caption, ...) by replacing spaces with something else (in a shadow-copy available as custom metadata). Such massaged metadata is available for library filters and/or smart collections.

For example, if you specify spaces to be replaced by underscore, then

'THE END' would be stored as 'THE_END', which even by Lightroom native handling, starts with 'THE' and ends with 'END'.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 26, 2013 Apr 26, 2013

Copy link to clipboard

Copied

That's very simple!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 26, 2013 Apr 26, 2013

Copy link to clipboard

Copied

Thanks John. Not comprehensive, like AnyFilter, but may do for some cases...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 06, 2015 May 06, 2015

Copy link to clipboard

Copied

This bug still exists in LR 6.0.1 / OS X 10.10.3.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 14, 2017 Mar 14, 2017

Copy link to clipboard

Copied



In Lightroom 5.2 64-bit when I set up smart collections based on "Keyword ends with" I notice that some pictures are not being selected where the keyword has a double letter, e.g. "East Sutton" is not matched when I select "Keyword ends with 'ton'" whereas it is found if I change the keyword to "East Suton". A possible bug or a misunderstanding on my part?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 14, 2017 Mar 14, 2017

Copy link to clipboard

Copied

In the merged thread, kirbykrieger wrote:

*kirbykrieger MemberThis bug remains in Lightroom CC 2015.9.

Please see thread I started on Lightroomforums.net.  Confirmed by two top users.

The Smart Collection Rule:

{Keywords}{ends with}{string}

fails to match Photos with keywords that end with "xstring" where "x" is the same letter as the first letter in "string".

I am emigrating large databases from Aperture to Lightroom (happily, until this tripped me) that use sets of Smart Collections based on sets of keywords that carry one of a small often-used group of suffixes and prefixes.  This bug breaks my system.  Other than reporting it here, is there anything I can do to help resolve it?

(I have edited dozens of Smart Collections to use "tring" instead of "string" where the first letter of "string" follows an identical letter.  This short-term solution works for now, but it introduces an inconsistency that will cause bigger problems down the road, and is cumbersome to implement.)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 14, 2017 Mar 14, 2017

Copy link to clipboard

Copied

In the merged thread, Rikk Flohr, Company Admin, wrote:

I am able to duplicate this behavior. A bug is filed. 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 14, 2017 Mar 14, 2017

Copy link to clipboard

Copied

Kirby, this bug was first reported over five years ago and acknowledged by Adobe two years ago.  Let's hope the recent refiling of the bug report spurs a fix!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 14, 2017 Mar 14, 2017

Copy link to clipboard

Copied

A very similar bug with "contains words" was fixed in CC 2015.0 / 6.0: https://feedback.photoshop.com/photoshop_family/topics/contains_words_bug_big_mallard_ducks?topic-re... .   This was the "big mallard ducks" bug first reported in LR 3.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Apr 29, 2018 Apr 29, 2018

Copy link to clipboard

Copied

LATEST
Hi Stanislav,

Thanks for reporting the issue and also suggesting the idea.
We'll discuss about your idea internally.

Thanks,
Bhargav

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines