https://bugs.kde.org/show_bug.cgi?id=457269
Bug ID: 457269 Summary: Common prefix finder does not exclude special characters Product: ark Version: 22.04.3 Platform: Archlinux Packages OS: Linux Status: REPORTED Severity: minor Priority: NOR Component: general Assignee: elvis.angelac...@kde.org Reporter: f...@fkfd.me CC: aa...@kde.org, rthoms...@gmail.com Target Milestone: --- SUMMARY When creating an archive of several files, ark will try to find a common prefix of all filenames. If the prefix is at least 5 characters long, the archive will be named "<prefix>.tar.gz" or "<prefix>.zip" by default. However, if the prefix already ends with a dot, the archive will be something like "files..tar.gz" with two dots. The same goes for '_', '-', and perhaps many other special characters. STEPS TO REPRODUCE 1. Create two files named "abcde.c" and "abcde.h" in dolphin 2. Select both, then right click 3. Hover on "Compress" OBSERVED RESULT context menu gives "abcde..tar.gz" and "abcde..zip" (two dots) EXPECTED RESULT sensible filenames like "abcde.tar.gz" SOFTWARE/OS VERSIONS Linux/KDE Plasma: KDE Plasma Version: 5.25.3 KDE Frameworks Version: 5.96.0 Qt Version: 5.15.5 ADDITIONAL INFORMATION I commented this under #451203 (https://bugs.kde.org/show_bug.cgi?id=451203#c3), but felt it was off-topic so I went here to file a separate bug entry. I am writing a patch right now. -- You are receiving this mail because: You are watching all bug changes.