]> cloud.milkyroute.net Git - dolphin.git/commit
Sync terminal with KIOFuse mount when browing remote directories
authorAlexander Saoutkin <a.saoutkin@gmail.com>
Wed, 25 Mar 2020 20:17:13 +0000 (20:17 +0000)
committerAlexander Saoutkin <a.saoutkin@gmail.com>
Tue, 7 Apr 2020 17:29:22 +0000 (18:29 +0100)
commit5351db95c6460b568052f23399e0ea9b4a02d9b4
treeac344dec430f784408d8748d66b10659bf1d9a0e
parent180b7cb376d822a34d92bac45f415981f731da6d
Sync terminal with KIOFuse mount when browing remote directories

Summary:
Adds the capability to sync the terminal with a KIOFuse mount if the URL is remote.
Partly based on the existence of another DBus currenly in review:
https://invent.kde.org/kde/kio-fuse/-/merge_requests/21

Syncing works in both "directions". Changing the URL to a remote URLin the
DolphinView will change the URL in the terminal to the KIOFuse local path equivalent.
Conversely changing the URL in the terminal to one that happens to be in a KIOFuse
mount will change the URL in the DolphinView to the remote URL equivalent.

Test Plan:
Manual testing (see video in comments).
1. Checking that changing directory in DolphinView from remote/local to local doesn't
cause any regressions.
2. Checking that changing directory in terminal from local to local (but not in
KIOFUse mount) doesn't cause any regressions.
3. Checking that changing directory in DolphinView from remote/local to remote
correctly changes URL in terminal to KIOFuse equivalent.
4. Checking that changing directory in terminal from local to KIOFuse path
correctly changes the URL in the DolphinView to the remote equivalent.
5. Checking the KIOFuse not being installed doesn't cause any regressions.
6. Changing directories very quickly does not cause any slowdown.

Reviewers: #dolphin, fvogt, elvisangelaccio

Reviewed By: #dolphin, fvogt, elvisangelaccio

Subscribers: elvisangelaccio, fvogt, kfm-devel, ngraham

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D28290
src/CMakeLists.txt
src/panels/terminal/org.kde.KIOFuse.VFS.xml [new file with mode: 0644]
src/panels/terminal/terminalpanel.cpp
src/panels/terminal/terminalpanel.h