When I am in my home folder H, go in folder A, which is in H, and then go back with the button top left or press backspace all files and folders from approximately the middle until folder A are selected. This only happens in my home folder.
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:
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.
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.
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
Differential Revision: https://phabricator.kde.org/D17042
M +6 -1 src/kitemviews/kitemlistselectionmanager.cpp