nextcloud / nextcloud/android

Auto Upload with "Moved to App Folder" temporarily disappear from android gallery

Open
#10,373 17 comments 0 reactions 0 assignees View on GitHub
approved bug feature: auto upload hotspot: device storage hotspot: media scanner stable-3.20
Dominant language
Kotlin
Stars
5.6k
Forks
2k
Avg merge
2d 18h
Merged PRs (30d)
92

Description

### Steps to reproduce
1. Setup auto upload on Camera folder with "Original File will be..." set to "moved to app folder"
2. Take a picture
3. Wait for the auto upload to run and move the picture
4. Image disappears from Gallery app
5. After a while (overnight) or after rebooting the phone the image shows up.

### Expected behaviour
Auto uploaded images should still be visible to android gallery without need to reboot or wait for gallery to run media scanning process. This used to work as expected.

### Actual behaviour
Auto uploaded images disappear from gallery and will not show up (even though present if viewed with file explorer tools) until some time has passed or the phone is rebooted. The photos are also not visible to other apps (Facebook, instagram, email, etc) until the reboot or regular scan happens.

### Environment data
Android version: 12

Device model: SM-G988U (Samsung Galaxy S20 Ultra 5G)

Stock or customized system: stock

Nextcloud app version: 3.20.2

Nextcloud server version: 23.0.2

This is especially painful when I've taken a lot of pictures at an event or traveling and want to make a post to share pictures and I have to reboot to get the images available. I have found a workaround to be setting my phone to only upload while charging so it at least delays it long enough that I can use the picture, but that is not idea either.

I looked for this in the issues but everything was around the feature not working. I found a post on the nextcloud help forum from 2020 that was never replied to with the exact same behavior noted: https://help.nextcloud.com/t/syncing-pictures-and-videos/100116

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.