andreasgal/gaia — Issue #387: Gaia.AppManager.foregroundWindow returns the wrong iframe
Author: timdream
Created: 2012-02-10 12:02:45+00:00
State: open
Labels: bug, homescreen

STR:

# add `dump(activeWindow.id);` to line 442 (right after `case 'showime':`) of `keyboard.js`, run b2g
# Go to SMS app, go to one of the messages and turn on the keyboard
# Go to Dialer app and leave the app by pressing the return key
# Go back to SMS app and try to turn on the keyboard again.

Result:

Keyboard didn't show up.

dump returns `window_1`, then `window_2`

Expected result:

dump should return `window_1` twice.

keyboard should show up.

This issue has the same effect of #371, but different reproducible path.