Skip to content

Conversation

@ygerlach
Copy link
Contributor

Fixes: #366

If a user cancels a task, when it was not started, timeshift may try to kill many processes. I also made sure to initilize all values in AsyncTask to some sensible defaults.

This results in the estimation task not beeing cancelable. If a user presses cancel, while the estimation is still running, the window will close, but the estimation will continue in the background. Even if timeshift was closed. Solving this is a bit more involved, as it requires to run the rsync process async and storing its pid somewhere. It might be usefull to implement it as AsyncTask.

@LinuxOnTheDesktop
Copy link

I have not looked at the code, but, judging by the problems that you say you are fixing, you are doing great and necessary work here. Well done, and thank you.

@mtwebster mtwebster merged commit dcac4d7 into linuxmint:master Jul 28, 2025
2 checks passed
@ygerlach
Copy link
Contributor Author

I implemented the estimation as AsyncTask in #428

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Whole screen went black

3 participants