I open kompare on 2 directories to operate on their files, and after applying them, the files won't save with their changes, and this is printed in the konsole output: libkomparediff: KompareModelList::saveDestination: libkomparediff: Tempfilename (save) : "/tmp/kompare.L12039" libkomparediff: Model->path+file : "/home/franco/less/" "variables.less" libkomparediff: info->localdest : "/home/franco/less/" libkomparediff: DestinationURL : QUrl( "file:///home/franco/less/" ) libkomparediff: tmp : "variables.less" libkomparediff: fullDestinationPath : QUrl( "file:///home/franco/less/variables.less" ) Invalid URL: QUrl( "/home/franco/less/variables.less" ) Invalid URL: QUrl( "/home/franco/less/variables.less" ) Calling notify on "Sound" Calling notify on "Taskbar"` The command I use to start kompare is: $ kompare /home/franco/less_old /home/franco/less Reproducible: Always Steps to Reproduce: 1. kompare directory_a directory_b 2. apply difference from file in directory_a to file in directory_b 3. try "Save" or "Save all" Actual Results: Got "Could not create destination directory" Expected Results: Modifications to files to be saved
I had to downgrade, remove and install components to have this functionality working back as it should: kompare (4:14.12.3-0ubuntu1) -> (4:15.04.0-0ubuntu1~ubuntu15.04~ppa2) Installed libkomparediff2-4 (4:14.12.3-0ubuntu1) Removed kpart5-kompare (4:15.04.0-0ubuntu1~ubuntu15.04~ppa2) libkompareinterface5:amd64 (4:15.04.0-0ubuntu1~ubuntu15.04~ppa2) libkomparediff2-5:amd64 (4:15.04.0-0ubuntu1~ubuntu15.04~ppa1)
Sorry, meant to say kompare (4:15.04.0-0ubuntu1~ubuntu15.04~ppa2) -> (4:14.12.3-0ubuntu1)
I've posted a patch to reviewboard for this at https://git.reviewboard.kde.org/r/124163/
Git commit 3cffb9abc3d0c0fd3c861f65cc7738fbe7568b54 by Jeremy Whiting. Committed on 10/07/2015 at 16:59. Pushed by whiting into branch 'master'. Use KIO::Overwrite when saving a changed file otherwise it always fails. REVIEW:124163 M +2 -2 komparemodellist.cpp http://commits.kde.org/libkomparediff2/3cffb9abc3d0c0fd3c861f65cc7738fbe7568b54