memories icon indicating copy to clipboard operation
memories copied to clipboard

Android app: local files added to albums result in no-op

Open daniel-callejas-sevilla opened this issue 2 years ago • 6 comments

Describe the bug I can select pictures from a local folder on my phone, and then try to add them to an album.

Expected behavior: the pictures are queued in my phone, so that the app will add them to the selected album as soon as they become available in the Nextcloud Memories timeline (which can be minutes, hours, days, weeks or months afterwards).

Actual behaviour: the pictures are not added to any album, and the only indication that the action failed is "0 pictures updated" toast in the top-right corner.

To Reproduce Steps to reproduce the behavior:

Select a picture from a local folder, click on "..." → Add to album → select any album → "Save Changes."

Expected: picture is kept in waiting status until it is available as part of timeline, and then it gets added to album.

Actual: "0 photos updated"

Platform:

  • OS: Android
  • Nextcloud Memories Android app: 1.6 (from "RadialApps" through Google Play Store)
  • Browser: n/a
  • Memories Version: 6.1.5
  • Nextcloud Version: 27.1.5
  • PHP Version: 8.1

Additional context I should be able to sort my photos into albums without having to pause until the photos are synced. If this is not a goal of the Android app, then the app should actively prevent me from trying to add local photos to an album.

  • Any errors in the JS console?
  • Any errors in the Nextcloud server logs?

daniel-callejas-sevilla avatar Dec 29 '23 14:12 daniel-callejas-sevilla

small bump, since it makes the app completely useless for me: I would really like to sort my local photos into saved albums. I'm actually not even sure what's the workaround (the "right" workflow is not obvious to me). Since you are pushing memories as a Google Photos alternative, I'm probably not the only one wanting this.

Drup avatar Mar 21 '24 20:03 Drup

small bump, since it makes the app completely useless for me: I would really like to sort my local photos into saved albums.

That's unrelated to this issue. This issue is, you can "attempt" to add un-uploaded photos to album and nothing happens.

I'm actually not even sure what's the workaround (the "right" workflow is not obvious to me).

The right workflow is to auto upload files, always.

Since you are pushing memories as a Google Photos alternative, I'm probably not the only one wanting this.

I'm not sure of the use case here. If you add a local photo to an album, that photo was never uploaded and so it'll only ever be visible on that device. Does google photos let you do this?

pulsejet avatar Mar 21 '24 22:03 pulsejet

small bump, since it makes the app completely useless for me: I would really like to sort my local photos into saved albums.

That's unrelated to this issue. This issue is, you can "attempt" to add un-uploaded photos to album and nothing happens.

I'm actually not even sure what's the workaround (the "right" workflow is not obvious to me).

The right workflow is to auto upload files, always.

I have auto-upload for all my pictures, always. However, my phone does not always have network connectivity for a long period (e.g. a trek in the mountains, a stay in a foreign country, or just simply that the auto-upload takes a long time because my network coverage is spotty).

The main point of this issue is to allow for pictures to be sorted into albums regardless of whether they are auto-uploaded or still pending to auto-upload.

Since you are pushing memories as a Google Photos alternative, I'm probably not the only one wanting this.

I'm not sure of the use case here. If you add a local photo to an album, that photo was never uploaded and so it'll only ever be visible on that device. Does google photos let you do this?

Yes. Sorting photos into albums is completely independent form having photos uploaded to server. And whenever data is synchronized between phone and server, both the pictures themselves, and the sorting of pictures into albums, get synchronized to server.

daniel-callejas-sevilla avatar Mar 22 '24 09:03 daniel-callejas-sevilla

That's unrelated to this issue. This issue is, you can "attempt" to add un-uploaded photos to album and nothing happens.

The right workflow is to auto upload files, always.

That is exactly the point though: I don't want to auto-upload. I would like to sort first. I think it's a fairly reasonable workflow (and more parsimonious, bandwidth-wise). Google Photos supports that transparently.

Drup avatar Mar 22 '24 11:03 Drup

Interesting. I'll just leave a note here then that this is a major undertaking and will likely not be fixed in the near term unless someone is willing to contribute the feature.

Basically albums are handled completely server side at the moment, and so there's no concept of a "local" album (or even a local photo in an album). Adding photos not uploaded yet to albums would also require a whole new level of background synchronization that simply doesn't exist yet.

pulsejet avatar Mar 22 '24 16:03 pulsejet

In that case, in the meantime, I would propose the following changes:

  • Add a clearer button to "move a local photo to the server" as I'm ... still not quite sure how to do that inside the app. "Move to folder" exhibits the same limitation.
  • Don't even propose to put non-uploaded pictures into albums and/or show a clear message when there are local photos in the selection.

Since the app shows me the local pictures (which I like), its UI should reflect what I can/can't do on them.

Drup avatar Mar 31 '24 13:03 Drup