blackberry/WebWorks — Issue #62: Switching between inputs on 9810 causes software keyboard to disappear
Author: filmaj
Created: 2011-10-26 21:11:05+00:00
State: open

I have a very simple WebWorks application. Here is the entire markup:

```html

Test

```

I compiled the page with WebWorks SDK v2.2.0.15 running on a Mac.

Once I open the application, the two inputs are visible, one above the other.

I have a Torch 9810 (running OS version 6.1.0.50), and I load the app with the hardware keyboard closed. If I tap one input, then tap the other input, the software keyboard will not re-render properly and either end up as a blank white screen or a blank black screen. However, the keyboard is "there" - if I tap the white/black area where the keyboard is supposed to be, the key I hit blindly gets entered into the input and the software keyboard gets re-rendered properly.

I can tap any non-input element and re-tap the input element to get the software keyboard to render properly. Also sliding in/out the hardware keyboard also fixes this.

If the software keyboard is in a bad render state, and I switch device orientations, interestingly the software keyboard does not get re-rendered but remains in this bad render state.

Here are screenshots to go along with the reproduction steps (sorry for the blurriness but it is a simple white page with two off-white input elements);

Step 1: Load the app - http://www.flickr.com/photos/44056739@N07/6284400532/in/photostream
Step 2: Tap the first input - http://www.flickr.com/photos/44056739@N07/6283881069/in/photostream
Step 3: Tap the other input, now white square where keyboard should be - http://www.flickr.com/photos/44056739@N07/6283881165/in/photostream
Step 4: Tap anywhere within the white square where the keyboard should be, keyboard renders properly: http://www.flickr.com/photos/44056739@N07/6283881237/in/photostream

I have tested this on a pair of 9800s running 6.0.0.337 and 6.0.0.526 and neither of those devices exhibit this problem.

I am seeing this issue on a client project with regards to a login page for an application. Presumably this would be a common use case.