Bug 431053 - A Drag-and-Move in Dolphin from one "Tag Folder" to a second acts like a Drag-and-Copy
Summary: A Drag-and-Move in Dolphin from one "Tag Folder" to a second acts like a Drag...
Status: CONFIRMED
Alias: None
Product: baloo-widgets
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 20.11.80
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Stefan Brüns
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-02 09:23 UTC by tagwerk19
Modified: 2021-10-17 15:32 UTC (History)
3 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 2021-01-02 09:23:46 UTC
SUMMARY:

    A Drag-and-Move in Dolphin from one "Tag Folder" to a second acts
    like a Drag-and-Copy

STEPS TO REPRODUCE:

    Create two test files, File1 and File2 and apply tags: Tag1 to File1
    and Tag2 to File2

    In Dolphin, split the screen and open tags:/Tag1 and tags:/Tag2

    Drag File1 from the 'Tag1' folder to 'Tag2'. Dolphin gives
    'Move' or 'Copy' options, chose 'Move'

OBSERVED RESULTS

    The 'Move' acts like a copy. The File1 appears in the 'Tag2' folder
    and is not removed from 'Tag1'

    In terms of xattr, 'Tag2' is added. With getfattr:

    # file: File1
    user.xdg.tags="Tag1,Tag2"

EXPECTED RESULTS

    The file moves to the 'Tag2' folder, disappearing from 'Tag1'

    In terms of xattr, 'Tag2' is added and 'Tag1' is removed.

    # file: File1
    user.xdg.tags="Tag2"

SOFTWARE/OS VERSIONS

    Neon Testing

        Dolphin : 20.12.0
        Plasma : 5.20.4
        Frameworks : 5.78.0
        Qt : 5.15.2
        Filesystem : Ext4
        Kernel : 5.4.0-58-generic 

    and Fedora 33:

        Dolphin : 20.08.03
        Plasma : 5.20.4
        Frameworks : 5.75.0
        Qt : 5.15.2
        Filesystem : BTRFS
        Kernel : 5.9.16-200.fc33.x86_64

ADDITIONAL INFORMATION

    I don't see this behaviour in Fedora 32

        Dolphin : 20.04.01
        Plasma : 5.18.5
        Frameworks : 5.73.0
        Qt : 5.14.2

    Sorry, cannot pin it down further.
Comment 1 tagwerk19 2021-03-01 11:56:57 UTC
Still a thing in Neon Testing
    Plasma : 5.21.1
    Frameworks : 5.80.0
    Qt : 5.15.2

... The 'Move' acts like a copy. The File1 appears in the 'Tag2' folder
    and is not removed from 'Tag1'
Comment 2 Paul Worrall 2021-10-17 15:32:23 UTC
Reproducible on KDE Neon User 5.23.0

I put File1 and File2 in a folder which was an NFS share and got the same behaviour in Dolphin but getfattr didn't show any tags on either file.  (I believe NFS doesn't support xattrs)