Bug 475759 - Incorrect sorting by size for expanded directories after refreshing parent
Summary: Incorrect sorting by size for expanded directories after refreshing parent
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 23.08.2
Platform: Kubuntu Other
: NOR minor
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-17 18:39 UTC by andrei+1_multi.kde
Modified: 2023-12-24 11:05 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description andrei+1_multi.kde 2023-10-17 18:39:57 UTC
SUMMARY
sorting by size for directories does not apply after reload/refresh or when returning to a directory which has sort by size

STEPS TO REPRODUCE
1. go to a directory which has several sub-directories with random number of items in them
2. adjust display style: show additional information size
2. sort the main dir by size asc/desc
3. you can see the sub-directories correctly sorted by number of items inside them
4. refresh/reload main dir

OBSERVED RESULT
the sub-directories are not sorted by size

EXPECTED RESULT
the sub-directories should still be sorted by size as it did in older version of dolphin

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.10

ADDITIONAL INFORMATION
Comment 1 Méven Car 2023-12-23 12:38:10 UTC
I believe this got fixed with https://invent.kde.org/system/dolphin/-/merge_requests/675
Comment 2 andrei+1_multi.kde 2023-12-23 13:51:39 UTC
(In reply to Méven Car from comment #1)
> I believe this got fixed with
> https://invent.kde.org/system/dolphin/-/merge_requests/675

this sort bug is still present in Dolphin Version 23.08.4 on windows.
(using this https://binary-factory.kde.org/job/Dolphin_Release_win64/lastSuccessfulBuild/artifact/dolphin-23.08.4-2127-windows-cl-msvc2019-x86_64.exe)
Comment 3 andrei+1_multi.kde 2023-12-23 13:56:44 UTC
I've reinstalled version 23.04.3 which sorts the directory correctly.
(dolphin-23.04.3-1973-windows-cl-msvc2019-x86_64.exe)
Comment 4 fanzhuyifan 2023-12-24 06:18:53 UTC
(In reply to Méven Car from comment #1)
> I believe this got fixed with
> https://invent.kde.org/system/dolphin/-/merge_requests/675

Yes I can no longer reproduce this on master
Comment 5 andrei+1_multi.kde 2023-12-24 08:45:27 UTC
(In reply to fanzhuyifan from comment #4)
> (In reply to Méven Car from comment #1)
> > I believe this got fixed with
> > https://invent.kde.org/system/dolphin/-/merge_requests/675
> 
> Yes I can no longer reproduce this on master

which version will include this fix?   23.08.05?   23.09?
Comment 6 Felix Ernst 2023-12-24 11:05:16 UTC
(In reply to andrei+kde from comment #5)
> which version will include this fix?   23.08.05?   23.09?

24.02 which will be released by KDE in February and then it makes its way to users at varying speeds depending on where they are getting their software from.