Bug 476307 - Document list view not sorting in Path/URL order properly
Summary: Document list view not sorting in Path/URL order properly
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: application (show other bugs)
Version: 22.12.3
Platform: Debian stable Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-29 23:18 UTC by Robert Scott
Modified: 2024-04-01 20:36 UTC (History)
0 users

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


Attachments
Displayed document order (35.43 KB, image/png)
2023-10-29 23:18 UTC, Robert Scott
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Scott 2023-10-29 23:18:59 UTC
Created attachment 162708 [details]
Displayed document order

SUMMARY

With the "Document Path" sort order selected, files in a directory tree are shown in an apparently random order.

STEPS TO REPRODUCE
1. Open files in a directory tree in a random order from the filesystem view
2. Observe their order in the Document view (in "Tree Mode")

OBSERVED RESULT

See attached screenshot. This is not an ordering I recognize.

EXPECTED RESULT

nixpkgs-devel
> nixos
> pkgs
> > applications
> > build-support
> > development
> > servers
> > shells
> default.nix

SOFTWARE/OS VERSIONS

Standard Debian Bookworm
KDE Frameworks 5.103.0
Kate 22.12.3
Qt 5.15.8

ADDITIONAL INFORMATION

Related to #435334 ?
Comment 1 Bug Janitor Service 2024-04-01 20:25:02 UTC
A possibly relevant merge request was started @ https://invent.kde.org/utilities/kate/-/merge_requests/1441
Comment 2 Waqar Ahmed 2024-04-01 20:36:52 UTC
Git commit f27b8bd5d0ba692d3839fd8116c274453d63ae59 by Waqar Ahmed.
Committed on 01/04/2024 at 20:24.
Pushed by cullmann into branch 'master'.

Documents: Fix sorting for directories

They were not getting sorted at all if the sort mode was Document Path

M  +3    -6    addons/filetree/katefiletreeproxymodel.cpp

https://invent.kde.org/utilities/kate/-/commit/f27b8bd5d0ba692d3839fd8116c274453d63ae59