dfaure added a comment.

  Yep, that's it. Renaming trash:/A to trash:/B calls KIO::moveAs which stats 
trash:/ [useful to resolve desktop:/ to a local dir for instance], which now 
updates the on-disk cache... with 'A', before it gets renamed to 'B'.
  
  I think I know what the best solution is. Using StatDetails to skip the 
(expensive) size stuff when CopyJob calls stat(). Bugfix and performance 
improvement :)

REPOSITORY
  R241 KIO

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

To: meven, #frameworks, ngraham, elvisangelaccio, dfaure
Cc: ahmadsamir, kde-frameworks-devel, LeGast00n, cblack, michaelh, ngraham, 
bruns

Reply via email to