Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Fix keyboard issue when editing contact journal entries (EXPOSUREAPP-5869) #2674

Merged
merged 9 commits into from
Mar 25, 2021

Conversation

ralfgehrer
Copy link
Contributor

@ralfgehrer ralfgehrer commented Mar 23, 2021

Also addresses: EXPOSUREAPP-5749, EXPOSUREAPP-5914

Tested on Pixel (Android 10) and Samsung A3 (Android 7.0)

Steps:

  • Create a person in contact journal
  • Edit Name of that person
  • go back to "Edit People" screen
  • Try to edit name again of the same person
  • keyboard should appear on first attribute (Name)

Expected result:

  • Keybord should appear and cursor should be at the end of the name field entry of a person (same for location) so one can continue writing

@ralfgehrer ralfgehrer added bug Something isn't working maintainers Tag pull requests created by maintainers labels Mar 23, 2021
@ralfgehrer ralfgehrer added this to the 2.0.0 milestone Mar 23, 2021
@ralfgehrer ralfgehrer requested a review from a team March 23, 2021 09:23
@MikeMcC399
Copy link
Contributor

I successfully tested this fix on:

  • Pixel 3a Android 11 emulator
  • Samsung Galaxy A5 (2017) Android 8.0.0

With 1.14.3 on the Pixel device the keyboard failed to display the second time.
On the A5 with Android 8 the keyboard did not even appear the first time.

Both these issues are no longer occurring with this fix. 👍🏻

This corresponds to issue #2658 (comment).

@harambasicluka harambasicluka self-assigned this Mar 25, 2021
Copy link
Contributor

@harambasicluka harambasicluka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works as expected. Tested on a OnePlus 8/Android 11.

But I fear that this will cause some trouble with Google Talkback. Will test it on a Pixel 3. -> @axelherbstreith could you also have a look?

@sonarcloud
Copy link

sonarcloud bot commented Mar 25, 2021

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

Copy link
Contributor

@harambasicluka harambasicluka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we need to check this with our accesibility colleagues, if i go to the screen I only get an announcement for the keyboard but nothing else. IMHO we should get an announcement for the screen than for the focused input field and then for the keyboard.

I currently have some trouble with my Pixel 3, so I also tested it on my OnePlus.

@axelherbstreith
Copy link
Contributor

axelherbstreith commented Mar 25, 2021

@harambasicluka @ralfgehrer tested it on my Samsung Galaxy S8. For me, the screen announcement is 100% identical to version without the bug fix.

The issue that the screen itself is not announced is due to the fact that the focus changes to the text box "Name" immediately after opening the screen. Therefore Talkback stops announcing the screen and starts announcing the text box itself. I personally would clarify this with the accessibility colleagues since as far as I can tell, this is not directly a bug.

Besides that, the fix works perfectly 👍

Copy link
Contributor

@harambasicluka harambasicluka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@axelherbstreith thanks for testing it also on an older version. So the problem wasn't introduced here 👍

@harambasicluka harambasicluka merged commit 244a9ac into release/2.0.x Mar 25, 2021
@harambasicluka harambasicluka deleted the fix/5869-cj-keyboard-issue branch March 25, 2021 13:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working maintainers Tag pull requests created by maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants