]> cloud.milkyroute.net Git - dolphin.git/commit
Select and scroll to the file for "Open path" and "Open Path in New Window" operations
authorNathaniel Graham <nate@kde.org>
Mon, 26 Mar 2018 00:06:46 +0000 (18:06 -0600)
committerNathaniel Graham <nate@kde.org>
Mon, 9 Apr 2018 23:02:09 +0000 (17:02 -0600)
commit9536d1170a9ffa787b6a9809b2600c669d60d498
treec20fe0bd97ca9a37f9533cf8d1bf28bdb2d01140
parentb12a7b0f24d5960b0fbf26d7ccc37605c5b03c34
Select and scroll to the file for "Open path" and "Open Path in New Window" operations

Summary:
After performing a search and using  the "Open path" or "Open Path in New Window"  present in the context menu, make sure the file is selected and visible in the resulting view.

Cannot implement the same fix for "Open Path in New Tab" because of a limitation in how the contents of inactive tabs are rendered; will need to fix that separately in another patch.

BUG: 377510

Test Plan: Search for an item, and choose {nav Open Path} or {nav Open path in new window}

Reviewers: #dolphin, elvisangelaccio

Reviewed By: #dolphin, elvisangelaccio

Subscribers: elvisangelaccio, broulik

Differential Revision: https://phabricator.kde.org/D11703
src/dolphinmainwindow.cpp