Fix drag-and-drop extraction of entries from certain archive formats
ClosedPublic

Authored by rthomsen on Oct 1 2016, 3:29 PM.

Details

Summary

When listing certain archive formats e.g. AppImage and RPM, libarchiveplugin outputs no trailing slash for folders. This diff adds a trailing slash to folders that miss one. It's done in ArchiveModel::newEntry() so it's done for all plugins.

Meant for Applications/16.08 branch.

Test Plan

Drag-and-drop extract a file in a subfolder in the mentioned archive types.

Diff Detail

Repository
R36 Ark
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
rthomsen updated this revision to Diff 7026.Oct 1 2016, 3:29 PM
rthomsen retitled this revision from to Fix drag-and-drop extraction of entries from certain archive formats.
rthomsen updated this object.
rthomsen edited the test plan for this revision. (Show Details)
rthomsen added a reviewer: elvisangelaccio.
rthomsen set the repository for this revision to R36 Ark.
rthomsen added a project: Ark.
Restricted Application added a subscriber: kde-utils-devel. · View Herald TranscriptOct 1 2016, 3:29 PM
rthomsen updated this object.Oct 1 2016, 3:29 PM
elvisangelaccio accepted this revision.Oct 1 2016, 5:50 PM
elvisangelaccio edited edge metadata.
This revision is now accepted and ready to land.Oct 1 2016, 5:50 PM
rthomsen updated this object.Oct 1 2016, 9:47 PM
rthomsen edited edge metadata.