Skip to content

[BUG] Images sometimes fail to load #1748

@Yasand123

Description

@Yasand123

Code of conduct

Self-training on how to write a bug report

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I'd say there's a 5% chance an image in a batch of images would fail to load the preview and there would be a text in its place saying "image sent in conversation" with a broken image icon.

Image

Removing the local cache allows the image to retry downloading which works often. However that's not a good way to get around the issue, as that would also remove all downloaded media, and re-downloading everything again would also mean there's another chance a random image would fail to load. This is not specific to certain images, it happens to any random image regardless of size, resolution, type, etc.

A proposed temporary solution would be to allow the user to "retry" loading a failed image.

Keep in mind that by "loading" I mean the preview of the image in the conversation, not downloading/saving. But if it's relevant Session cannot save/download an image that has a broken preview. It will spawn a save dialog but it wouldn't save anything.

I'm not quite sure if this happens in individual conversations, I saw it happen multiple times in a group.

Expected Behavior

Ideally it should not fail loading previews, and it did it should auto retry, and if that might not be easy to implement a simple manual retry would be nice for now.

Steps To Reproduce

  1. Open Session
  2. Receive batches of images in a conversation/group
  3. There's a little chance one image will have a broken preview

Desktop Version

1.17.4

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions