Describe the bug
Images downloaded with Interstellar are saved correctly to storage, but they are not added to Android's MediaStore. As a result, newly downloaded images do not appear in the system photo picker or media pickers used by messaging apps.
The file only becomes visible after opening or sharing it through the Files app.
Steps to Reproduce
- Configure Interstellar to download images to a folder such as Pictures/Memes.
- Download an image from a Lemmy post.
- Open a messaging app and open its media/photo picker.
- Observe that the downloaded image is missing.
- Open the image through the Android Files app and share it.
- Open the media picker again.
- The image now appears.
Version
0.11.4
What client platform(s) are you seeing the problem on?
Android
What server platform(s) are you seeing the problem on?
Lemmy
Additional context
Downloading an image using Firefox to the same storage works correctly and the image appears in media pickers immediately.
Looking at Interstellar's Android/native download implementation, the file appears to be written directly using File.writeAsBytes() without subsequently registering/scanning it with Android's MediaStore.
It may be necessary to either:
- save shared media through MediaStore on Android, or
- trigger MediaScannerConnection.scanFile() after writing the file.
Environment
- OS: GrapheneOS / Android 17
- App: Interstellar 0.11.4
Describe the bug
Images downloaded with Interstellar are saved correctly to storage, but they are not added to Android's MediaStore. As a result, newly downloaded images do not appear in the system photo picker or media pickers used by messaging apps.
The file only becomes visible after opening or sharing it through the Files app.
Steps to Reproduce
Version
0.11.4
What client platform(s) are you seeing the problem on?
Android
What server platform(s) are you seeing the problem on?
Lemmy
Additional context
Downloading an image using Firefox to the same storage works correctly and the image appears in media pickers immediately.
Looking at Interstellar's Android/native download implementation, the file appears to be written directly using File.writeAsBytes() without subsequently registering/scanning it with Android's MediaStore.
It may be necessary to either:
Environment