-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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 2025-01-22] [$250] Android - Attachments - Typing is not smooth when revealing password in protected PDF #53394
Comments
Triggered auto assignment to @johncschuster ( |
@johncschuster Whoops! This issue is 2 days overdue. Let's get this updated quick! |
I couldn't action this today. I will check it out this weekend. |
Job added to Upwork: https://www.upwork.com/jobs/~021866173601902671628 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @jjcoffee ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Typing is not smooth when revealing password in protected PDF. On Android, the keyboard flickers when typing the password in the revealed state. What is the root cause of that problem?React Native’s TextInput automatically switches the keyboard type on Android based on the We are using the
This is the method responsible for determining keyboard type on Android devices:- The
Issue_Repro.mp4What changes do you think we should make in order to solve the problem?We should not use the native
It fixes the issue as seen in the screencast Issue_Solution.mp4What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
What alternative solutions did you explore? (Optional)
|
@rohit9625 Thanks for the proposal! What version of Android are you able to reproduce the issue on? For me on Android 14 (API 34) I don't see the issue. Your solution would introduce a regression from the fix implemented in #9593, which was added to prevent the keyboard from visibly switching when toggling the password visibility (which you can see happens in your solution video). |
I tested this issue on my Samsung A14 Device with Android 14(API 34).
I'm looking into it. How can I access that password input screen while login? For now, I'm being redirected to the Magic Code screen. |
@rohit9625 Huh, strange that I can't reproduce it on the same API version. Does it happen for you in an emulator too?
That no longer exists in the app, but the behaviour is the same in the PDF password input since it's the same base component. |
@jjcoffee, I haven't tried it on an emulator yet. I'll try and let you know. |
This comment was marked as resolved.
This comment was marked as resolved.
Hey @jjcoffee, I tried running the app on the emulator as well with API 34 and still facing the same issue. See the screencast below:- Screencast.from.2024-12-11.23-23-34.mp4I think that toggling App/src/libs/getSecureEntryKeyboardType/index.android.ts Lines 8 to 9 in 20b4c7d
I guess the behavior in my solution video is obvious. The same behavior can be seen for Screen_recording_20241211_232756.mp4This is the screencast from the emulator after the fix I mentioned. The behavior in the screencast was the issue that this #9593 has solved. Screencast.from.2024-12-11.23-46-45.mp4I think we cannot prevent this keyboard switching because this is the library's issue. However, when |
Thanks for the extra testing @rohit9625! I think I'm not quite convinced by the RCA in your proposal, as the behaviour is that the keyboard is switching whilst typing, which doesn't seem to be explained by setting @johncschuster Do you think it's an acceptable fix if the keyboard changes once you switch between visible/invisible modes? It's technically a regression from #9593, but it's visually less disturbing than the keyboard changing whilst you type, I think. |
@johncschuster @jjcoffee this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
@johncschuster, @jjcoffee Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@johncschuster Friendly bump on this question 🙏 |
@rohit9625 Please proceed with the PR. Being assigned here guarantees that you've got the job - there is just sometimes a delay before you get hired on Upwork. |
This comment was marked as resolved.
This comment was marked as resolved.
PR is testing well, but I'm blocked on testing on iOS Safari due to a bug which means PDFs aren't loading. I'm asking on Slack in case it's something to do with my setup. |
The PR is merged but I didn't received offer on Upwork yet. |
@rohit9625 You will most likely receive an offer once the regression period is over (7 days after the PR hits production). cc @johncschuster for confirmation. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.85-4 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 2025-01-22. 🎊 For reference, here are some details about the assignees on this issue:
|
@jjcoffee @johncschuster @jjcoffee The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Regression Test Proposal Template
Regression Test ProposalPrecondition:Test:Do we agree 👍 or 👎 |
Payment Summary (to be paid after regression window has passed)Contributor: @rohit9625 paid $250 via Upwork |
Thanks 😊 |
Payment Summary
BugZero Checklist (@johncschuster)
|
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Regression Test ProposalPrecondition:Test:
Do we agree 👍 or 👎 |
Do I have to do something else? |
Payment has been issued to @rohit9625! @jjcoffee, please request payment via ND! |
$250 approved for @jjcoffee |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 9.0.69-1
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/5284678&group_by=cases:section_id&group_order=asc&group_id=292107
Email or phone of affected tester (no customers): ibellicotest+57@gmail.com*
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
When typing the PDF password after revealing it, each character should be added smotthly
Actual Result:
Typing is not smooth when typing PDF password after revealing it. When typing in a fast manner, not every character is added to password
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6680924_1733004068289.Pass_PDF.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @johncschusterThe text was updated successfully, but these errors were encountered: