blackberry / WebWorks

BlackBerry WebWorks for Smartphones is a platform for building deeply integrated web applications for BlackBerry smartphones
http://developer.blackberry.com/html5
268 stars 51 forks source link

Switching between inputs on 9810 causes software keyboard to disappear #62

Open filmaj opened 12 years ago

filmaj commented 12 years ago

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

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1" />
    <title>Test</title>
  </head>
  <body>
    <input type="text" />
    <br/>
    <br/>
    <br/>
    <input type="text" />
  </body>
</html>

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.

jeffheifetz commented 12 years ago

Hey fil,

6.1 is the old version of what became 7.0. It was released to certain partners on early hardware releases.Is there anyway you can load up 7.0, as you should almost never find 6.1 in the wild so it shouldn't represent a real problem.

filmaj commented 12 years ago

Any recommended way for me to update this 9810 device to 7.0?

jeffheifetz commented 12 years ago

Try using desktop manager. It should be able to get you an update

tneil commented 12 years ago

Did upgrading the OS fix the issue?