ChatSecure-iOS icon indicating copy to clipboard operation
ChatSecure-iOS copied to clipboard

Image previews not displayed in chat window

Open paulgit opened this issue 4 years ago • 10 comments

Version 5.0.3 (169)

When sending an image, with our without OMEMO encryption enable, the image preview is not displayed. Instead there is a blank area where the image preview should be.

Clicking on the blank area causes the image to be displayed, so the image is being sent.

Although I am not sure if this makes a difference, but I am running the latest Prosody server.

paulgit avatar Jan 19 '21 11:01 paulgit

Here the same on iPhone 8 and iPad mini 4 with Version 5.0.3 (169): thumbnail isn't shown, just a blank space of the same size where the thumbnail should appear. Tapping on that space shows the image without problems. When leaving this image, it shrinks to the thumbnail size, stays for a fraction of a second, then disappears.

On my iPhone XS, which still runs Version 5.0.2 (167) I don't have this issue. Thumbnails are visible all the time.

If it's a security feature, a frame showing the existence of the thumbnail and a config option to switch it off would be helpful.

3ltronMx avatar Jan 20 '21 06:01 3ltronMx

Version 5.0.3 (169)

When sending an image, with our without OMEMO encryption enable, the image preview is not displayed. Instead there is a blank area where the image preview should be.

Clicking on the blank area causes the image to be displayed, so the image is being sent.

Although I am not sure if this makes a difference, but I am running the latest Prosody server.

I have exactly the same issue. I am also running prosody. Mine is the version in the Debian stable repositories.

ghost avatar Feb 06 '21 01:02 ghost

I have the exact same issue also. Version 5.0.3 (169) and using Prosody latest version.

pd888 avatar Feb 16 '21 22:02 pd888

Same problem here. Also affects MUC.

malloy139 avatar Feb 21 '21 19:02 malloy139

Same issue here. iPhone xr Software Version 14.4 ejabbered Server 21.x ChatSecure 5.0.3

bakerman100 avatar Mar 09 '21 19:03 bakerman100

Same issue here.

iPhone 11 Pro Version 14.4.1 Prosody 0.11.8 ChatSecure 5.0.3

SuperDisk avatar Mar 17 '21 00:03 SuperDisk

I am getting this issue with images and with links as well.

Prosody 0.11.8 mod_http_upload

I observed this on: ChatSecure 5.0.3 iPhone 11 iOS 14.4.2

This happens with or without OMEMO disabled on both sending and receiving clients.

oebpx avatar Apr 04 '21 23:04 oebpx

Hello.

JSQMessagesMediaViewBubbleImageMasker is the problem. In order to fix, one should remove all applyBubbleImageMaskToMediaView calls from:

OTRAudioItem.m OTRHTMLItem.m OTRImageItem.m OTRMediaItem.m OTRVideoItem.m

For a better UI use imageView.layer.cornerRadius instead.

Secret-Messenger-App avatar Apr 23 '21 20:04 Secret-Messenger-App

This error still exists. Some friends already migrated away from jabber because of this.

malloy139 avatar Aug 19 '21 17:08 malloy139

same here. iphone se v: 14.7.1 ipad (5th gen) v: 14.4 chatsecure v: 5.0.3 (171) prosody v: 0.11.10 debian v: 10

erikablair avatar Aug 20 '21 23:08 erikablair