Bug 199994 - Add "Refresh" action to KDirOperator context menu
Summary: Add "Refresh" action to KDirOperator context menu
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Unspecified
: NOR wishlist
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-13 11:14 UTC by Dotan Cohen
Modified: 2018-04-19 21:13 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.46
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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