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

            Bug ID: 529227
           Summary: Preserve xattrs by default when creating archives
    Classification: Applications
           Product: ark
      Version First 25.08.1
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

DESCRIPTION

When compressing files with Ark to a .tar (or .tar.gz) archive, metadata (such
as tags, ratings, folder colours assigned in apps such as Dolphin or Gewenview)
stored in xattrs will not preserved. This is a shame, as .tar archives do
support xattrs (use `tar --xattrs`), and KDE apps do a lot of effort to save as
much metadata as possible in those attributes (rather than just in saving them
in the Baloo database).

I don't know any reasons to not preserve xattrs. Because not preserving them
can lead to data loss a user might only discover when it's too late, it
preserving should be the default behaviour, unless someone knows strong reasons
against it.

STEPS TO REPRODUCE
1. Create a file (in dolphin: right click to empty area > new > empty file)
2. Assign a tag to it (in Dolphin side bar or properties > details)
3. Compress using Ark (in Dolphin: right click > compress > [any option here
will do]) 
4. Uncompress (in Dolphin: right click > uncompress > [any option] – choose a
new name to not overwrite the original file)
5. look at the tags (Dolphin sidebar or properties > details) – no tags are
present

OBSERVED RESULT

No tags are present

EXPECTED RESULT

Tags are present

SOFTWARE/OS VERSIONS
Operating System: Fedora 44, Kubuntu 25.10
KDE Plasma Version: 6.7.5, 6.4.5
KDE Frameworks Version: 6.31.0, 6.17.9
Ark version: 26.08.1, 25.08.1

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

Reply via email to