-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[$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 🙏 |
@rafecolton @johncschuster @jjcoffee this issue is now 4 weeks old, please consider:
Thanks! |
Not overdue, just waiting for @rafecolton to return from OOO. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@rafecolton, @johncschuster, @jjcoffee Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Friendly bump @rafecolton 🙇 |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Thanks for the bump. My understanding is that @rohit9625's proposal will remove the flickering but that the keyboard will change when you click the eye. And that we have agreed this is the preferred outcome even though it is technically a "regression." Is that right? If so, I will assign @rohit9625 😊 |
Not overdue melvin, I just commented two hours ago 😄 |
@rafecolton That's right! |
📣 @rohit9625 You have been assigned to this job! |
Should I write the same proposal for applying to the Upwork job? |
I don't known. @johncschuster? |
I've applied for the Upwork job and you can expect the PR on 10th Jan 2025. |
I didn't received a offer at upwork yet. Should I wait or proceed with PR? |
bump @johncschuster |
@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. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] 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): [email protected]*
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
The text was updated successfully, but these errors were encountered: