Bug 380225

Summary: [libzip] could Ark preserve file timestamp on extract?
Product: [Applications] ark Reporter: Mathieu Jobin <opensource>
Component: pluginsAssignee: Ragnar Thomsen <rthomsen6>
Status: RESOLVED FIXED    
Severity: wishlist CC: elvis.angelaccio, rthomsen6
Priority: NOR    
Version: 17.04.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 17.08.3

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