SUMMARY I set my Pixel 9 Pro to save the RAW file along the JPG. When loading the files into Digikam to rate them, I want to only once rate the same files (JPG + RAW). I do this by grouping them by filename. This works fine on Linux, but fails on MacOS. I cannot add the files to the bug report, as they are too large. But the filenames are like this: PXL_20260228_152016807.RAW-01.COVER.jpg PXL_20260228_152016807.RAW-02.ORIGINAL.dng As said it works fine in Linux STEPS TO REPRODUCE 1. In Album View, select all files which the user want to group by filename 2. Right Click > Group > Group Selected Files by Filename OBSERVED RESULT Linux: works, the RAW and DNG files are grouped together MacOS: no grouping takes place. EXPECTED RESULT Linux: files are grouped together MacOS: files are grouped together SOFTWARE/OS VERSIONS macOS: 26.3.1 KDE Frameworks Version: 6.20 (MacOS) Qt Version: 6.10 (MacOS) ADDITIONAL INFORMATION
No, such filenames don't work under Linux either, because the filename is different (01.COVER != 02.ORIGINAL). We could only compare them using the so-called base name (PXL_20260228_152016807). This isn't a bug, but a feature request. Maik
Would a video help? I just grouped exactly those files yesterdas on Linux. I think I have read somewhere that only the first part of the filename BEFOREjthe dot are grouped, this is why I thought its a bug.
I tested it under Linux with the filenames and the current code also says it cannot work at the moment. QString fname = it->name().left(it->name().lastIndexOf(QLatin1Char('.'))); Maik
Hi Maik, Perhaps the different behavior between Linux FS and macOS FS (as Windows FS) is the non case-sensitive FS ? Gilles
Hi Gilles, No, case sensitivity is irrelevant here, since the filenames in this example are different. We're checking up to the last dot in the filename, meaning we're checking the complete filename. It's not a problem to check only the first dot in the filename and thus use the base filename. The only question is whether this would break the behavior for other users. Maik
Git commit f3a5c941d6e9fc98cb4cc3a6a71744ae42dda99c by Maik Qualmann. Committed on 12/03/2026 at 20:34. Pushed by mqualmann into branch 'master'. use only the base filename to group by filename FIXED-IN: 9.1.0 M +1 -1 NEWS M +2 -2 core/app/items/utils/itemviewutilities.cpp https://invent.kde.org/graphics/digikam/-/commit/f3a5c941d6e9fc98cb4cc3a6a71744ae42dda99c