Closed Bug 984299 Opened 8 years ago Closed 8 years ago

Settings app closes when switching back and forth to keyboard activity

Categories

(Firefox OS Graveyard :: Gaia::Keyboard, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: kgrandon, Assigned: alive)

Details

Attachments

(1 file)

Weird bug I noticed today, STR:

1 - Open settings app.
2 - Navigate to keyboards
3 - Click on Demo Keyboard, then the back button several times in a row.

Actual Result:

Settings app will close, homescreen will be shown.

Expected Result:

Settings app will stay open.

Occasionally I'll also notice poor performance when opening the activity, a black screen will show for a while before the settings appear.
Seeing this in the logs:

E/GeckoConsole(14006): [JavaScript Error: "TypeError: this._activeApp is undefined" {file: "app://system.gaiamobile.org/js/app_window_manager.js" line: 524}]
Component: Gaia::System → Gaia::Settings
That is because keyboard app has a 1sec delay to kill itself and if we are having quick transitions it may close after it's opened again.
Component: Gaia::Settings → Gaia::Keyboard
Assignee: nobody → alive
Comment on attachment 8392671 [details] [review]
https://github.com/mozilla-b2g/gaia/pull/17270

Looks good.
Alive, Kevin, thanks.

Sorry that I forgot to catch this before.
Attachment #8392671 - Flags: review?(rlu) → review+
https://github.com/mozilla-b2g/gaia/commit/36dddbe8e679ffc3ea072bb8f2bc286378d9d892
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.