https://bugs.kde.org/show_bug.cgi?id=436556

            Bug ID: 436556
           Summary: When Ark overwrites existing files, the dialog says
                    "The files seem identical" even if different
           Product: ark
           Version: 21.04.0
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: elvis.angelac...@kde.org
          Reporter: nyanpas...@tuta.io
                CC: aa...@kde.org, rthoms...@gmail.com
  Target Milestone: ---

SUMMARY
When I open a .7z file in Ark, and drag "filename" into a directory already
containing "filename", it erroneously says the source and destination are
identical, even if they're not.

STEPS TO REPRODUCE
1. Create a file and put it into an archive (.7z works, .tar.gz works).
2. Edit the file on-disk so it differs from the archive (preferably a different
size).
3. Open the archive in Ark, and drag the file out of the archive.

OBSERVED RESULT
The "File Already Exists" dialog says that "This action will overwrite the
destination". However, the displayed Source size matches the destination's file
size, not the actual source (the file in the archive being extracted).
Additionally, the dialog says "The files are identical" even when it is not the
case.

Clicking Overwrite successfully overwrites the destination file with the
(source) file in the archive, changing the contents and size.

If you're extracting a .7z archive, Ark creates a .ark-.(random letters)
folder. If you open Dolphin and shift-drag (move) this file from the .ark-...
folder into the parent folder, the resulting dialog properly shows the files as
different.

EXPECTED RESULT
The "File Already Exists" dialog properly computes the source file size and
whether they're identical.

SOFTWARE/OS VERSIONS
Operating System: Garuda Linux
KDE Plasma Version: 5.21.4
KDE Frameworks Version: 5.81.0
Qt Version: 5.15.2
Kernel Version: 5.11.17-152-tkg-bmq
OS Type: 64-bit
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-6200U CPU @ 2.30GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 520

ADDITIONAL INFORMATION
Hopefully the Qt/KDE packages I'm using come from Arch, and weren't tampered
with by Garuda.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to