[Differential] [Request, 392 lines] D4772: projectmanagerview: Make cut-paste work by fixing project manager's Paste action

Alexander Potashev noreply at phabricator.kde.org
Fri Feb 24 19:13:41 UTC 2017


aspotashev created this revision.
Restricted Application added a subscriber: kdevelop-devel.

TEST PLAN
  1a. Copy-paste from a Git-based project into the same project.
   1b. Same, but cut-paste.
  
  2. Copy/cut-paste from a Git-based project into another open project.
  3. Copy/cut-paste from a place not tracked by KDevelop (use Dolphin to copy/cut).
  4. Copy/cut-paste into a folder in KDevelop without write permissions -> expected to display a warning dialog "Paste Failed".
  5. Select a folder [A] and its subitem [B]; cut/copy-paste it -> expected to copy the enclosing folder and select both [A] and [B] in the project manager view.
  6. Create a folder [A] without write permissions. Choose an item [B] from outside of [A]. Create an item [C] named like [B] inside of [A] (you probably have to "sudo" to gain write permissions). Copy/cut-paste [B] into [A] attempting to overwrite [C]. Expect a warning dialog "Paste Failed". Expect [C] to not be selected in the project manager view (as it hasn't been successfully written to).

REPOSITORY
  R33 KDevPlatform

BRANCH
  fix-cut-paste

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

AFFECTED FILES
  plugins/projectmanagerview/projectmanagerviewplugin.cpp

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

To: aspotashev, kfunk, mwolff
Cc: kdevelop-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20170224/a7000dae/attachment.html>


More information about the KDevelop-devel mailing list