Skip to content

Images are showing as cropped #2126

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
scottwallacesh opened this issue Sep 18, 2020 · 3 comments · Fixed by #2383
Closed

Images are showing as cropped #2126

scottwallacesh opened this issue Sep 18, 2020 · 3 comments · Fixed by #2383
Assignees
Labels
T-Defect Something isn't working: bugs, crashes, hangs and other reported problems
Milestone

Comments

@scottwallacesh
Copy link

Description:
When viewing messages that contain an image from someone else, the image is shown as cropped. Clearing the cache does not resolve it but does crop your own posted images. The room(s) are encrypted (I do not know if the same behaviour exists for non-encrypted rooms). The image appears correctly in element-web.

To Reproduce
Steps to reproduce the behaviour:

  1. Go to a message room
  2. Post an image on Android device A
  3. Use Android device B to view the image in the room - or - clear the cache on Android device A and look at the image you posted.
  4. Image appears cropped.

Expected behaviour
I expect the image to be shown, without being cropped, on Android.

Screenshots
Cropped on Element Android:
image

Not cropped on Element web:
image

Smartphone (please complete the following information):

  • Device: Pixel 2
  • OS: Android 11

Additional context

  • App version and store: v1.0.6 from Google Play Store
  • Homeserver: Self-hosted Synapse v1.19.2
@jtrees
Copy link

jtrees commented Sep 20, 2020

I get this too and I'm on matrix.org.

@BillCarsonFr BillCarsonFr added T-Defect Something isn't working: bugs, crashes, hangs and other reported problems screen:timeline labels Sep 21, 2020
@BillCarsonFr BillCarsonFr added this to the Developer Bucket milestone Sep 21, 2020
@onurays onurays self-assigned this Oct 1, 2020
@onurays onurays modified the milestones: Developer Bucket, Sprint 15 Oct 1, 2020
@onurays
Copy link
Contributor

onurays commented Oct 13, 2020

@scottwallacesh, @jtrees I couldn't reproduce this issue on my devices and emulators (I also tried on Pixel 2 Emulator, running Android 11). Could you please send me the original image and the event content through Element Android room or DM (@onurays:matrix.org)?

@jtrees
Copy link

jtrees commented Oct 16, 2020

I think this was fixed in Element 1.0.7. I presume it was fixed with #2108.

@bmarty bmarty assigned bmarty and unassigned onurays Nov 13, 2020
bmarty added a commit that referenced this issue Nov 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Defect Something isn't working: bugs, crashes, hangs and other reported problems
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants