Bug 496265

Summary: Compressing a directory with a period in its name sometimes produces an incorrectly named archive
Product: [Applications] ark Reporter: jakubg1.100
Component: pluginsAssignee: Elvis Angelaccio <elvis.angelaccio>
Status: CONFIRMED ---    
Severity: normal CC: akselmo, kfm-devel, nate, rthomsen6
Priority: NOR    
Version: 24.08.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Recording of the bug

Description jakubg1.100 2024-11-14 14:00:26 UTC
Created attachment 175812 [details]
Recording of the bug

SUMMARY
Whenever I'm trying to compress a directory in Dolphin, the character after the period is not present in the archive name. This bug only affects directories with exactly one character after the last period in its name.

STEPS TO REPRODUCE
1. Create a directory with a period (dot, full stop) in its name. Make sure there is exactly one character after the last period, e.g. Lucy_v1.1 .
2. Right click that directory and hover over the "Compress" option.
3. Select one of the compression options. Notice the lack of the period and the character behind.

OBSERVED RESULT
The archive gets created with an incorrect name. In this example, an archive named Lucy_v1.zip will be created.

EXPECTED RESULT
Dolphin should know that we are compressing a directory and should produce an archive called Lucy_v1.1.zip.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 41
KDE Plasma Version: 6.2.3
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0
Kernel Version: 6.11.7-300.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Comment 1 Nate Graham 2024-11-14 19:10:06 UTC
Can reproduce.