Skip to content

[HOLD for payment 2021-12-13][$500] Image is blurry and not rendered in correct resolution in mobile devices #5193

Closed

Description

@isagoico

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Action Performed:

  1. Navigate to a conversation
  2. Send this image
  3. Tap on the image and zoom

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?

  • iOS
  • Android

Version Number: 1.0.96-0

Logs: https://stackoverflow.com/c/expensify/questions/4856

Notes/Photos/Videos: Any additional supporting documentation

image

image

Expensify/Expensify Issue URL:

Issue reported by: @PrashantMangukiya
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1631206579123200

View all open jobs on GitHub

Activity

  1. MelvinBot commented on Sep 10, 2021

    @MelvinBot
    Contributor

    Triggered auto assignment to @chiragsalian (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

  2. chiragsalian commented on Sep 13, 2021

    @chiragsalian
    Contributor

    Looking into this today

  3. chiragsalian commented on Sep 13, 2021

    @chiragsalian
    Contributor

    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.
    Either way, i'm testing the sample image next.

  4. chiragsalian commented on Sep 14, 2021

    @chiragsalian
    Contributor

    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.

  5. added
    Weekly
    and removed
    Daily
    on Sep 14, 2021
  6. chiragsalian commented on Sep 20, 2021

    @chiragsalian
    Contributor

    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 react-native-image-pan-zoom allows for that.

    Anyway since this is purely an issue with the front end code i'll place the External label on it.

  7. added
    External
    on Sep 20, 2021
  8. MelvinBot commented on Sep 20, 2021

    @MelvinBot
    Contributor

    Triggered auto assignment to @NicMendonca (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

  9. 60 remaining items

  10. added
    Awaiting Payment
    on Dec 6, 2021
  11. changed the title [-][$500] Image is blurry and not rendered in correct resolution in mobile devices[/-] [+][HOLD for payment 2021-12-13] [$500] Image is blurry and not rendered in correct resolution in mobile devices[/+] on Dec 6, 2021
  12. botify commented on Dec 6, 2021

    @botify

    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. 🎊

  13. roryabraham commented on Dec 6, 2021

    @roryabraham
    Contributor
  14. changed the title [-][HOLD for payment 2021-12-13] [$500] Image is blurry and not rendered in correct resolution in mobile devices[/-] [+][$500] Image is blurry and not rendered in correct resolution in mobile devices[/+] on Dec 6, 2021
  15. roryabraham commented on Dec 6, 2021

    @roryabraham
    Contributor

    @NicMendonca We're tracking the regression here. It must be fixed before this issue can be paid out.

  16. aswin-s commented on Dec 7, 2021

    @aswin-s
    Contributor

    @roryabraham Linked issue is unrelated to blurred image bug. Should I do something about it? What's the next step here?

  17. roryabraham commented on Dec 10, 2021

    @roryabraham
    Contributor

    So sorry @aswin-s, I got confused. The linked regression is related to #6326, not this issue. My mistake. Nothing more for you to do here.

  18. changed the title [-][$500] Image is blurry and not rendered in correct resolution in mobile devices[/-] [+][HOLD for payment 2021-12-13][$500] Image is blurry and not rendered in correct resolution in mobile devices[/+] on Dec 10, 2021
  19. NicMendonca commented on Dec 14, 2021

    @NicMendonca
    Contributor
  20. valery-lavrik commented on Aug 11, 2022

    @valery-lavrik

    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

  21. parasharrajat commented on Aug 11, 2022

    @parasharrajat
    Member

    @valery-lavrik This issue is already resolved and marked as closed.

  22. valery-lavrik commented on Aug 11, 2022

    @valery-lavrik

    @parasharrajat I just shared my decision, maybe it will be useful to someone. It's much simpler

  23. parasharrajat commented on Aug 11, 2022

    @parasharrajat
    Member

    Ok. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentEngineeringExternalWeekly

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions