Bug 418590

Summary: Displaying fields and Sorting items in a Tag Folder
Product: [Applications] dolphin Reporter: tagwerk19
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: kfm-devel
Priority: NOR    
Version: 19.12.3   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=434565
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Dolphin column view sorted on "Path"

Description tagwerk19 2020-03-07 19:36:21 UTC
SUMMARY:

    In Dolphin, when opening a folder, it's possible to pick and choose columns to be displayed and to be able to sort items based on that information.

    When opening a tag folder (for example tags:/mytag), fields that are set in the extended attributes can be selected as columns but many of these fields are not populated

    For example, comments are shown in a detailed list view, of say, ~/Pictures. However, if the files are tagged, say with 'mytag', and Dolphin is displaying tags:/mytag, the comments are not displayed. Similarly for Tags (see Bug 356062), Path, Rating, Link Destination.

    The implication is that if these properties are not displayed, then sorting on these values is not possible.

STEPS TO REPRODUCE:

    1. Create three folders under ~/Pictures: 2020-02-10, 2020-02-11 and 2020-02-12

    2. Create image files in these folders, imagine they have come from a couple of different cameras that give their images different format names. Here:

        ~/Pictures/2020-02-10/image1.png
        ~/Pictures/2020-02-11/picture1.png
        ~/Pictures/2020-02-11/picture2.png
        ~/Pictures/2020-02-12/image2.png

    3. Tag all these images with a tag "mytag"

    4. Open the tags:/mytag/ folder and attempt to sort the images in the above sequence

OBSERVED RESULTS:

    There's not an option that will necessarily do this. 'Sort by name' will order the 'image' files before the 'picture' files, a 'sort by create date' sorts by the time the file was copied onto (or subsequently edited on) the computer, not all files have EXIF data.

DESIRED STATE:

    The desired state is that files selected by a tag can be sorted by their (on filesystem) directory/filename.
    Ideally it should be possible to display a 'canonical directory/filename'. There are options to show the 'Path' or 'Link Destination' but these are not populated, I assume 'Path' ought to show the 'tags:/mytag' and 'Link Destination' potentially ~/Pictures/2020-02-10/image1.png. I've not found any documentation that defines that.

SOFTWARE/OS VERSIONS:

    Dolphin 19.12.3
    from Neon 5.18

    KDE Plasma 5.18.2
    KDE Frameworks 5.67.0
    Qt 5.14.1
Comment 1 tagwerk19 2020-03-09 06:47:39 UTC
Maybe some overlap with Bug 406506 in terms of populating properties (don't think a duplicate)
Comment 2 tagwerk19 2020-07-06 11:09:10 UTC
The only practical solution I've found here is to prepend an ISO date to the files, so image1.png is renamed to 2020-02-10-image1.png (and so on for all the files..)
Comment 3 tagwerk19 2021-03-21 08:18:00 UTC
Created attachment 136908 [details]
Dolphin column view sorted on "Path"

Someone, somewhere, has silently sorted this...

Checked with...

    Neon Testing
    Dolphin : 20.12.3
    Plasma : 5.21.3
    Frameworks : 5.81.0
    Qt : 5.15.2
Comment 4 tagwerk19 2021-03-21 08:21:20 UTC
Many Thanks!

... Closing as "Resolved, Fixed"