-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Enhancement] Added setting to run vorta in background #1620
base: master
Are you sure you want to change the base?
Conversation
Hi!
Since this is the first time with |
bd50c83
to
b68c421
Compare
Hi! Just out of curiosity! Why do the tests take time to report? like when I worked with an organization previously there they used a ci tool called |
Because the tests won't run automatically for new contributors and need manual approval first. After your first contribution, they will run automatically for you and will finish in about 1-2 min. |
Oh informative 😄 |
The tests fail due to a different issue now: |
Hi! I've added the |
I can't tell you because you didn't push your changes. |
Hi! I could not get this actually, I'm figuring out where to call the |
No, you have to add it to the test setup. There is a fixture in |
f193418
to
44998e5
Compare
Hi! There's still 1 test which fails 😓 |
5752d81
to
190bc75
Compare
c6f648d
to
a0d5a46
Compare
8bc980d
to
96edb9f
Compare
b067d81
to
1be055a
Compare
@DaffyTheDuck @m3nu @real-yfprojects what do you think about implementing a setting for running the application in the background directly, instead of a setting to prompt the user each time they close the window? |
It's not actually prompting each time it's upon the user, he can choose to show or hide the dialog, I opened this PR because I thought some users might be using Manual Backup all the time (like me) so for them keeping the application running in background might not be an option, and in current version, if you chose the option don't show this again on the dialog and close the application there's no option to bring that dialog back in mics tab (it might be elsewhere but from a prospective of a new user he'll be looking into mics tab for that since most of the settings are there) There are other cases too, like once you do the manual backup and on other day you want a scheduled backup for some reason the application will keep closing since you chose the |
I wanted to add this option additionally to the changes of this PR. I decided to open an issue for that once this is merged. |
This has to be rebased onto master and upgraded to |
Yes, I'm more than happy to help. Just LMK if you face any issues while upgrading or want to know where to start! |
Sure 😄 |
Still planning to rebase this to Qt6, @DaffyTheDuck ? |
Hi! Yes! I was just freed the day before yesterday, I'll start with this again from tomorrow 😄 |
Hi! @real-yfprojects , I had some doubts about the conflicts in |
Its coleifer/peewee#2687 |
Done with the conflict locally! But before pushing I want to test it :) . Running the dev version produces the following error
I've updated every requirement since it was inactive for more than a month, am I doing something wrong ? |
How did you install PyQt? From distro packages or from PyPi? This error is often related to that. Or maybe the Python env has an old PyQt version? Maybe start over with the virtual env? Also, you're running this with a window manager? It won't work on a headless system. |
Hm, still giving the same message, I'll change the windows manager to test again, should I solve the conflicts here using github ? |
The Github interface is pretty basic. There are better local tools. And it's better practice to do it locally. Just be careful not do add any unintentional changes while resolving conflicts. |
10fefab
to
2cb9afd
Compare
Hmm! the vscode conflict solving made it worst by discarding my commits, I still have the change on my local machine, any way I can reopen this PR ?? |
Then you are doing something wrong.
Just push the local branch to this branch of the fork. Then click the |
Added setting to enable/disable the run in background window Closes borgbase#1582
Done! Thank you very much :) |
Yes, after searching on internet I understood that I mistakenly pushed the incoming changes to the working branch instead of master then rebased it overwriting the changes 😓 |
Description
When closing vorta a popup will be displayed whether to continue running in the background or not, according to users response the application will close or will stay in the system tray
Related Issue
Closes #1582
Motivation and Context
Gives the user control of the background activity (whether he/she wants to continue the process) through the checkbox added in the mics tab
How Has This Been Tested?
Machine: Ubuntu 20.04
Python Version: 3.10.6
Borg Version: 1.2.0
I've tested this on my local environment installed by following dev guidelines mentioned here
Screenshots (if appropriate):
Added Background Group Checkbox
When Checked Asks For The Following Option
If Checked Don Not Show This Again The Background Question Checkbox Unchecks (Big Thanks To @real-yfprojects)
Types of changes
Checklist:
I provide my contribution under the terms of the license of this repository and I affirm the Developer Certificate of Origin.