Closed Bug 1109555 Opened 9 years ago Closed 6 years ago

Keyboard closes when we change focus from the B2G desktop app

Categories

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

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: Bebe, Unassigned)

References

Details

The keyboard closes when we switch focus from the B2G desktop app window.
The keyboard app reopens when we switch the focus back to the app

This behaviour affects the automated tests running on B2G desktop. If for some reason when we are interacting with the keyboard we loose focus from the b2g app the keyboard closes and the tests fail.

We can replicate this by simply typing something in the RocketBar and while the keyboard is open we change focus to some other window.

Is this a expected behaviour for the keyboard?
Is there a way to prevent this behaviour?
Blocks: 1101412
I spoke to :timdream about this last week and it's entirely expected behaviour. I can't recall the exact details but it is to do with focus deep inside the Gecko level.

Tim's recommendation was to use either focusmanager.testmode, however I found that to have no effect (perhaps it has regressed) or run desktopb2g inside a virtual buffer. I believe Gij does something like this.
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.