Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
7

P: Issue in text filter Caption Ends With

LEGEND ,
Dec 20, 2011 Dec 20, 2011

The text filter:

Caption Ends With "ab"

matches a photo with caption "xab" but not with caption "aab".

Bug Fixed
TOPICS
macOS , Windows
1.4K
Translate
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

correct answers 1 Pinned Reply

Adobe Employee , Jan 08, 2025 Jan 08, 2025

John, I checked this bug after seeing you reference it in another post. This was fixed in 7.0 in 2017. Are you saying this is not fixed? 

Status Fixed
Translate
27 Comments
LEGEND ,
Dec 20, 2011 Dec 20, 2011
Also,

Caption Ends With "a"

matches caption "a b".
Translate
Report
LEGEND ,
Dec 20, 2011 Dec 20, 2011
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
Translate
Report
LEGEND ,
Dec 21, 2011 Dec 21, 2011
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...
Translate
Report
LEGEND ,
Dec 21, 2011 Dec 21, 2011
Gotcha.
Translate
Report
LEGEND ,
Jan 11, 2012 Jan 11, 2012
Still present in LR 4 beta.
Translate
Report
LEGEND ,
Apr 24, 2013 Apr 24, 2013
Translate
Report
LEGEND ,
Apr 24, 2013 Apr 24, 2013
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)

Translate
Report
LEGEND ,
Apr 24, 2013 Apr 24, 2013
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
Translate
Report
LEGEND ,
Apr 24, 2013 Apr 24, 2013
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
Translate
Report
LEGEND ,
Apr 26, 2013 Apr 26, 2013
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'.
Translate
Report
LEGEND ,
Apr 26, 2013 Apr 26, 2013
That's very simple!
Translate
Report
LEGEND ,
Apr 26, 2013 Apr 26, 2013
Thanks John. Not comprehensive, like AnyFilter, but may do for some cases...
Translate
Report
Explorer ,
May 06, 2015 May 06, 2015
This bug still exists in LR 6.0.1 / OS X 10.10.3.
Translate
Report
LEGEND ,
Mar 14, 2017 Mar 14, 2017


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?
Translate
Report
LEGEND ,
Mar 14, 2017 Mar 14, 2017
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.)
Translate
Report
LEGEND ,
Mar 14, 2017 Mar 14, 2017
In the merged thread, Rikk Flohr, Company Admin, wrote:

I am able to duplicate this behavior. A bug is filed. 
Translate
Report
LEGEND ,
Mar 14, 2017 Mar 14, 2017
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!
Translate
Report
LEGEND ,
Mar 14, 2017 Mar 14, 2017
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.
Translate
Report
Adobe Employee ,
Apr 29, 2018 Apr 29, 2018
Hi Stanislav,

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

Thanks,
Bhargav
Translate
Report
Adobe Employee ,
Jan 08, 2025 Jan 08, 2025

John, I checked this bug after seeing you reference it in another post. This was fixed in 7.0 in 2017. Are you saying this is not fixed? 

Rikk Flohr: Adobe Photography Org
Status Fixed
Translate
Report
Community Expert ,
Jan 08, 2025 Jan 08, 2025

word to the wise: some very old posts in this longstanding thread contain external weblinks which since been nastily compromised - great care please! Links within Adobe / Photoshop.com forums not of the same concern. 

Translate
Report
LEGEND ,
Jan 09, 2025 Jan 09, 2025

@Rikk Flohr: Photography: "I checked this bug after seeing you reference it in another post. This was fixed in 7.0 in 2017. Are you saying this is not fixed?"

 

I just double-checked LR 14.1.1 / Mac OS, and the bug is still present. See this screen recording:

https://www.dropbox.com/scl/fi/kyk53na57b5hy4dqnmx9v/caption-ends-with-bug.2025-01-09.mp4?rlkey=xzai...

 

I tested previous versions, and it worked properly in 13.2 but broke in 13.3.  LR 13.3 also broke a different aspect of Starts With and Ends With:

https://community.adobe.com/t5/lightroom-classic-bugs/p-starts-with-text-filter-on-captions-or-filen...

 

It appears that LR 13.3 reverted to old buggy behavior that was fixed in 8.3 thereabouts:

https://community.adobe.com/t5/lightroom-classic-bugs/p-starts-with-text-filter-on-captions-or-filen... 

 

 

 

Translate
Report
LEGEND ,
Jan 09, 2025 Jan 09, 2025

@richardplondon: "some very old posts in this longstanding thread contain external weblinks which since been nastily compromised - great care please! Links within Adobe / Photoshop.com forums not of the same concern."

 

Are you referring to the feedback.photoshop.com links? They referred to the old "feedback" site for the Lightroom and Photoshop products and now redirect to community.adobe.com.   That's not very useful to readers, but they're not "compromised" (e.g. link to malware sites).

Translate
Report
Community Expert ,
Jan 10, 2025 Jan 10, 2025

unsafe link was for something called "space urchin" - my curiosity got better of me, but I think my anti-malware blocked all the potentially bad stuff that resulted

Translate
Report
LEGEND ,
Jan 10, 2025 Jan 10, 2025

@richardplondon: "unsafe link was for something called "space urchin""

 

Ah, the link to the late plugin developer Rob Cole's web site included in this post:

https://community.adobe.com/t5/lightroom-classic-bugs/p-issue-in-text-filter-caption-ends-with/idc-p...

 

It appears the expired domain name was acquired by a spammy link redirector that sells such redirects to sleazy advertisers, such as sellers of health supplements.

Translate
Report