Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Show correct enter key label based on input IME options #1175

Merged
merged 1 commit into from
May 17, 2019

Conversation

MortimerGoro
Copy link
Contributor

@MortimerGoro MortimerGoro commented May 8, 2019

It seems that GV reports action go for Amazon and Google searches. iPhone browser reports searchfor both pages. May that be another GV bug @bluemarvin @cvan ?

@MortimerGoro
Copy link
Contributor Author

Fixes #60

Copy link
Contributor

@cvan cvan left a comment

Choose a reason for hiding this comment

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

thanks for working on this. found a few problematic issues:

  1. I am unable to load URLs anymore in the URL bar by typing with the keyboard and pressing Go/Enter.

  2. with the Zhuyin auto-suggestions, the Go text toggles. is that expected?

    image

    image

  3. is the string Go not yet localised in the other locales? is that why I see it in English everywhere?

@philip-lamb
Copy link
Contributor

If there are missing localisations in geckoview, we should probably back this change out for v1.2, since it's preferable to have at least the enter key localised correctly rather than having enter/search/go incorrectly localised. Comments? @MortimerGoro @bluemarvin

@MortimerGoro
Copy link
Contributor Author

@philip-lamb the localizations are in Firefox Reality. Geckoview is localization agnostic for that, they just use a enum for the type of action.

@MortimerGoro
Copy link
Contributor Author

MortimerGoro commented May 9, 2019

I'm ok with delaying this if we don't have the localizations ready. BTW we need to add a entry for the space key translations. I'll go ahead and add it so translators have everything ready

@cvan
Copy link
Contributor

cvan commented May 10, 2019

I'm ok with delaying this if we don't have the localizations ready. BTW we need to add a entry for the space key translations. I'll go ahead and add it so translators have everything ready

we should probably still land this so the strings are in strings.xml ready for localisers. but I'll defer to @philip-lamb, @jvonitter, et. al.

@philip-lamb
Copy link
Contributor

we should probably still land this so the strings are in strings.xml ready for localisers. but I'll defer to @philip-lamb, @jvonitter, et. al.

@MortimerGoro read your mind 😄... #1184 is landed and we can link the labels once the translations are in.

@philip-lamb philip-lamb added blocked bug This issue is a software or functional defect P1 Fix in the current development iteration labels May 10, 2019
@philip-lamb philip-lamb added this to the v1.3 milestone May 10, 2019
Copy link
Contributor

@cvan cvan left a comment

Choose a reason for hiding this comment

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

per #1175 (review):

  1. I am unable to load URLs anymore in the URL bar by typing with the keyboard and pressing Go/Enter.

I pulled this again, rebased against master, and I can still reproduce this bug. after typing something in the URL bar, the navigation action doesn't get triggered. it does on master.

image

@MortimerGoro MortimerGoro changed the base branch from master to release-1.2 May 16, 2019 17:06
@MortimerGoro
Copy link
Contributor Author

Ready for review again: The new texts are landed and I fixed the unable to load URLs problem

@philip-lamb
Copy link
Contributor

Unblocked as l10ns are in for key locales.

@philip-lamb philip-lamb modified the milestones: v1.3, v1.2 May 16, 2019
@philip-lamb philip-lamb added in progress and removed P1 Fix in the current development iteration labels May 16, 2019
@daoshengmu
Copy link
Contributor

Interesting. I can't reproduce this problem from release-1.2. One thing I noticed is we are showing a wrong simplified Chinese string in URL bar when typing in Traditional Chinese from @cvan's screenshots. However, on my Oculus Go, it is showing Search the Web or enter address that is also wrong when switching to Chinese keyboards.

@philip-lamb
Copy link
Contributor

philip-lamb commented May 17, 2019

Interesting. I can't reproduce this problem from release-1.2. One thing I noticed is we are showing a wrong simplified Chinese string in URL bar when typing in Traditional Chinese from @cvan's screenshots.

@daoshengmu Would you have a look at https://pontoon.mozilla.org/zh-CN/android-l10n/MozillaReality/FirefoxReality/app/src/main/res/values/strings.xml/?string=198958 and see if what is there makes sense.

However, on my Oculus Go, it is showing Search the Web or enter address that is also wrong when switching to Chinese keyboards.

That string is determined by the UI locale, which is not changed by changing the keyboard, so that is not unexpected.

@MortimerGoro
Copy link
Contributor Author

Yes, that string is expected to be fixed to the device locale. It's not specific for the current keyboard. I see the same behavior on other platforms such as iOS and Android.

I'm going to merge this for today's release candidate. @cvan follow-up if you find something else

@MortimerGoro MortimerGoro merged commit 039a903 into release-1.2 May 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug This issue is a software or functional defect
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants