Bug 375676 - Documents panel - Files not sorted correctly since KF5
Summary: Documents panel - Files not sorted correctly since KF5
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 16.08
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-28 18:33 UTC by jcdole
Modified: 2017-04-14 10:45 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jcdole 2017-01-28 18:33:10 UTC
What should be seen in document panel
yast_10_create_main_repos
yast_11_create_my_repos
yast_11a_create_my_package_repo
yast_13_list_repos_enabled
yast_14_remove_main_repos
yast_15_remove_my_repos
yast_16_activate_main_repos_only
yast_17_activate_my_repos
yast_18_deactivate_main_repos
yast_19_deactivate_my_repos
yast_20_reinstall_brother_printer
yast_21_reinstall_samsung_printer
yast_22_reinstall_epson_scanner
yast_26_more_install_software
yast_27_download_individual_file
yast_27_download_individual_file_FLAG
yast_29_complementary_task
yast_30_install_systemd_files
yast_31_remove_systemd_files
yast_32_add_printers_and_scanners
yast_100_download_current_kernel
yast_103_install_freenx
yast_106_install_virtualbox
yast_109_install_skype
yast_150_install_mysql_mariadb
yast_151_de-install_mysql_mariadb
yast_152_install_bacula
yast_250_install_mondo_rescue
yast_251_de-install_mondo_rescue

---

What I get

yast_10_create_main_repos
yast_100_download_current_kernel
yast_103_install_freenx
yast_106_install_virtualbox
yast_109_install_skype
yast_11_create_my_repos
yast_11a_create_my_package_repo
yast_13_list_repos_enabled
yast_14_remove_main_repos
yast_15_remove_my_repos
yast_150_install_mysql_mariadb
yast_151_de-install_mysql_mariadb
yast_152_install_bacula
yast_16_activate_main_repos_only
yast_17_activate_my_repos
yast_18_deactivate_main_repos
yast_19_deactivate_my_repos
yast_20_reinstall_brother_printer
yast_21_reinstall_samsung_printer
yast_22_reinstall_epson_scanner
yast_250_install_mondo_rescue
yast_251_de-install_mondo_rescue
yast_26_more_install_software
yast_27_download_individual_file
yast_27_download_individual_file_FLAG
yast_29_complementary_task
yast_30_install_systemd_files
yast_31_remove_systemd_files
yast_32_add_printers_and_scanners

yast_100_download_current_kernel is "bigger" than yast_11_create_my_repos
And then should be listed after it.
Comment 1 Wolfgang Bauer 2017-04-14 10:45:04 UTC
Git commit eb9cab2e55ba9b7f9b86577ba12f673c40e07e67 by Wolfgang Bauer.
Committed on 14/04/2017 at 10:43.
Pushed by wbauer into branch 'Applications/17.04'.

Enable numericMode for sorting document list in filetree

Turns on "natural" sorting for the document list in the filetree addon,
 so that e.g. 10 comes after 9, not before.
That's how the KDE4 version behaved too.
FIXED-IN: 17.04.1
Differential Revision: https://phabricator.kde.org/D5448

M  +1    -0    addons/filetree/katefiletreeproxymodel.cpp

https://commits.kde.org/kate/eb9cab2e55ba9b7f9b86577ba12f673c40e07e67