According to the documentation pressing the "cancel" button on the "Calculate occupied space" window aborts the calculation, which is true, but I expect similar results by closing the window using ESC, or the window buttons. Currently doing so closes the window, but the calculations are continuing in the background. Since this job isn't published in the job manager I found no other way to cancel the calculation but closing the whole application.
I confirm it can be reproduced on master.
Git commit b4d3f4a9840d34aaf5a58a1ad5b1c5dd272f9cd0 by Davide Gianforte. Committed on 22/02/2018 at 21:03. Pushed by gengisdave into branch 'master'. Closing calculate occupied space window aborts the calculation FIXED: [ 388266 ] Closing calculate occupied space window does not abort the calculation Stops space calculation when user presses Esc or closes the popup window M +22 -0 krusader/Panel/krcalcspacedialog.cpp M +2 -0 krusader/Panel/krcalcspacedialog.h https://commits.kde.org/krusader/b4d3f4a9840d34aaf5a58a1ad5b1c5dd272f9cd0