ChatSecure / ChatSecure-iOS

ChatSecure is a free and open source encrypted chat client for iOS that supports OTR and OMEMO encryption over XMPP.
https://chatsecure.org
Other
3.13k stars 1.03k forks source link

Image previews not displayed in chat window #1228

Open paulgit opened 3 years ago

paulgit commented 3 years ago

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.

3ltronMx commented 3 years ago

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.

ghost commented 3 years ago

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.

pd888 commented 3 years ago

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

malloy139 commented 3 years ago

Same problem here. Also affects MUC.

bakerman100 commented 3 years ago

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

SuperDisk commented 3 years ago

Same issue here.

iPhone 11 Pro Version 14.4.1 Prosody 0.11.8 ChatSecure 5.0.3

oebpx commented 3 years ago

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.

Secret-Messenger-App commented 3 years ago

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.

malloy139 commented 2 years ago

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

erikablair commented 2 years ago

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