Closed Bug 1005764 Opened 10 years ago Closed 10 years ago

[Keyboard] keyboard should show before loadIMEngine() returns

Categories

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

ARM
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1013155

People

(Reporter: timdream, Unassigned)

References

Details

(Keywords: perf, Whiteboard: [c=progress p= s=2014.07.18.t u=] [win=84ms])

When a keyboard layout need a IM engine, we don't show the keyboard until the IM engine script is loaded and engine.init() called. We should fix that.

This bug is probably trickier to fix than others; we can't send anything to the engine before it's loaded.
Blocks: 970188
No longer depends on: 970188
Re-measurement of the last part with a few more console.log() in loadIMEEngine()

keyboard_manager.js:153 in km_init/<: 1399272886278 keyboard_manager.js:inputmethod-contextchange
keyboard_manager.js:389 in km_loadKeyboardLayout: === Enable keyboard: app://keyboard.gaiamobile.org run as OOP ===
keyboard_manager.js:777 in km_setLayoutFrameActive: 1399272886314 keyboard_manager.js:setLayoutFrameActive:false
keyboard_manager.js:777 in km_setLayoutFrameActive: 1399272886319 keyboard_manager.js:setLayoutFrameActive:true
keyboard.js:4 in anonymous: 1399272886821 keyboard.js
keyboard.js:305 in initKeyboard: 1399272887181 keyboard.js:initKeyboard
keyboard.js:482 in loadLayout: 1399272887204 keyboard.js:loadLayout
keyboard.js:488 in setKeyboardName/loadLayout/script.onload: 1399272887260 keyboard.js:loadLayout:loaded
keyboard.js:1771 in loadIMEngine: 1399272887261 loadIMEngine
keyboard.js:1820 in IMEngineLoaded: 1399272887345 loadIMEngine:loaded
keyboard.js:1825 in IMEngineLoaded: 1399272887355 loadIMEngine:loaded:engine.init()
keyboard.js:889 in updateTargetWindowHeight: 1399272887494 keyboard.js:updateTargetWindowHeight

7345-7261 = 84ms
Whiteboard: [win=187ms] → [win=84ms]
Actually a dup of bug 1013155 -- not sure why I filed the bug twice.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Keywords: perf
Whiteboard: [win=84ms] → [c=progress p= s=2014.07.18.t u=] [win=84ms]
You need to log in before you can comment on or make changes to this bug.