[dolphin] [Bug 468653] New: [23.04.0] When sorting files by "Created" date, files that are still updating are sorted incorrectly.

Oded Arbel bugzilla_noreply at kde.org
Tue Apr 18 15:15:07 BST 2023


https://bugs.kde.org/show_bug.cgi?id=468653

            Bug ID: 468653
           Summary: [23.04.0] When sorting files by "Created" date, files
                    that are still updating are sorted incorrectly.
    Classification: Applications
           Product: dolphin
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: view-engine: details mode
          Assignee: dolphin-bugs-null at kde.org
          Reporter: oded at geek.co.il
                CC: kfm-devel at kde.org
  Target Milestone: ---

SUMMARY
When using the details view and sorting by the "Created" field (this is how I
like my "Downloads" directory), when a file is being updated continuously (e.g.
it is being downloaded), the "Created" field is showing as empty (while its
"Modified" field is correctly continuously gets updated as "Just now"), and
that file is then sorted last - i.e. as if it was created a very long time ago
- regardless of when it was actually created in regards to other files in the
same folder.

When refreshing the view, either automatically (when Dolphin detects that
another file was created) or manually, the file entry briefly shows the correct
"Created" date and gets sorted correctly and then immediately reverts to the
incorrect behavior.

I will attach a screencast showing the issue.

STEPS TO REPRODUCE
1. Open a Dolphin window to a folder where you can download files to, and has
some files in it.
2. Set details view, show the "Created" field and sort by it, descending.
3. Start downloading a new large file.

OBSERVED RESULT
When the new file is created it is briefly shown at the top of the file list
with a "Created" date of "Just now" and then the date is cleared and it is
moved to the bottom of the file list.

EXPECTED RESULT
The "Created" field should start with "Just now" and then as time goes by it
should be updated accordingly, and the file will be sorted to the top of the
list and stay there until another file is created.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.8

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list