Summary: | Cannot drag-and-drop files from tar.gz within an epk archive | ||
---|---|---|---|
Product: | [Applications] ark | Reporter: | Elvis Angelaccio <elvis.angelaccio> |
Component: | general | Assignee: | Elvis Angelaccio <elvis.angelaccio> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kde, rakuco, rthomsen6, simonandric5 |
Priority: | NOR | ||
Version: | 16.04.3 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/ark/bb9ede753623f7d3958f7a78985bb4142fbc0bb0 | Version Fixed In: | 16.08.2 |
Sentry Crash Report: | |||
Attachments: | test file |
Description
Elvis Angelaccio
2016-08-19 09:45:00 UTC
Created attachment 100681 [details]
test file
epk files are basically renamed .deb files, but I can't reproduce it with an actual .deb archive. Git commit bb9ede753623f7d3958f7a78985bb4142fbc0bb0 by Ragnar Thomsen. Committed on 01/10/2016 at 19:24. Pushed by rthomsen into branch 'Applications/16.08'. Fix drag-and-drop extraction of parentless files In some archives parent folders of some files might not be part of the archive themselves, i.e. the archive does not contain separate entries for them. In this case ArchiveModel creates ArchiveDirNodes for the folders. However, the FileName and InternalID properties of these folders do not get a trailing slash. This results in faulty root nodes leading to e.g. broken drag-n-drop extraction of files within these folders. This diff simply appends a traling slash to the properties in ArchiveModel::parentFor(). FIXED-IN: 16.08.2 Differential Revision: D2909 M +1 -1 part/archivemodel.cpp http://commits.kde.org/ark/bb9ede753623f7d3958f7a78985bb4142fbc0bb0 |