┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/kitemviews/private/kitemlistkeyboardsearchmanager.cpp
AgeCommit message (Collapse)Author
2012-04-25When the current item is removed, make -1 the current index temporarilyFrank Reininghaus
This fixes two problems: 1. KItemListKeyboardSearchManger can cancel the current search when a new folder is opened (note that this action removes the current item from the view). 2. The view can underline the new current item (which is the item that used to be below the removed item). Note that this did not work before because the view did not receive a currentChanged() signal in this case and therefore did not update the "current item" status of the new current item. CCBUG: 297488 CCBUG: 298782 REVIEW: 104709 (cherry picked from commit 68ce395a192362969783615e50a8004d3029eb7e)
2012-04-25When Esc is pressed, clear the selection and cancel the keyboard searchFrank Reininghaus
This patch restores the Dolphin 1.x behaviour that Esc clears the selection (Dolphin 2.0 did not have an easy way to clear the selection using the keyboard so far). Moreover, Esc now also cancels the current keyboard search. This fixes the problem that the only way to cancel the search is to wait until the timeout has expired. CCBUG: 298742 CCBUG: 297458 (cherry picked from commit d3b1312d3edc615b03fb17c1a5fa62ccb61cdabd)
2012-04-25Reduce the timeout in KItemListKeyboardSearchManager to 1 secondFrank Reininghaus
It turned out that the longer timeout, introduced recently in 02eab49b2de51c31fe46a0d9501327b579b3648e, not only made multi-letter keyboard searches easier, but also had some unwanted side effects. I hope that 1 second, which is between the previous value of 5 seconds and the pre-KDE 4.8.2 value of 0.4 seconds, is a compromise which will fit most users' needs. We will try to improve the situation further in future releases by providing visual feedback about the keyboard search, but such a change would not be suitable for a bug-fix release. (cherry picked from commit d8732a59d3b1f2d0bebf43f294df7e9f333abde4)
2012-04-11KItemViews: Internal directory restructurationPeter Penz
- Move all private headers from the kitemviews-directory into the 'private' subdirectory. - Get rid of DolphinDirLister and just use a directory-lister internally in KFileItemModel. - Minor interface-cleanups for signals