Bug 453336 - Dolphin mangles tarball filename when using "Compress here"
Summary: Dolphin mangles tarball filename when using "Compress here"
Status: RESOLVED FIXED
Alias: None
Product: ark
Classification: Applications
Component: plugins (show other bugs)
Version: 22.04.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Ragnar Thomsen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-03 12:00 UTC by Fabio Pesari
Modified: 2022-05-03 16:54 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 22.08


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.