Bug 418225 - Copying files within Dolphin silently loses tags, ratings and comments
Summary: Copying files within Dolphin silently loses tags, ratings and comments
Status: RESOLVED DUPLICATE of bug 116617
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 19.12.2
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-26 16:29 UTC by tagwerk19
Modified: 2020-02-26 22:00 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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