Skip to content
  • Alexander Saoutkin's avatar
    Sync terminal with KIOFuse mount when browing remote directories · 5351db95
    Alexander Saoutkin authored
    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
    5351db95