https://bugs.documentfoundation.org/show_bug.cgi?id=153087

--- Comment #21 from Mike Kaganski <[email protected]> ---
(In reply to Mariusz from comment #11)
> This error occurs after running CCleaner. Before version 7.4.0, this error
> did not occur after running CCleaner. I attach a video of the error
> occurring.

I watched the video, and see that the problem is the removal of the temporary
files *while the program that uses them is open* (the quicklauncher). And that
is plain wrong - to remove the temporary files of *running* applications.
Sorry, I didn't realize this bit of the problem before.

No matter if that happened to work, if it did then it only happened by chance.
And any application is free to decide to use different tempfile strategy. If a
user believes that tempfiles are created for a joke, they are mistaken.

Removal of all temporary files is a destructive process. It may only occur when
the user knows what they do. If done incorrectly, the refusal to open files
would be the least dangerous problem. Programs may crash, or save garbage to
files, or fail in any other thinkable way.

(In reply to Mariusz from comment #14)
> CCleaner starts in autostart. It cleans the system of junk, removes history,
> compacts browser databases.

And this is exactly the wrong way to clean temporary files. Because it competes
to do it before the programs start; and Windows will decide itself which of the
autostarted applications would start in which order. If quicklauncher happened
to already start, it already uses the files. Removing them is wrong.

Having said that, I can speculate that the program originated from some recent
work of Armin in bug 126742, specifically in commit
4a75df6d31ac6362957104f976c05e7c425cdc50. I suspect that now it's possible to
modify and remove files that are opened by LibreOffice on Windows, and that
allows CCleaner to destroy stuff.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to