Bug 416493 - Dragging a read-only file into a tags folder fails silently
Summary: Dragging a read-only file into a tags folder fails silently
Status: CONFIRMED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 19.12.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
: 416634 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-01-20 10:10 UTC by tagwerk19
Modified: 2020-07-06 09:45 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-01-20 10:10:24 UTC
SUMMARY

    Items can be dragged-and-copied in Dolphin into a 'Tag' folder and this adds the given tags to items. This works for single or collections of items.

    If dragging a read-only file (0400 permissions), the file can be dragged but the details for the file (as examined by getfattr -d) do not change.  The file does not appear in the 'Tag' folder. No error is given

STEPS TO REPRODUCE:

    Observed with a read-write and a read-only file, with Dolphin in split screen mode

    1. Assign a tag 'mytag' to the read-write file, open "All tags" and then the "mytag" folder (tags:/mytag/). The read-write file should be seen there.

    2. Drag-and-copy the read-only file from the filesystem view to the mytag folder

OBSERVED RESULT:

    The file did not appear in the 'mytag' folder. No error message is given

    It is possible to confirm that the tag has not been added with "getfattr -d ..."

EXPECTED RESULT:

    Dolphin should give an error that it was not able to change the properties of the item

ADDITIONAL INFORMATION:

    If a drag-and-move is tried, rather than a drag -and-copy, the item disappears from the source folder (as if the move is successful) and then reappears again (potentially only after an explicit F5 refresh)

    The same behaviour is seen if the item is read-only as it is owned by someone else, with for example 0640 permissions.


SOFTWARE/OS VERSIONS

    Dolphin 19.12.1
    from Neon 5.17

    KDE Plasma Version:  5.17.5
    KDE Frameworks Version: 5.66.0
    Qt Version: 5.13.2
Comment 1 Nate Graham 2020-01-23 16:05:21 UTC
*** Bug 416634 has been marked as a duplicate of this bug. ***
Comment 2 tagwerk19 2020-07-06 09:45:40 UTC
I'd like to "ping" this...

... assuming that's appropriate behaviour here

This has caught me several times, each time causing me to scratch head and wonder until I remember.

I download files from a camera (that get copied "read only") and then blithely drag the photos to various tag folders. No errors are given during this process but at some point I realise the photos are not appearing in the tag folder.

Still an issue with Fedora 32. Checked with Neon Unstable, ditto...

Equivalent to Gwenview Bug 416258 but for Dolphin