Version: 1.99 (using Devel) OS: Linux When deleting some files the current item is wrong. Reproducible: Always Steps to Reproduce: - Switch to the details view (the issue occurs also in other views, but is easier to track in the details view) with at least 10 items - Select the first item with the (+) selector - Select item number 3 by pressing SHIFT and clicking on the item (-> item number 3 gets the current item) - Press "Delete" Actual Results: The previous item number 6 gets the new current item (as it actually has the index 3 now) Expected Results: The previous item number 4 should get the new current item (= item 1 after the deletion)
Using Kubuntu 11.10, KDE 4.8, Dolphin 2.0. I confirm the bug. After deleting press Space Bar, you will see that it doesn't select the first element in the list.
Resetting assignee to default as per bug #305719
Please test this patch: https://git.reviewboard.kde.org/r/108356/ Thanks :)
Git commit 14e5ba5bfa7cd11f22134f178bb261c56f927eee by Emmanuel Pescosta. Committed on 14/01/2013 at 20:01. Pushed by emmanuelp into branch 'KDE/4.10'. Select right item as current item (first item after the deletion) after deleting files REVIEW: 108356 FIXED-IN: 4.10 M +23 -19 dolphin/src/kitemviews/kitemlistselectionmanager.cpp M +6 -1 dolphin/src/kitemviews/kitemlistselectionmanager.h M +1 -1 dolphin/src/tests/kitemlistselectionmanagertest.cpp http://commits.kde.org/kde-baseapps/14e5ba5bfa7cd11f22134f178bb261c56f927eee