Bug 340612 - Android Gallery does not update after filetransfer
Summary: Android Gallery does not update after filetransfer
Status: RESOLVED FIXED
Alias: None
Product: kdeconnect
Classification: Applications
Component: android-application (show other bugs)
Version: unspecified
Platform: Android Android 4.x
: NOR minor
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-03 18:15 UTC by cryptkiddy
Modified: 2018-01-16 23:47 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cryptkiddy 2014-11-03 18:15:15 UTC
Product version 0.7.3.2

When using the "Remote Filesystem Browser" Plugin to transmit a picture (e.g. *.jpg) from PC to Android, the Gallery is not updated. That means: after the transfer finishes one can open the Gallery app and is not able to see the new image nor work with it. Rebooting fixes this, as it forces a reindex of the gallery.

Reproducible: Always

Steps to Reproduce:
1. Connect Device with KDE-Connect
2. Open the device for fileaccess in dolphin (small folder icon after leftclicking the tray icon )
3. Copy a *.jpg somewhere to device memory (not Camera folder) and wait for transfer to finish
4. Open Gallery on the device
5. Search for image

Actual Results:  
Image does not show up in the Gallery

Expected Results:  
Image shows up in the Gallery

( Device is a Nexus 4 with Cyanogenmod 11-20141030-nightly-mako )
Comment 1 Albert Vaca Cintora 2014-11-06 03:41:05 UTC
It's not going to be easy to fix, because we don't really know what you are transferring. When sending individual files, we can add them to the index when we receive them, but for this case the only solution I can think of is triggering a full re-scan.
Comment 2 cryptkiddy 2014-11-07 01:05:07 UTC
If rescanning is costly maybe a button that allows to manually force a rescan when needed could work. Although I do not see how to intuitively integrate that into the userinterface...
Comment 3 breversa 2015-07-16 13:36:15 UTC
You might want to have a look at SD Scanner : https://f-droid.org/repository/browse/?fdfilter=scanner&fdid=com.gmail.jerickson314.sdscanner

Though manual and not automatic, I guess it does precisely what you're looking for.
Comment 4 Albert Vaca Cintora 2018-01-16 23:47:11 UTC
This was fixed in an earlier release.