Skip to main content
Participating Frequently
Aug 31, 2018 7:06 PM UTC
Released

P: Duplicates detection is not working well for images with uppercase accent letters

Hi,



I've found a bug in Lightroom Classic, including the newest version. I'm using Windows 10.

Please don't tell me that accents are special characters and software can't handle them. We are in unicode world and any char is easy to handle.


 

So what's the problem?

Duplicates detection is not working well for images with uppercase accent letters in the filename and it will import the same images multiple times. Detection is working fine with lowercase accent letters in the filename.

I've tried "synchronize folder" and if there is any new image, it will import the image and than every image with uppercase accent letter... Usual import dialog has the same problem.

 

How to reproduce?

Let's have any image in LR catalog. Rename to Á.jpg. Click on Import. Choose directory which contains this image and check "don't import duplicates". This image with uppercase accent letter will be imported anyway.

 

Which characters?

I've tried "Á, Č, Ě", but there will be much more letters.Probably from other languages too... See https://en.wikipedia.org/wiki/Czech_orthography#Alphabet




Lightroom Classic version: 7.5 [ 1186149 ]
License: Creative Cloud
Language setting: en
Operating system: Windows 10 - Business Edition
Version: 10.0.17134
Application architecture: x64
System architecture: x64
Logical processor count: 6
Processor speed: 3,6 GHz
Built-in memory: 7605,9 MB
Real memory available to Lightroom: 7605,9 MB
Real memory used by Lightroom: 954,6 MB (12,5%)
Virtual memory used by Lightroom: 974,6 MB
GDI objects count: 664
USER objects count: 2297
Process handles count: 1648
Memory cache size: 180,3MB
Internal Camera Raw revision: 1001
Maximum thread count used by Camera Raw: 4
Camera Raw SIMD optimization: SSE2,AVX,AVX2
Camera Raw virtual memory: 326MB / 3802MB (8%)
Camera Raw real memory: 327MB / 7605MB (4%)
System DPI setting: 96 DPI
Desktop composition enabled: Yes
Displays: 1) 2560x1440
Input types: Multitouch: No, Integrated touch: No, Integrated pen: No, External touch: No, External pen: No, Keyboard: No
This topic is closed to new replies. Start a new post to keep the conversation going.

17 replies

johnrellis
Legend
Feb 17, 2019 3:50 AM UTC
This bug was reported fixed in LR 8.2.  Do the menu command Help > System Info and verify you're running 8.2, and if not, do Help > Updates.
Translate
Participant
Feb 17, 2019 3:49 AM UTC


- Import a photo.
- Rename it so it has the letter É in it (like Église, Évènement or CAFÉ)
- On the next import, Lr will assume the photo is a new one ans suggest to import it even if the New Photos Only option is checked. If you reimport it, Lr will then crash as there are two instances of the same photo in the database.

Note that é works fine. The bug only happens with É.
Translate
j.rypacekAuthor
Participating Frequently
Feb 12, 2019 3:34 PM UTC
Hi Rikk, it looks it really works!
Thank you for your cooperation
Translate
Rikk Flohr-Retired
Adobe Employee
Feb 12, 2019 2:43 PM UTC
Greetings

Updates to Lightroom Classic CC (8.2), Lightroom CC for desktop (2.2), Lightroom CC.Mobile (Android and iOS) were released on Monday, February 11, 2019. Please verify that your issue is fixed by the current update.

Thank you for your patience.
Translate
Rikk Flohr: Adobe Photography Org
j.rypacekAuthor
Participating Frequently
Dec 18, 2018 5:06 PM UTC
Still not fixed in 8.1.
Translate
Inspiring
Dec 10, 2018 8:11 AM UTC
Hello,
I've got the same issue with LR 8.0 on French Windows 10.
Do you know in which release this issue will be fixed?
Thanks,
Denis
Translate
j.rypacekAuthor
Participating Frequently
Sep 17, 2018 6:56 PM UTC
Thank you Rikk!
Translate
Rikk Flohr-Retired
Adobe Employee
Sep 17, 2018 6:52 PM UTC
Ok, I was finally able to get it to reproduce. I've logged it for the Lightroom Classic team to fix.
Translate
Rikk Flohr: Adobe Photography Org
johnrellis
Legend
Sep 13, 2018 11:33 PM UTC
Here's a likely explanation of the bug. To do a case-insensitive comparison of the filenames, this code path is calling the Lua function string.lower() rather than LrStringUtils.lower() -- the latter is Unicode-aware, the former is not.   string.lower ("č") produces the intended result (a lower-case string), whereas string.lower ("Á") produces an incorrect result, an upper-case string:



This could be fooling LR into thinking the file Á2.jpg is not duplicate. (I tripped over this gotcha when I first started writing plugins.)

Translate
johnrellis
Legend
Sep 13, 2018 11:19 PM UTC
Your recipe produces the same results on my LR 7.5 / Windows 10 / English computer -- the file Á2.jpg gets imported twice. Here's a screen recording:
https://www.dropbox.com/s/0em2ka8cpoz1k5s/rename-import-duplications.2018.09.13.mov?dl=0


Translate