You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[hold #17246] [$1000] Web-Zooming in picture from the trackpad exits the picture view #23876
BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributorHelp WantedApply this label when an issue is open to proposals by contributors
Add multiple attachments (images and PDFs) in any chat.
Tap/click to open an attachment, make sure the right attachment is opened.
Scroll or swipe between attachments.
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
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.
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)
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.
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
BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributorHelp WantedApply this label when an issue is open to proposals by contributors
Activity
melvin-bot commentedon Jul 29, 2023
Triggered auto assignment to @joekaufmanexpensify (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Jul 29, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)ahmdshrif commentedon Jul 30, 2023
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.
App/src/libs/Navigation/AppNavigator/AuthScreens.js
Lines 184 to 186 in eb02006
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
joekaufmanexpensify commentedon Jul 31, 2023
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
[-]Web-Zooming in picture from the trackpad exits the picture view[/-][+][$1000] Web-Zooming in picture from the trackpad exits the picture view[/+]melvin-bot commentedon Jul 31, 2023
Job added to Upwork: https://www.upwork.com/jobs/~0153ec226a44c7109e
melvin-bot commentedon Jul 31, 2023
Current assignee @joekaufmanexpensify is eligible for the External assigner, not assigning anyone new.
melvin-bot commentedon Jul 31, 2023
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mananjadhav (
External)joekaufmanexpensify commentedon Jul 31, 2023
Though, I wonder if this is a duplicate of #17246 . Curious what you think @mananjadhav ?
16 remaining items
joekaufmanexpensify commentedon Oct 16, 2023
Held
joekaufmanexpensify commentedon Oct 23, 2023
Still held
joekaufmanexpensify commentedon Oct 30, 2023
Same
joekaufmanexpensify commentedon Nov 8, 2023
Same.
joekaufmanexpensify commentedon Nov 13, 2023
Same
joekaufmanexpensify commentedon Nov 20, 2023
Same.
joekaufmanexpensify commentedon Nov 27, 2023
Same
joekaufmanexpensify commentedon Dec 4, 2023
Held
joekaufmanexpensify commentedon Dec 11, 2023
Held issue is closed. Going to retest to see if this is all set
joekaufmanexpensify commentedon Dec 11, 2023
Retested and confirmed this is fixed. Closing as no action is needed here!