Bug 418590 - Displaying fields and Sorting items in a Tag Folder
Summary: Displaying fields and Sorting items in a Tag Folder
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 19.12.3
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-07 19:36 UTC by tagwerk19
Modified: 2021-03-21 08:21 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Dolphin column view sorted on "Path" (34.41 KB, image/png)
2021-03-21 08:18 UTC, tagwerk19
Details

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