Summary: | dolphin scrambles files and folders needlessly before sorting them correctly | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | gustavo |
Component: | view-engine: general | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | cfeck, emmanuelpescosta099, kde |
Priority: | NOR | ||
Version: | 2.0 | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kde-baseapps/d70a4811807776966c3241a72121242f4d1eaee8 | Version Fixed In: | 4.11.0 |
Sentry Crash Report: |
Description
gustavo
2012-07-21 02:30:00 UTC
I can't confirm in Dolphin 2.1 and I also can't remember this to occur in 2.0. Which KDE version are you using? This is probably with "Sort by Type" mode, which got improved a bit in Dolphin 2.1. I'm using KDE 4.8.4. And I do use "sort by type". Thanks for the bug report! I can't reproduce in master with "Sort by type". Here, it still initiates a re-sort, whenever the directory notification signal is sent (i.e. whenever a file is modified on the file system). If you have a background process doing work (e.g. I am compiling, and there are always changes in /tmp), then Dolphin will re-sort many times when opening a folder, even if that folder is not "/tmp". Resetting assignee to default as per bug #305719 Git commit 735c046ddac45f729e52dda38f7152b62c304bb3 by Frank Reininghaus. Committed on 18/06/2013 at 17:39. Pushed by freininghaus into branch 'KDE/4.10'. Ensure that the "Sort by Type" setting is respected Before this commit, switching from, e.g., "Sort by Name" to "Sort by Type" sometimes had no effect until the view was refreshed. The problem was that the re-sorting was triggered before the type information was actually added to the model. Related: bug 312014 FIXED-IN: 4.10.5 REVIEW: 111004 M +3 -3 dolphin/src/kitemviews/kfileitemmodel.cpp M +42 -1 dolphin/src/tests/kfileitemmodeltest.cpp http://commits.kde.org/kde-baseapps/735c046ddac45f729e52dda38f7152b62c304bb3 Git commit d70a4811807776966c3241a72121242f4d1eaee8 by Emmanuel Pescosta. Committed on 20/06/2013 at 17:16. Pushed by emmanuelp into branch 'master'. Avoid a unnecessary resorting when items are changed, only resort the items when the sorting role value is changed. FIXED-IN: 4.11 REVIEW: 111146 M +12 -5 dolphin/src/kitemviews/kfileitemmodel.cpp http://commits.kde.org/kde-baseapps/d70a4811807776966c3241a72121242f4d1eaee8 Git commit 9cbca7241f55da4c77d037dba39c36403b9c762b by Emmanuel Pescosta. Committed on 24/08/2013 at 16:13. Pushed by emmanuelp into branch 'KDE/4.11'. Make use of the "resort all items timer" in KFileItemModel::slotRefreshItems to avoid too much expensive resorting calls, in case of many refresh items signals. Followup to patch 111146 Related: bug 323789, bug 299565 FIXED-IN: 4.11.1 REVIEW: 111195 M +1 -1 dolphin/src/kitemviews/kfileitemmodel.cpp http://commits.kde.org/kde-baseapps/9cbca7241f55da4c77d037dba39c36403b9c762b |