Skip to content

[Duplications] [1168] Error on the preview, Android 4.1.2 #1319

Closed

Description

@rperezb

STEPS:
1.- Set the instant upload behavior to: delete
2.- Take a photo
3.- The photo is uploaded successfully
4.- Access to the folder where the photo is stored on the ownCloud app

CURRENT BEHAVIOR:
The photo is shown as downloaded, however, if you preview it there is an error: "The image cannot be shown"

LOGS

11-30 09:36:37.600  11714-14582/com.owncloud.android E/PreviewImageFragment﹕ File could not be loaded as a bitmap: /storage/sdcard0/owncloud/[email protected]%3Axxxx/InstantUpload/20151130_093530.jpg

EXPECTED BEHAVIOR
The image is not shown as downloaded

(the error in the preview is fixed if you remove locally the file and download it again)

DEVICE:

Galaxy S3, 4.1.2
However, on an HTC one 4.3 works ok

Activity

  1. tobiasKaminsky commented on Nov 30, 2015

    @tobiasKaminsky
    Contributor

    Not for me (Nexus 4 [real device], Nexus 5 [emulator]).
    When entering the folder there was a yellow circle badget and the file was just as not downloaded.

    So, I am currently clueless...

  2. tobiasKaminsky commented on Nov 30, 2015

    @tobiasKaminsky
    Contributor

    Does a folder refresh helps?

  3. rperezb commented on Dec 1, 2015

    @rperezb
    Author

    Yes, the yellow circle is shown, however, I think it shouldn't because the selected option is delete.
    However, lets leave this to @masensio since here we reproduce it.

  4. masensio commented on Dec 1, 2015

    @masensio

    Hi @tobiasKaminsky,

    I've checked this bug with a Nexus 9 Android 6, and I've reproduced it.

    The image is shown properly but the yellow circle is shown but there isn't any sync process running on this folder.
    On the other hand, if you refresh the folder the yellow circle continues there.
    I'm reviewing this problem, looking for a solution.

  5. masensio commented on Dec 1, 2015

    @masensio

    Hi,
    related with the yellow sync circle we have already fixed a similar bug in the release branch.
    I applied the same fix here with a cherry pick and it works fine.

    On the other hand, the preview problem in S3 device (4.1.2) is still present because is marked as downloaded, but I don't know why. I'm researching about it.

  6. masensio commented on Dec 1, 2015

    @masensio

    Hi again,

    this bug is fixed on the PR #1168: commit a730435

    So I'll close it.

  7. tobiasKaminsky commented on Dec 1, 2015

    @tobiasKaminsky
    Contributor

    👍 Thank you for bugfixing @masensio!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions