Bug 418225

Summary: Copying files within Dolphin silently loses tags, ratings and comments
Product: [Applications] dolphin Reporter: tagwerk19
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kfm-devel, nate
Priority: NOR    
Version: 19.12.2   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:

Description tagwerk19 2020-02-26 16:29:25 UTC
SUMMARY:

    Copying a file in Dolphin from one (filesystem) folder to another (filesystem) folder does not copy the 'xattr' tags

STEPS TO REPRODUCE:

    1. Open Dolphin and right click on a file; select "Properties" and open the "Details" tab.

    2. Add a "Tag", a "Comment" and give the file a rating. Click OK to close

    3. Copy the file (a drag-and-copy within Dolphin) to another folder and check the properties of the copied file.

OBSERVED RESULT:

    Attributes such as tags, rating and comment are not copied

EXPECTED RESULT:

    Not sure what I should have expected :-)

    It's clear that a command line 'cp' historically does not copy the xattr. However moving a file (with mv or moving within Dolphin) keeps the details. A drag-and-copy within dolphin from one tag folder to another _keeps_ the existing details and adds the new tag. 'Embedded' attributes (like EXIF data) are always copied as they are part of the file. A drag-and-copy within dolphin however (silently) loses the xattr tags.

    People's "expectations" might be different for the different sorts of information - however if I'd added comments to a file I would 100% expect that these are copied with the file.

DESIRED STATE

    On balance; Dolphin should seek to preserve the xattr on copy (and indeed on backup/archiving)

SOFTWARE/OS VERSIONS:

    Dolphin 19.12.2
    from Neon 5.18

    KDE Plasma 5.18.2
    KDE Frameworks 5.67.0
    Qt 5.14.1
Comment 1 Nate Graham 2020-02-26 18:08:26 UTC

*** This bug has been marked as a duplicate of bug 116617 ***
Comment 2 tagwerk19 2020-02-26 22:00:45 UTC
Hmmm. Seems to be oft reported...

Bug 342152 picks up an issue where moving items between partitions also loses the xattr data. Added a vote...

Looks like there's work here...
    https://phabricator.kde.org/D17816