You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to narrow down the "some photos" part. Happens only with instant uploads? What "behaviour" did you selected in the instant uploads options?. Is the thumbnails still invisible if you scroll the upload out of the screen and then bring it back? Is the thumbnail of the picture visible in the list view?
That info will be very useful. Let's deal with this as a bug to fix for #1493, at least as nice-2-have.
Shouldn't it be the same thumbnail?
This is a very interesting question. It's a side effect of merging the recently added "policy" about duplication of files for instant uploads, and the addition of the uploads view.
The list of files tracks OCFiles -- this is, files that exist in your OC account. In practice, files that already exist in your server. The app tracks local copies of these files, but only if they are contained in the local owncloud folder. With the now default behaviour for instant uploads, the pictures are left in the DCIM folder (to avoid duplications), so the app handles the new created OCFile as not downloaded. If you enable the other behaviour for instant uploads, the pictures are moved from DCIM to the local owncloud folder, and then the app consider the new created OCFile as downloaded. Thumbnails in the list of files are generated from the local copy in owncloud if it exists, and remotely requested to the server [1] if there is no local copy there.
The uploads view can't track OCFiles because for many upload there is still no OCFile - it doesn't exist until the file is completely uploaded for the first time. Due to this, stored uploads need to track the local file even though it's out of the owncloud folder, otherwise there is no way to retry failed uploads of files that are added to the account. Thumbnails try to take advantage of this, and use those local files out of the owncloud folder.
[1] If remote thumbnails use to work with your server, but you have no thumbnail for pictures that show thumbnail in the uploads view, then we could be facing another bug related with a key failure in the thumbnails cache.
Activity
davivel commentedon Mar 21, 2016
With "preview" you mean "thumbnails", right?
We need to narrow down the "some photos" part. Happens only with instant uploads? What "behaviour" did you selected in the instant uploads options?. Is the thumbnails still invisible if you scroll the upload out of the screen and then bring it back? Is the thumbnail of the picture visible in the list view?
davivel commentedon Mar 22, 2016
That info will be very useful. Let's deal with this as a bug to fix for #1493, at least as nice-2-have.
This is a very interesting question. It's a side effect of merging the recently added "policy" about duplication of files for instant uploads, and the addition of the uploads view.
The list of files tracks OCFiles -- this is, files that exist in your OC account. In practice, files that already exist in your server. The app tracks local copies of these files, but only if they are contained in the local
owncloudfolder. With the now default behaviour for instant uploads, the pictures are left in the DCIM folder (to avoid duplications), so the app handles the new created OCFile as not downloaded. If you enable the other behaviour for instant uploads, the pictures are moved from DCIM to the localowncloudfolder, and then the app consider the new created OCFile as downloaded. Thumbnails in the list of files are generated from the local copy inowncloudif it exists, and remotely requested to the server [1] if there is no local copy there.The uploads view can't track OCFiles because for many upload there is still no OCFile - it doesn't exist until the file is completely uploaded for the first time. Due to this, stored uploads need to track the local file even though it's out of the
owncloudfolder, otherwise there is no way to retry failed uploads of files that are added to the account. Thumbnails try to take advantage of this, and use those local files out of theowncloudfolder.[1] If remote thumbnails use to work with your server, but you have no thumbnail for pictures that show thumbnail in the uploads view, then we could be facing another bug related with a key failure in the thumbnails cache.
[-]Preview not shown in `UPLOADED` section[/-][+]Thumbnails not shown in `UPLOADED` section[/+]davivel commentedon Mar 22, 2016
And after all this speech, I just noticed that maybe remote thumbnails are not working at all in your server setup. Is that the case, @LukeOwncloud ?
davivel commentedon Mar 22, 2016
And you are using "move to app folder", so definitely something is wrong there.
davivel commentedon Mar 22, 2016
But this is still happening, right?
So, no remote thumbnails working for those particular files. Or am I misunderstanding?
malkomich commentedon Mar 28, 2016
Fixed :)
Now when the upload view is refreshed the thumbnail is generated in a right way.
jesmrec commentedon Mar 29, 2016
👍 refreshing the view all thumbnails from moved instant uploads are shown
malkomich commentedon Apr 20, 2016
I'll close this issue since it is already approved by QA and merged in PR #1493 ;)