Select item from search window

Authored by gengisdave on Tue, Dec 31, 5:56 PM.


Group Reviewers

When you select an item from the search window but the panel has already the same path, the focus switches but the new item is not selected. This patch set the new item in the folder.

FIXED: [ 401433 ] Highlight/autoselect file issue from "Results" tab in search window
BUG: 401433

Test Plan

Select two item in the search window with the same path, every selection must change accordingly the item selected in the panel.

No regression found in normal panel usage, like filtering and so on.

Diff Detail

R167 Krusader
Lint Skipped
Unit Tests Skipped
gengisdave requested review of this revision.Tue, Dec 31, 5:56 PM
gengisdave created this revision.
asensi accepted this revision as: asensi.Tue, Jan 14, 10:00 PM
asensi added a subscriber: asensi.

That bug has been hindering Krusader users for too long, thanks Davide! :-)

I have tested it and the improvements worked under Kubuntu 18.04 LTS and Kubuntu 19.10, other people can do their checks.

This revision is now accepted and ready to land.Tue, Jan 14, 10:00 PM

Note: In other words, the proposal solves the cases where people e.g. search for a file, press Return (or double-click) on a result, and sometimes that action leads them to that file, and sometimes it doesn't.