]> cloud.milkyroute.net Git - dolphin.git/commit
Show folder previews for items that have a Places Panel entry
authorNathaniel Graham <nate@kde.org>
Mon, 2 Apr 2018 22:52:08 +0000 (16:52 -0600)
committerNathaniel Graham <nate@kde.org>
Tue, 3 Apr 2018 22:39:32 +0000 (16:39 -0600)
commit993c47f30923e39b33dbd47a2a62e3dde5ccdbe4
tree723e503e97c51eac55f78bb47b641beb4f265db9
parenteab70b2ac4a8be16a05a015f973527686ed65ae7
Show folder previews for items that have a Places Panel entry

Summary:
informationpanelcontent.cpp currently has an explicit check for whether or not a URL has a Places panel entry, and if it does, no folder preview is generated. It's not clear why this is done, but it was reported as a bug: https://bugs.kde.org/show_bug.cgi?id=392621. Removing the logic fixes the bug.

BUG: 392621
FIXED-IN: 18.08.0

Test Plan:
Before:
{F5782793}

After:
{F5782794}

Detailed test procedure:
- Open the Information Panel
- Turn on previews
- Put some pictures in ~/Pictures
- Hover over it and see that the Information Panel shows a preview of its contents
- Add ~/Pictures to the Places panel
- Hover over it again and see that previews are no longer displayed
- Apply the patch and restart Dolphin
- Hover over it once more and see that there are now previews, yay!

Reviewers: #dolphin, markg, elvisangelaccio

Reviewed By: markg, elvisangelaccio

Subscribers: markg, broulik

Differential Revision: https://phabricator.kde.org/D11894
src/panels/information/informationpanelcontent.cpp
src/panels/information/informationpanelcontent.h