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

[Bug] (regression) changing language requires an app restart now #9413

Closed
cadeyrn opened this issue Mar 25, 2020 · 13 comments
Closed

[Bug] (regression) changing language requires an app restart now #9413

cadeyrn opened this issue Mar 25, 2020 · 13 comments
Labels
🐞 bug Crashes, Something isn't working, .. eng:qa:verified QA Verified Feature:Settings 🌐 L10N Localization, translation, strings, .. needs:uplift Issue / PR needs to be uplifted to the release branch S2 Major Functionality/product severely impaired and a satisfactory workaround doesn't exist

Comments

@cadeyrn
Copy link
Contributor

cadeyrn commented Mar 25, 2020

Steps to reproduce

  1. change the language within Fenix

Expected behavior

The change applies immediately, as before 5202c0a.

Actual behavior

You have to restart Fenix to see the change of the language. It's a regression from the appcompat update in 5202c0a.

But good news is that the update fixed #7559 - an app start is also required in this case, but it's much better than a feature that is not working at all.

/cc @eliserichards @ekager

Device information

  • Android device: OnePlus 7T Pro McLaren Edition, OxygenOS 10.0.7 (Android 10)
  • Fenix version: master branch revision 40ba433

┆Issue is synchronized with this Jira Task

@cadeyrn cadeyrn added the 🐞 bug Crashes, Something isn't working, .. label Mar 25, 2020
@cadeyrn cadeyrn changed the title [Bug] (regression) changing language requires a app restart [Bug] (regression) changing language requires an app restart now Mar 25, 2020
@github-actions github-actions bot added the needs:triage Issue needs triage label Mar 25, 2020
@Diana-Rus
Copy link

Hi, I confirm issue on FIrefox Preview Nightly 200326 (Build #20860605) GV: 76.0a1-20200324093140 with:

  • Google Pixel 3 XL (Android 9)
    20200326-160131

  • Samsung Galaxy S9 (Android 8)

  • Sony Xperia Z5 (Android 7)

@Diana-Rus Diana-Rus added S2 Major Functionality/product severely impaired and a satisfactory workaround doesn't exist 🌐 L10N Localization, translation, strings, .. Feature:Settings labels Mar 26, 2020
@abodea abodea removed the needs:triage Issue needs triage label Mar 27, 2020
@liuche liuche added this to todo in 4.2 Mar 27, 2020
@liuche liuche added this to Prioritized Bug Backlog in Fenix Sprint Kanban Mar 31, 2020
@liuche liuche removed this from todo in 4.2 Apr 1, 2020
@liuche
Copy link
Contributor

liuche commented Apr 7, 2020

This should be fixed by mozilla-mobile/android-components#6517, which landed earlier, so it will probably be in the next AC nightly version that gets pulled into fenix.

@liuche liuche added the eng:qa:needed QA Needed label Apr 7, 2020
@cadeyrn
Copy link
Contributor Author

cadeyrn commented Apr 7, 2020

This is working for me now.

@lobontiumira
Copy link

lobontiumira commented Apr 8, 2020

Hi all,

This is not entirely fixed yet.

  • In Fenix, I've set the language to Arabic/Urdu (or any RTL language), the language changed as expected in the app.
  • Change back to follow the device's language, the app remained stuck between languages, meaning the language is changed, but the app is stuck in the RTL position.
  • If Fenix is in the background and reopened, nothing changes.
  • If Fenix is closed and reopened, it is working as expected again.

Device information:

  • Android devices: HTC 10 (Android 8), Samsung Galaxy S9 (Android 8), and Motorola G6 (Android 8),
  • Fenix version: Nightly build from 4/8
  • Not reproducible on Google Pixel (Android 10), OnePlus 5T (Android 9), Sony Xperia Z5 Premium (Android 7.1.1), Samsung Galaxy Tab A6 (Android 5.1.1), OnePlus A3 (Android 6.0.1), LG g7 fit (Android 8.1)

I'll remove the qa:needed label.
Please see the attached GIF for better understanding:
language

@lobontiumira lobontiumira removed the eng:qa:needed QA Needed label Apr 8, 2020
@liuche
Copy link
Contributor

liuche commented Apr 10, 2020

That's definitely kind of weird behavior. @boek what do you think, since it's on a few devices (and I assume for RTL switching back and forth) do you want to file this as a follow-up, or try to fix it here?

@boek
Copy link
Contributor

boek commented Apr 10, 2020

@liuche I think we should try to fix. It looks like it's an entire Android version

@liuche liuche added the needs:uplift Issue / PR needs to be uplifted to the release branch label Apr 14, 2020
@liuche liuche added this to To do in Release Tracking via automation Apr 14, 2020
@ebalazs-sv
Copy link

This is reproducible on Fenix Beta 4.3.0-beta.1 from 4/14 with Motorola Moto G6 (Android 8).

boek added a commit to boek/fenix that referenced this issue Apr 16, 2020
boek added a commit to boek/fenix that referenced this issue Apr 16, 2020
boek added a commit to boek/fenix that referenced this issue Apr 16, 2020
boek added a commit to boek/fenix that referenced this issue Apr 16, 2020
boek added a commit to boek/android-components that referenced this issue Apr 16, 2020
@boek boek added the eng:qa:needed QA Needed label Apr 17, 2020
@project-bot project-bot bot moved this from Prioritized Bug Backlog to Ready for QA in Fenix Sprint Kanban Apr 17, 2020
@boek
Copy link
Contributor

boek commented Apr 17, 2020

This needs QA in 4.3. Once mozilla-mobile/android-components#6690 lands we can test on Nightly

@lobontiumira
Copy link

Hi all!

The issue regarding RTL languages is still reproducible on Nightly build from 4/21 on HTC 10 (Android8), LG G7 Fit (Android 8.1), and Samsung Galaxy S9 (Android 8) - please see the GIF below taken with HTC device:

nightly

On HTC 10, and Samsung Galaxy S9, the issue is fixed on Beta 4.3.0-beta.2 - please see the GIF below:

beta

However, on LG G7 Fit (Android 8.1) is not fixed yet, on Beta 4.3.0-beta.2 - please see the GIF below:

20200421_145649

I'll remove the qa:needed flag for now.

@lobontiumira lobontiumira removed the eng:qa:needed QA Needed label Apr 21, 2020
@project-bot project-bot bot moved this from Ready for QA to Sprint Backlog in Fenix Sprint Kanban Apr 21, 2020
boek added a commit to boek/android-components that referenced this issue Apr 22, 2020
boek added a commit to boek/android-components that referenced this issue Apr 22, 2020
boek added a commit to boek/android-components that referenced this issue Apr 22, 2020
bors bot pushed a commit to mozilla-mobile/android-components that referenced this issue Apr 22, 2020
6690: For mozilla-mobile/fenix#9413 - Workaround Android 8 to update layoutDirection on activity recreation r=Amejia481 a=boek



Co-authored-by: Jeff Boek <jeff@jeffboek.com>
@mcarare mcarare added this to API 26 in API-specific issues Apr 28, 2020
@mcarare mcarare added the eng:qa:needed QA Needed label Apr 28, 2020
@project-bot project-bot bot moved this from Sprint Backlog to Ready for QA in Fenix Sprint Kanban Apr 28, 2020
@sv-sdeiac
Copy link

Hi, this issue is still reproducible using the latest version of Firefox Preview Nightly 4/30 #21210606.

Device:

  • LG G7 fit (Android 8.1).

I'll remove the qa:needed flag till new updates are coming.

@sv-sdeiac sv-sdeiac removed the eng:qa:needed QA Needed label Apr 30, 2020
@boek
Copy link
Contributor

boek commented Apr 30, 2020

🤦 will be fixed with mozilla-mobile/android-components#6834

@liuche
Copy link
Contributor

liuche commented May 14, 2020

This should have landed in Nightly by now since that AC issue is fixed and merged, so adding the QA-needed label again.

@liuche liuche added the eng:qa:needed QA Needed label May 14, 2020
@project-bot project-bot bot moved this from Sprint to Ready for QA in Fenix Sprint Kanban May 14, 2020
@lobontiumira
Copy link

Verified as fixed on the latest Nightly build from 5/18 with HTC 10 (Android 8), and LG G7 Fit (Android 8.1).

Fenix Sprint Kanban automation moved this from Ready for QA to Sprint 20.9 Done May 18, 2020
@lobontiumira lobontiumira added eng:qa:verified QA Verified and removed eng:qa:needed QA Needed labels May 18, 2020
@project-bot project-bot bot moved this from Sprint 20.9 Done to Sprint in Fenix Sprint Kanban May 18, 2020
@sblatz sblatz moved this from Sprint to Sprint 20.9 Done in Fenix Sprint Kanban May 18, 2020
@mcarare mcarare removed this from API 26 in API-specific issues Jan 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🐞 bug Crashes, Something isn't working, .. eng:qa:verified QA Verified Feature:Settings 🌐 L10N Localization, translation, strings, .. needs:uplift Issue / PR needs to be uplifted to the release branch S2 Major Functionality/product severely impaired and a satisfactory workaround doesn't exist
Projects
No open projects
Development

No branches or pull requests

9 participants