Summary: | Going back to home folder selects multiple files when files are sorted by size | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | Roman Gilg <subdiff> |
Component: | panels: folders | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | adam.m.fontenot+kde, aldo.mateli, aspotashev, bugseforuns, frank78ac, joaovms25, n3r0bi0m4n, nate, saeidscorp, sergeos, sjx2170, thomas.surrel, tomas.nackaerts |
Priority: | NOR | ||
Version: | 16.12.2 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/dolphin/6100f66ae2ba5ae50c2fcc263b6faaa695d37948 | Version Fixed In: | 18.12.0 |
Sentry Crash Report: |
Description
Roman Gilg
2015-09-05 00:42:29 UTC
Thanks for the bug report, but I cannot reproduce the problem. What is your Dolphin version? (In reply to Frank Reininghaus from comment #1) > Thanks for the bug report, but I cannot reproduce the problem. What is your > Dolphin version? I did a quick video showing version and error behaviour: https://www.youtube.com/watch?v=GYB07h9ElBg Same problem. Also reproducible when refresh (F5). Debian, KDE 4.14.2, Dolphin 15.04.0 Thanks for the video (the version in the video is 15.08.0). At first I could not reproduce it, but then I noticed that the subfolders in your home folder are not sorted by name. I can reproduce the problem now if I sort by "Size", and I enable "Remeber view properties for each folder". (In reply to Frank Reininghaus from comment #4) > Thanks for the video (the version in the video is 15.08.0). At first I could > not reproduce it, but then I noticed that the subfolders in your home folder > are not sorted by name. > > I can reproduce the problem now if I sort by "Size", and I enable "Remeber > view properties for each folder". Yes, you are right. That's some good detective work right here I would say. :) I just changed my sorting to "By Name" and the error is gone. Reproducible with dolphin 17.12 on Arch Linux. I've got nearly the same problem with Dolphin 17.12.3 on Kubuntu 18.04 Reproducible with dolphin 18.08.2. Bug 399886 seems related/duplicate. Operating System: Arch Linux KDE Plasma Version: 5.14.1 Qt Version: 5.12.0 beta2 KDE Frameworks Version: 5.51.0 *** Bug 399886 has been marked as a duplicate of this bug. *** *** Bug 400086 has been marked as a duplicate of this bug. *** Same here. Dolphin 18.04.3 on Gentoo Linux. Confirming here as well, 18.08.2 Earlier reports claim this only only happens with the home folder, but I don't believe this is true. It should happen when switching to any folder that is the *parent* of the previous folder. So for example, I see the bug when I sort Downloads by size, visit a subfolder of Downloads, then go back to Downloads. I believe this is a bug with the intended behavior, which is to select the previous folder when switching to a parent folder. *** Bug 385588 has been marked as a duplicate of this bug. *** Git commit 6100f66ae2ba5ae50c2fcc263b6faaa695d37948 by Thomas Surrel. Committed on 01/12/2018 at 20:18. Pushed by thsurrel into branch 'Applications/18.12'. Fix selection when navigating back, with size sorting. Summary: KItemListSelectionManager::itemsMoved (called when sorting by size) was re-activating anchor selection regardless if we actually were doing an anchored selection. This was leading to an incorrect selection when navigating back. Test Plan: In any folder, sort by size then move to a subfolder. Navigate back to the parent folder: only the parent folder should be selected. Reviewers: #dolphin, elvisangelaccio Reviewed By: #dolphin, elvisangelaccio Subscribers: elvisangelaccio, broulik, kfm-devel Tags: #dolphin Differential Revision: https://phabricator.kde.org/D17042 M +6 -1 src/kitemviews/kitemlistselectionmanager.cpp https://commits.kde.org/dolphin/6100f66ae2ba5ae50c2fcc263b6faaa695d37948 |