-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[HOLD for payment 2021-12-13][$500] Image is blurry and not rendered in correct resolution in mobile devices #5193
Comments
Triggered auto assignment to @chiragsalian ( |
Looking into this today |
Okay for starters I just tested on regular images and they looked fine. Might be something just specific to the sample image as its very tall. I don't think this is daily since regular images appear just fine and this is quite an edge case with the sample image provided. |
Trying to figure out how this works. Either way i dont think its a daily since its a pretty edge case scenario. Demoting to weekly for now as i continue to investigate. |
From what i can tell the image obtained from the server is the correct size, its just when we scale it down here we seem to loose image quality. We could always load an image with 100% width as the parent and allow the height to be scrolled. This could solve the problem but i'm unsure if Anyway since this is purely an issue with the front end code i'll place the External label on it. |
Triggered auto assignment to @NicMendonca ( |
still on hold |
Please refer to this post for updated information on the |
To further clarify my observations, these are the proposed fixes.
|
1 sounds good, I am not sure what 2 really entails. Is there anything specifically better/worse on using that new library? |
I was just pointing out that if we go ahead with option 1, extra long images like the one mentioned in OP (image) will continue to look blurred in attachment view. It has a resolution of 875px x 14894px, which is way above the 2048px limit. |
Yeah I got that, 2 is needed only to support large images. Seems like a good solution, so let's try that out 👍 |
@NicMendonca Reapplied . |
^ waiting deploy to production |
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.1.17-7 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2021-12-13. 🎊 |
We had a regression, and Applause reported still being able to reproduce the regression on Android production. |
@NicMendonca We're tracking the regression here. It must be fixed before this issue can be paid out. |
@roryabraham Linked issue is unrelated to blurred image bug. Should I do something about it? What's the next step here? |
@aswin-s @PrashantMangukiya paid! |
I also searched for a solution to this problem for a long time, and finally decided to modify react-native-fast-image a little and added the preloadDimension method to it, which does the same as getSize only returns the real size of the image. I also use the same library to show the image, which solves the problem of quality reduction https://github.com/valery-lavrik/react-native-fast-image And so that the application does not crash on very large pictures, I added the useHardwareTextureAndroid=true parameter to zoom |
@valery-lavrik This issue is already resolved and marked as closed. |
@parasharrajat I just shared my decision, maybe it will be useful to someone. It's much simpler |
Ok. Thanks. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Expected Result:
Image should display the same resolution it was sent.
Actual Result:
Image is blurry.
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platform:
Where is this issue confirmed?
Version Number: 1.0.96-0
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:
Issue reported by: @PrashantMangukiya
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1631206579123200
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: