Panel: Do not select .. in a filtered view if there are other entries

Authored by palant on Feb 17 2017, 5:11 PM.

Description

Panel: Do not select .. in a filtered view if there are other entries

Summary: I commonly find myself in this situation when browsing a directory tree: I filter the view to locate a directory, press Right, then filter again to locate another directory and press Right again. Oops - that directory was the only entry, yet Krusader left .. selected so that I'm now back in the parent directory. While one part of the issue here is the visuals on a high-DPI screen, leaving .. selected when filtering just isn't good for the user experience. In particular, Total Commander seems to select the first entry matching the filter.

Reviewers: martinkostolny, Krusader

Reviewed By: martinkostolny, Krusader

Subscribers: abika, martinkostolny

Differential Revision: https://phabricator.kde.org/D4610

Details

Committed
Alexander Bikadorov <alex.bikadorov@kdemail.net>Feb 17 2017, 5:32 PM
Reviewer
Krusader
Differential Revision
D4610: Panel: Do not select .. in a filtered view if there are other entries
Parents
R167:2093079dfb9b: Panel: Go back to use KOpenWithDialog instead of KRun::displayOpenWithDialog…
Branches
Unknown
Tags
Unknown