Bug 199994

Summary: Add "Refresh" action to KDirOperator context menu
Product: [Frameworks and Libraries] frameworks-kio Reporter: Dotan Cohen <kde-2011.08>
Component: generalAssignee: David Faure <faure>
Status: RESOLVED FIXED    
Severity: wishlist CC: kdelibs-bugs, nate
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Unspecified   
Latest Commit: Version Fixed In: 5.46

Description Dotan Cohen 2009-07-13 11:14:09 UTC
Version:            (using KDE 4.2.96)
Installed from:    Ubuntu Packages

Kate's built-in file manager has no folder refresh option. Workaround: create new directory and then delete it.
Comment 1 Andreas Pakulat 2009-07-13 11:24:50 UTC
the filesystem browser is in kdelibs.
Comment 2 Dominik Haumann 2009-07-13 11:56:51 UTC
I'm not sure whether this really is a KDirOperator bug. The reload action exists and you can access it with m_dirOperator->actionCollection()->action("reload").

So it's just a matter for Kate to display this action. You can even trigger it with F5, which does not work in Kate due to a shortcut clash.
Comment 3 Andreas Pakulat 2009-07-13 12:22:37 UTC
That is correct, however the reload option should be in the default context menu, so apps using KDirOperator are not forced to copy the code among them. So lets do it in the central place.
Comment 4 Nate Graham 2018-04-19 21:13:41 UTC
Git commit 5a2c49ae1580ad4fe23255a68b6b2712db1979f2 by Nathaniel Graham.
Committed on 19/04/2018 at 21:13.
Pushed by ngraham into branch 'master'.

Add a "Reload" menu item to KDirOperator's context menu

Summary:
Add a {nav Reload} menu item to `KDirOperator`'s context menu, so clients that don't display a toolbar but might need to refresh views manually (such as Kate's Filesystem Browser view} can do it.
FIXED-IN: 5.46

Test Plan:
Enable Kate's Filesystem Browser plugin and right-click in it:
{F5808015}

It also appears in more common `KDirOperator` clients, such as the open/save dialogs:
{F5808016}

Reviewers: #frameworks, hein

Reviewed By: hein

Subscribers: maximilianocuria, dhaumann, rkflx

Tags: #frameworks

Maniphest Tasks: T8552

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

M  +1    -0    src/filewidgets/kdiroperator.cpp

https://commits.kde.org/kio/5a2c49ae1580ad4fe23255a68b6b2712db1979f2