vorta icon indicating copy to clipboard operation
vorta copied to clipboard

Fix GUI Freezing while running pre-backup command

Open ahmedhosssam opened this issue 9 months ago • 3 comments

Description

This PR fixes the GUI freezing bug while running pre-backup command, if the command takes time, the GUI freezes until the command finishes.

Related Issue

Fixes #210

How Has This Been Tested?

I tested the change using a couple of scripts, and I made sure that the script itself will finish completely before backup starts executing.

Screenrecord:

https://github.com/user-attachments/assets/4f9bdab9-8a17-4d4d-b95b-05d88f9f320a

Types of changes

  • [x] Bug fix (non-breaking change which fixes an issue)
  • [ ] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • [x] I have read the CONTRIBUTING guide.
  • [x] My code follows the code style of this project.
  • [ ] My change requires a change to the documentation.
  • [ ] I have updated the documentation accordingly.
  • [ ] I have added tests to cover my changes.
  • [ ] All new and existing tests passed.

I provide my contribution under the terms of the license of this repository and I affirm the Developer Certificate of Origin.

ahmedhosssam avatar Mar 08 '25 21:03 ahmedhosssam

Elegant solution. Well done!

m3nu avatar Mar 10 '25 12:03 m3nu

Minor issue with formatting. Did you use the pre-commit hooks?

m3nu avatar Mar 10 '25 12:03 m3nu

Minor issue with formatting. Did you use the pre-commit hooks?

Done

ahmedhosssam avatar Mar 10 '25 13:03 ahmedhosssam