Skip to main content
Participating Frequently
August 31, 2018

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

  • August 31, 2018
  • 17 replies
  • 280 views

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 has been closed for replies.

17 replies

johnrellis
Legend
February 17, 2019
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.
Participant
February 17, 2019


- 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 É.
j.rypacekAuthor
Participating Frequently
February 12, 2019
Hi Rikk, it looks it really works!
Thank you for your cooperation
Rikk Flohr_Photography
Community Manager
February 12, 2019
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.
Rikk Flohr: Adobe Photography Org
j.rypacekAuthor
Participating Frequently
December 18, 2018
Still not fixed in 8.1.
Inspiring
December 10, 2018
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
j.rypacekAuthor
Participating Frequently
September 17, 2018
Thank you Rikk!
Rikk Flohr_Photography
Community Manager
September 17, 2018
Ok, I was finally able to get it to reproduce. I've logged it for the Lightroom Classic team to fix.
Rikk Flohr: Adobe Photography Org
johnrellis
Legend
September 13, 2018
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.)

johnrellis
Legend
September 13, 2018
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