I open up dolphin and navigate to a folder with many subfolders in it. I scroll down to the bottom and click the bottom subfolder, then I hit back. After going back, my scroll position is reset and I am back at the top. Given that this makes me lose my scroll place (which is annoying when you have a thousand folders) and that I think other folder explorers remember position when going back, dolphin should remember it's scroll position.
Thanks for the bug report, but I cannot reproduce the problem. Tried Dolphin 4.12.3 in various view modes, going back using the toolbar button and with Alt+Left, but it always works fine for me.
(In reply to comment #0)
> Reproducible: Always
Then please provide some more details, like the view mode and all other settings that are required to see the bug. When in doubt if your description is detailed enough, try if it is sufficient to reproduce the problem with a new user. Sometimes a screenshot or screencast might also help.
Thanks for your help.
I tested it in a new profile and on my laptop. It happened in all cases, and in any view mode (icon, compact or detail), and happened whether I hit back mouse button, alt+left, or clicked on back icon. Dolphin never remembers the scroll position in any case.
kde Platform Version 4.12.3
Opensuse x64 13.1
I can't reproduce it either (tested in Dolphin 4.12.3, 4.12.80 and master)
When you open a folder (e.g. A) and go back, is this folder (e.g. A) underlined?
I can reproduce this only when the 1st folder has "Show hidden files" enabled.
Step 1: Enable Show Hideen Files in say, home folder.
2: Scroll down, open any folder.
3: click back. We reach the top position in home folder.
When Hidden files is not enabled, clicking on back remembers the scroll position.
Version tested: 4.12.3 on Ubuntu 13.10
@Ashish: Thanks for the info, really helpful! :)
I'll try to reproduce and hopefully fix it, when I'm in front of my machine again.
Can reproduce it on my machine.
Steps are in Ashish's comment. (#5)
Thanks - it's good to know that it's reproducible now :-)
One thing that I have to add after first trying unsuccessfully to reproduce it: It's only reproducible if "Show Hidden Files" is enabled in the folder whose state is to be restored, and disabled (i.e., no hidden files shown) in the previously visited folder.
Git commit 4da1c81d63c19428f81a0af7cb23994c7881a675 by Emmanuel Pescosta.
Committed on 24/04/2014 at 18:16.
Pushed by emmanuelp into branch 'KDE/4.13'.
Scroll to the right position when going back and show hidden files is enabled.
Instead of emitting the directoryLoadingCompleted signal (via slotCompleted) in
KFileItemModel::setShowHiddenFiles directly, we now call
@Frank: Thanks for your help!
M +1 -1 dolphin/src/kitemviews/kfileitemmodel.cpp