Bug 416634

Summary: Copying file into newly created/empty "Tag" folder fails silently
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.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screen recording

Description tagwerk19 2020-01-23 08:01:17 UTC
Created attachment 125316 [details]
Screen recording

SUMMARY:

    It is possible to create a "new folder" when viewing a tag folder in Dolphin. This folder is empty as there are no files on the filesystem with the given tag; it is a construct within Dolphin. It gives an error when opened, nevertheless Dolphin allows you to drag-and-copy files into it but the copy appends a "null" tag to the file

STEPS TO REPRODUCE:

    Observed with two files tagged with 'mytag':

    1. On a newly launched Dolphin, open the "All tags" (the tags:/ folder)

    2. Right click to get the pop up menu and "Create New", and choose "Folder"

    3. Give a name not used before, say "New Folder". The "Tag" folder will appear

    4. Click on the folder to open it, you get a "Could not enter folder tags:/New Folder" error message

    5. Ignoring the error message (!), drag-and-copy a file into the "New Folder" view...

OBSERVED RESULTS:

    The dragged-and-copied file does not appear in the "New Folder" view (see attached)

    A "getfattr -d ..." of the file shows the tags field with a trailing comma (the tag details have been updated but by appending a "null" tag):

    # file: B.png
    user.xdg.tags="mytag," 

EXPECTED RESULTS:

    If should be possible to drag-and-copy items into a newly created/empty folder and have this action add the tag. 

DESIRED STATE:

    "Empty", or newly created, tags should have an intermediate term existence, it should be possible to create a tag (by creating a new folder in the Tag view) and having it behave in a stable, predictable manner

SOFTWARE/OS VERSIONS

    Dolphin 19.12.1
    from Neon 5.17.5

    KDE Plasma 5.17.5
    KDE Frameworks 5.66.0
    Qt 5.13.2

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2020-01-23 16:05:21 UTC

*** This bug has been marked as a duplicate of bug 416493 ***
Comment 2 tagwerk19 2020-01-23 21:32:16 UTC
There is a difference in behaviour, in 416493 the copied file is read-only, in this case the file is read-write.

In 416493 the "Tag" folder exists (as the tag has been used), here the folder has just been created and is empty.

Maybe closely aligned issues but the situations differ slightly