[Differential] [Request, 8 lines] D565: Prevent drop events to non-local destinations

elvisangelaccio (Elvis Angelaccio) noreply at phabricator.kde.org
Sat Nov 21 14:13:29 UTC 2015


elvisangelaccio created this revision.
elvisangelaccio added a reviewer: rthomsen.
elvisangelaccio set the repository for this revision to rARK Ark.
elvisangelaccio added a project: Ark.
Herald added a subscriber: kde-utils-devel.

REVISION SUMMARY
  We already prevent users from extracting to a non-local destination, when they use a KFileWidget. The same should be done when they drag-and-drop to a non-local destination in e.g. Dolphin. Currently the extraction is performed into the current directory, which is not expected.
  
  CCBUG: 204323

TEST PLAN
  Drag-and-dropping to e.g. `trash:/` now results in a warning message and no `ExtractJob` is started. Drag-and-dropping to local destinations still works.

REPOSITORY
  rARK Ark

BRANCH
  no-remote-drops

REVISION DETAIL
  https://phabricator.kde.org/D565

AFFECTED FILES
  part/part.cpp

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: elvisangelaccio, rthomsen
Cc: kde-utils-devel


More information about the Kde-utils-devel mailing list