Version: unspecified (using KDE 4.6.2) OS: Linux When some files and or folders are selected and the user clicks the "Preview" button, the selection is kept after the view is updated. However, if the user clicks "Preview" again, to disable it, the selection is cleared. Dolphin should be consistent in this behaviour and, in my opinion, not clearing the selection is the most appropriate option. Reproducible: Always Steps to Reproduce: 1. Open Dolphin and select some files. 2. Click Preview to activate it. 3. Notices that the selection is kept. 4. Click Preview to disable it. Actual Results: The selection is cleared. Expected Results: The selection should not be cleared. OS: Linux (x86_64) release 2.6.35-28-generic Compiler: cc
Thanks for the bug report! I can confirm the issue in master.
The issue has the same root cause like bug 270437 - will try to fix it during this week.
Git commit 41854146040f8638fffb13b20a75f6ecda2837a6 by Peter Penz. Committed on 08/04/2011 at 20:52. Pushed by ppenz into branch 'master'. KFilePreviewGenerator: Prevent unnecessary reloading of directory When turning off previews the reloading of the directory is unnecessary and has side effects: - The selection gets cleared - The position of the view might get reset BUG: 270437 BUG: 270435 FIXED-IN: 4.7.0 M +17 -13 kfile/kfilepreviewgenerator.cpp http://commits.kde.org/kdelibs/41854146040f8638fffb13b20a75f6ecda2837a6