Skip to content

[hold #17246] [$1000] Web-Zooming in picture from the trackpad exits the picture view #23876

Closed

Description

@kavimuru

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


Issue found when executing PR #23072

Action Performed:

  1. Add multiple attachments (images and PDFs) in any chat.
  2. Tap/click to open an attachment, make sure the right attachment is opened.
  3. Scroll or swipe between attachments.
  4. Test out the zoom and pan features.

Expected Result:

Image displayed when zoomed in using track pad by two fingers

Actual Result:

Zooming in picture from the trackpad exits the picture view or results in a generic uh oh error.

Workaround:

Can the user still use Expensify without this being fixed? Have you informed them of the workaround?

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome / Safari
  • MacOS / Desktop

Version Number: 1.3.47-2
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation

Bug6145529_zoom_in.mp4

Expensify/Expensify Issue URL:
Issue reported by: Applause internal team
Slack conversation:

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0153ec226a44c7109e
  • Upwork Job ID: 1686107386665205760
  • Last Price Increase: 2023-07-31

Activity

  1. added
    Daily
    Bug
    on Jul 29, 2023
  2. melvin-bot commented on Jul 29, 2023

    @melvin-bot

    Triggered auto assignment to @joekaufmanexpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

  3. melvin-bot commented on Jul 29, 2023

    @melvin-bot

    Bug0 Triage Checklist (Main S/O)

    • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
    • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
      • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
    • This bug is reproducible using the reproduction steps in the OP. S/O
      • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
      • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
    • This issue is filled out as thoroughly and clearly as possible
      • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
    • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync
  4. ahmdshrif commented on Jul 30, 2023

    @ahmdshrif
    Contributor

    Proposal

    Please re-state the problem that we are trying to solve in this issue.

    when the zoom attachment view gets closed

    What is the root cause of that problem?

    The root cause of this problem is the screen zooming in the web, which results in the inner window dim changing and going below our smallScreenWidth threshold. Consequently, this triggers an update to our authentication navigation container.

    shouldComponentUpdate(nextProps) {
    return nextProps.windowHeight !== this.props.windowHeight || nextProps.isSmallScreenWidth !== this.props.isSmallScreenWidth;

    What changes do you think we should make in order to solve the problem?

    To resolve this issue, we will implement a new shared state (using HOC) called "shouldBlockNavigationUpdate." This state will be set to true when the modal is open and reset to false when the modal is closed. In the authScreen component, we will use this state to prevent component updates while the modal is open. By doing this, we will effectively block the navigation update during those times.

    What alternative solutions did you explore? (Optional)

    n/a

  5. joekaufmanexpensify commented on Jul 31, 2023

    @joekaufmanexpensify
    Contributor

    I can't reproduce the exact behavior mentioned above (exiting the picture view). But when I try and pinch to zoom in the picture view, the components do not resize correctly for me, and I end up getting a generic uh oh error. Which is definitely a bug.

    2023-07-31_16-08-01.mp4
  6. added
    External
    on Jul 31, 2023
  7. changed the title [-]Web-Zooming in picture from the trackpad exits the picture view[/-] [+][$1000] Web-Zooming in picture from the trackpad exits the picture view[/+] on Jul 31, 2023
  8. melvin-bot commented on Jul 31, 2023

    @melvin-bot
  9. added
    Help Wanted
    on Jul 31, 2023
  10. melvin-bot commented on Jul 31, 2023

    @melvin-bot

    Current assignee @joekaufmanexpensify is eligible for the External assigner, not assigning anyone new.

  11. melvin-bot commented on Jul 31, 2023

    @melvin-bot

    Triggered auto assignment to Contributor-plus team member for initial proposal review - @mananjadhav (External)

  12. joekaufmanexpensify commented on Jul 31, 2023

    @joekaufmanexpensify
    Contributor

    Though, I wonder if this is a duplicate of #17246 . Curious what you think @mananjadhav ?

  13. 16 remaining items

  14. joekaufmanexpensify commented on Oct 16, 2023

    @joekaufmanexpensify
    Contributor

    Held

  15. joekaufmanexpensify commented on Oct 23, 2023

    @joekaufmanexpensify
    Contributor

    Still held

  16. joekaufmanexpensify commented on Oct 30, 2023

    @joekaufmanexpensify
    Contributor

    Same

  17. joekaufmanexpensify commented on Nov 8, 2023

    @joekaufmanexpensify
    Contributor

    Same.

  18. joekaufmanexpensify commented on Nov 13, 2023

    @joekaufmanexpensify
    Contributor

    Same

  19. joekaufmanexpensify commented on Nov 20, 2023

    @joekaufmanexpensify
    Contributor

    Same.

  20. joekaufmanexpensify commented on Nov 27, 2023

    @joekaufmanexpensify
    Contributor

    Same

  21. joekaufmanexpensify commented on Dec 4, 2023

    @joekaufmanexpensify
    Contributor

    Held

  22. joekaufmanexpensify commented on Dec 11, 2023

    @joekaufmanexpensify
    Contributor

    Held issue is closed. Going to retest to see if this is all set

  23. joekaufmanexpensify commented on Dec 11, 2023

    @joekaufmanexpensify
    Contributor

    Retested and confirmed this is fixed. Closing as no action is needed here!

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

Metadata

Metadata

Labels

BugDailyExternalHelp Wanted

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions