Skip to content
  • Miklos Marton's avatar
    Don't block unmounting when terminal panel's cwd is the mountpoint · bd47eb2e
    Miklos Marton authored and Elvis Angelaccio's avatar Elvis Angelaccio committed
    When unmounting a removable media Dolphin checks if there are
    some files open on the device before performing the unmount.
    If the terminal window in dolphin is open and the to be unmounted path is open,
     the unmount process will be blocked.
    
    This patch sets the terminal window current path to the home directory upon unmount request
     if the terminal directory is set to the mount path.
    
    The unmount request could came from two sources:
    
        The user could hit right click on the media in the dolphin's places panel and hit unmount.
        The user could request an unmount from the indicator applet
    
    This patch was originally written by Arjun AK for the kdelibs4 version
    of Dolphin: https://git.reviewboard.kde.org/r/121613/
    
    BUG: 158264
    FIXED-IN: 17.11.80
    
    Differential Revision: https://phabricator.kde.org/D7847
    bd47eb2e