Bug 410991

Summary: Wrong date and size of source in warning message box if target file exists
Product: [Applications] ark Reporter: kapfell
Component: generalAssignee: Elvis Angelaccio <elvis.angelaccio>
Status: RESOLVED DUPLICATE    
Severity: minor CC: bugseforuns, rthomsen6
Priority: NOR    
Version: 17.12.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screen shot nof ark warning message box

Description kapfell 2019-08-16 18:18:46 UTC
Created attachment 122183 [details]
Screen shot nof ark warning message box

SUMMARY

In the warning message box  "File Already Exists - Ark" always the same date and size 
information is shown for the source and target file, even if their true sizes differ. 

STEPS TO REPRODUCE
# Create a tar archive from a 10 kByte file, remove it and create another 1 kByte 
# file using the same name:
  dd if=/dev/urandom of=sample.txt bs=10k count=1        
  tar --remove-files -cvzf sample.tar.gz sample.txt    
  dd if=/dev/urandom of=sample.txt bs=1k count=1
# open archive sample.tar.gz in Ark and click
  Extract -> Extract

OBSERVED RESULT
Warning message window with source and destination file 'sample.txt' both 
have the same date and a size of 1.0 KB.

EXPECTED RESULT
Warning message window with source file 'sample.txt' showing the correct 
date and a size of 10.0 KB.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Leap 15.0
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 5.45.0
Qt Version: 5.9.4

ADDITIONAL INFORMATION
Comment 1 Patrick Silva 2019-08-17 02:33:39 UTC

*** This bug has been marked as a duplicate of bug 403146 ***