https://bugs.kde.org/show_bug.cgi?id=158264

Elvis Angelaccio <elvis.angelac...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
   Version Fixed In|                            |17.11.80
      Latest Commit|                            |https://commits.kde.org/dol
                   |                            |phin/bd47eb2e6d80315115bb3f
                   |                            |58987162fcb4911b10
         Resolution|---                         |FIXED

--- Comment #33 from Elvis Angelaccio <elvis.angelac...@kde.org> ---
Git commit bd47eb2e6d80315115bb3f58987162fcb4911b10 by Elvis Angelaccio, on
behalf of Miklos Marton.
Committed on 12/10/2017 at 21:21.
Pushed by elvisangelaccio into branch 'master'.

Don't block unmounting when terminal panel's cwd is the mountpoint

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/
FIXED-IN: 17.11.80

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

M  +49   -19   src/dolphinmainwindow.cpp
M  +23   -0    src/dolphinmainwindow.h
M  +7    -0    src/panels/places/placesitem.cpp
M  +2    -0    src/panels/places/placesitem.h
M  +34   -10   src/panels/places/placesitemmodel.cpp
M  +8    -2    src/panels/places/placesitemmodel.h
M  +12   -0    src/panels/places/placesitemsignalhandler.cpp
M  +5    -0    src/panels/places/placesitemsignalhandler.h
M  +10   -1    src/panels/places/placespanel.cpp
M  +3    -0    src/panels/places/placespanel.h
M  +16   -2    src/panels/terminal/terminalpanel.cpp
M  +13   -1    src/panels/terminal/terminalpanel.h

https://commits.kde.org/dolphin/bd47eb2e6d80315115bb3f58987162fcb4911b10

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to