Bug 380225 - [libzip] could Ark preserve file timestamp on extract?
Summary: [libzip] could Ark preserve file timestamp on extract?
Status: RESOLVED FIXED
Alias: None
Product: ark
Classification: Applications
Component: plugins (show other bugs)
Version: 17.04.1
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: Ragnar Thomsen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-26 13:01 UTC by Mathieu Jobin
Modified: 2017-10-16 17:52 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 17.08.3


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Jobin 2017-05-26 13:01:54 UTC
when extracting a zip archive using ark.
i can see date/times in ark gui window.
but on disk, extracted files will have the date/time they were extracted.

I'd love to see ark preserving original date/time on extract.

thank you
Comment 1 Elvis Angelaccio 2017-08-08 20:20:05 UTC
This is a missing feature of the new libzip plugin. As temporary workaround, you can disable it in Settings -> Configure Ark -> Plugin Settings.
Comment 2 Ragnar Thomsen 2017-10-16 17:52:36 UTC
Git commit b99bf9620f124f75e32f4e9de2b90f58cbffc611 by Ragnar Thomsen.
Committed on 16/10/2017 at 17:50.
Pushed by rthomsen into branch 'Applications/17.08'.

libzip: Preserve modtime when extracting

Set modtime for files and directories when extracting. Since Qt doesnt
have api for setting modtime, we use utime().
FIXED-IN: 17.08.3
Differential Revision: D8299

M  +133  -99   plugins/libzipplugin/libzipplugin.cpp

https://commits.kde.org/ark/b99bf9620f124f75e32f4e9de2b90f58cbffc611