-
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 2023-02-28] [$1000] Screen is flashing when changing focus between edit input #15086
Comments
Triggered auto assignment to @davidcardoza ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to @thienlnam ( |
Job added to Upwork: https://www.upwork.com/jobs/~01f0ed90a9d3684e1e |
Current assignee @davidcardoza is eligible for the External assigner, not assigning anyone new. |
Sending out to engineering and external. I was able to reproduce on iOS. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mananjadhav ( |
Triggered auto assignment to @MonilBhavsar ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.The screen is flashing when switching focus between edit message fields. What is the root cause of that problem?When we move from 1 edit message input to another, the
ReportActionCompose to become visible, pushing the view upward and causing the glitch.
What changes do you think we should make in order to solve the problem?We should only call
We can do something like this (only on iOS and Android):
There'll be cleanups of the listener, ... as well but the above is the main change to fix it. For mWeb we have a related but different issue compared to this, I'm keen to post it in another bug report but I'll post here for the sake of completeness first. For mWeb we will not run
( What alternative solutions did you explore? (Optional)NA ResultWorking well after the fix |
The toggleReportActionComposeView method is likely responsible for showing or hiding the report action compose view, and the VirtualKeyboard.shouldAssumeIsOpen() method is used to check whether the virtual keyboard is currently open or not. Assuming that the flashing issue is related to the interaction between the report action compose view and the virtual keyboard, we can try the following technical solutions:
|
ProposalPlease re-state the problem that we are trying to solve in this issue.The screen is blinking when the focus changes between edit composer. What is the root cause of that problem?When we switch the focus to another edit composer, the What changes do you think we should make in order to solve the problem?The simplest solution is to debounce the function call, so we only receive the latest value. Tested with 100ms wait time and it works fine. |
This comment was marked as duplicate.
This comment was marked as duplicate.
Removing @MonilBhavsar since it auto-assigned for both Engineering and External (not sure why) |
Both the proposals identified the root cause correctly. But I think we should avoid using debounce. I checked @tienifr's proposal and it makes sense to implement both the @thienlnam All yours. |
Yeah, the proposal looks good to me 👍 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.74-0 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 2023-02-28. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
I'll try to update the checklist by today/tomorrow. Meanwhile @tienifr can you please post a regression test step for this one? |
📣 @mananjadhav! 📣 Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
Format:
|
@mananjadhav @thienlnam I just posted the regression test in the above comment
|
I think we're good with the regression steps. Not sure if we want to split step 2 into multiple steps. Also I couldn't pinpoint to a specific PR for this regression. I think it exists since the time we've got these Report Edit/Chat features. @thienlnam What do you think? |
I agree, let's try to make this more clear for the QA testers.
No worries on not being able to pinpoint the specific PR |
@tienifr quick bump on the previous comments to update the regression test. |
Regression Test ProposalBug: Screen is flashing when changing focus between edit input Proposed Test Steps:
Do we 👍 or 👎 |
@mananjadhav Thanks for pointing that out. I've just updated the regression test proposal, please help check again. |
@davidcardoza Can you help with the payout here? |
Payments sent apologies for the wait. |
Thanks @davidcardoza I have accepted the offer. Can you help with the payout? Also this is eligible for the timeline bonus. |
@davidcardoza can you send me the offer as well? I'm the reporter. |
Thanks @davidcardoza for the payment here. This issue is eligible for 500$ timeline bonus. and the same amount also needs to be paid to @tienifr for the contribution and a reporting bonus of 250$ to @hungvu193. |
Both were sent. |
Here's a summary of the payout @davidcardoza. @tienifr Contributor for creating the fix ($1000) + timeline bonus ($500) = Total $1500 Hope this helps. Thanks once again for the help here. |
All payments have been sent. |
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:
Screen is not flashing when switching focus between edit fields.
Actual Result:
Screen is flashing when switching focus between edit field.
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.2.70-1
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:
RPReplay_Final1676115090.MP4
BVYQ7397.1.MP4
Expensify/Expensify Issue URL:
Issue reported by: @hungvu193
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1676115306084349
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: