-
Notifications
You must be signed in to change notification settings - Fork 22
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
[BUG] Cannot change Auto-Backup Folder when already enabled #58
Comments
Once you choose a backup destination for the first time immediately a backup is scheduled and gets triggered around ~10-15 sec during that time you can not change the folder. Once the first backup is done you can always change the folder without any problem. See the below video from Pixel 4 running android@11 backup_changed.mp4 |
Via an emulator? I tested your claim and it isn't the case on my phone. Your video also does not represent what is happening on my phone. In your video, the buttons are never greyed out. On my phone, they are always greyed out, once the backup is enabled. No matter how long I wait or if I quit the app, etc. It always stays greyed out. Running this on Android 11 based custom ROM. |
Yeah, it's an emulator. Seems like I was able to reproduce your problem this time. Backup_Change_bug.mp4 |
No. The video shows the behaviour as you described earlier. Wait for the background job to complete, etc. Then it will work, etc. In my case:
In your second video at 0:16, both buttons should be greyed out forever. It does not ever work again, no matter how much time passes. It can only be worked around, if Auto Backup is disabled and enabled again. This is the only thing that can make the buttons work again. |
but if you see from 0:58-1:02 it's grayed out just like you pointed out. |
Okay, but it happens for you only later. For me, it happens instantly, permanently. It is never not greyed out. It's always instantly greyed out for me, forever, after enabling Auto Backup. In your video, it should've been greyed out at 0:16, already. |
Thanks, @theAkito for reporting this 🙇 I think I figured out what's causing this problem, fix is on the way. |
- fixes #58 Signed-off-by: Keshav Priyadarshi <git@keshav.space>
@theAkito If you want you can test out the fixed version from the pull request. Don't forget to export your data using |
I have the same issue; it is always grey once turned on no matter what. From reading above it seems like this is because the backup just isn't working. You are saying above it should be changeable after 15 seconds after the first backup is complete. I never have a backup work. I have tried manual and automatic and it will not make a file. The permissions are to allow access "to media only". I don't know why this is how the permission is written but maybe this is why. I am choosing /sdcard/Backup/ as my folder. Nothing. I have a Pixel 5 running LineageOS 19.1 |
@landry314 issue is fixed in #59 |
I cant test the apk above because it has a different signature from my fdroid version and I can't make a backup first... so I have to wait for the next fdroid version. |
No problem, I have just issued the new release and should be available on fdroid by the end of next f-droid build cycle. |
i got the new release and the backup is still not working. same as before. both in manual export and in auto backup you are asked to choose a folder and when i chose /sdcard/Backup it just moves on without creating a backup file. in auto backup it says "never" for backup time and greys out the folder choice forever as before. i tried another folder. nothing. i can not access the data folder for safenotes or i would try there. this might be a permissions thing. i am on a pixel 5 with lineageos 19.1 |
i see the green lock. internal storage? my path is /sdcard/Backup/ . i can not access the /Android/data/ folder where your internal app has external access. i am on a rooted device and i looked where i could. |
That's strange, the green lock is shown if and only if the backup file exists. The only way forward in my opinion is to somehow reproduce this problem on lineageos, let's see what I can do. |
im sorry, i DONT see the green lock. i thought you meant the green on switch for some reason. you even highlighted it in red. it is so small on my phone. |
Wanted to test this one again. Now, it can only be enabled & disabled. No custom folder may be chosen. Is this intended? |
yes it is. android is moving towards not allowing apps to choose folders to save to. downloads is open and the Android/data folder which confuses people. this is the best solution. stick it in downloads. |
Describe the bug
Changing the auto-backup destination folder is not possible, if the feature was already enabled.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The folder should be changeable after the feature has been enabled.
The text was updated successfully, but these errors were encountered: