Bug 453336

Summary: Dolphin mangles tarball filename when using "Compress here"
Product: [Applications] ark Reporter: Fabio Pesari <fpesari>
Component: pluginsAssignee: Ragnar Thomsen <rthomsen6>
Status: RESOLVED FIXED    
Severity: normal CC: aacid, elvis.angelaccio, kfm-devel, nate
Priority: NOR    
Version: 22.04.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 22.08

Description Fabio Pesari 2022-05-03 12:00:02 UTC
SUMMARY
When using the "Compress here" command in Dolphin on a directory, the resulting tarball or zip file has a filename which mangles the original name of the directory if it finishes with a single digit (like test-1.1).

This does not happen for directories whose names finish with more than a digit (like test-1.12).

STEPS TO REPRODUCE
1. Create a directory called test-1.1
2. Right click on it and select Compress > Here

OBSERVED RESULT
The proposed tarball and zip file will respectively have filenames:
test-1.tar.gz
test-1.zip

EXPECTED RESULT
The filenames of the compressed archives should respectively be:
test-1.1.tar.gz
test-1.1.zip

Repeating the experiment with a directory name of test-1.12 generates no issue whatsoever.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Tumbleweed + KDE Plasma
(available in About System)
KDE Plasma Version:  5.24.4
KDE Frameworks Version: 5.93.0
Qt Version: 5.12.2
Comment 1 Nate Graham 2022-05-03 16:54:27 UTC
This is fixed already in 22.08.