Opened 8 years ago

Closed 8 years ago

Last modified 7 years ago

#14165 closed defect (fixed)

Opener behavior very strange on android phone

Reported by: rott Owned by: Douglas Hays
Priority: high Milestone: 1.8
Component: DojoX Mobile Version: 1.7.0b1
Keywords: android-bug Cc:
Blocked By: Blocking:

Description

I have not looked at code, but took a video of the behavior of

http://archive.dojotoolkit.org/nightly/checkout/dojox/mobile/tests/test_Opener-RoundSelectList-async.html

On 10/28/2011 on an HTC EVO 4G. See attached.

Change History (13)

comment:2 Changed 8 years ago by Douglas Hays

Can you briefly describe the problem to help understand the video?

comment:3 Changed 8 years ago by rott

Yup sorry. When I visit the URL:

http://archive.dojotoolkit.org/nightly/checkout/dojox/mobile/tests/test_Opener-RoundSelectList-async.html

From an HTC EVO 4G web browser, the rendering is initially pushed way off screen, to the top.

  1. Drag it down so I can click the text field.
  2. When I click on the text box, the Opener slides up from bottom, but slides all the way up to mid-screen and pushes the text field off screen to the top.
  3. clicking it snaps it into proper place
  4. then I can scroll the list, but after a few scrolls the opener renders itself half-size
  5. Then a click "snaps" it back to proper size
  6. a few more swipes up or down, once the momentum stops, it disappears
  7. swiping in the area it should be makes it visible again, but it disappears after end of each momentum stop.
  8. finding and clicking the text box again makes everything disappear until I refresh the page.

It's just generally all around bad behavior. :)

The smaller testcases below renders ok, but demonstrates that the pull-down menu does not actually pull down, and the textbox does not bring up the soft keyboard:

comment:4 Changed 8 years ago by rott

Incidentally, changing from Opener to Overlay improves the behavior significantly.

comment:5 Changed 8 years ago by rott

Forgot to mention, the two smaller testcases are against Dojo SVN 26935.

comment:6 Changed 8 years ago by ykami

Owner: changed from ykami to Douglas Hays

comment:7 Changed 8 years ago by Chris Mitchell

Milestone: tbd1.7.1

comment:8 Changed 8 years ago by Douglas Hays

Summary: Opener behavior very strange on phoneOpener behavior very strange on android phone

The SELECT dropdown problem is an Android bug. rott, can you follow up on that since you found it. Removing Dojo, the following renders perfectly, but you cannot popup the SELECT dialog unless you touch several em's below it:

<body>
        <br><br><br><br><br>
        <select style="position:relative;z-index:1;">
                <option value="0">One</option>
                <option value="1">Two</option>
        </select>
        <div style="position:fixed; left:0; bottom:0;"></div>
</body>

comment:9 Changed 8 years ago by Chris Mitchell

Keywords: android-bug added

comment:10 Changed 8 years ago by Douglas Hays

I'm not seeing the original problem on my HTC with android 2.2.
rott, what android version are you running?

comment:11 Changed 8 years ago by Douglas Hays

Milestone: 1.7.11.8

Fix needs some test time before being backported to 1.7.

comment:12 Changed 8 years ago by Douglas Hays

Resolution: fixed
Status: newclosed

In [27306]:

Fixes #14165. Change Opener overlay to reposition an Overlay on a timer to avoid sporadic keyboard popup issues. Change testcase to not use a TABLE to avoid Android rendering issues.

comment:13 Changed 7 years ago by Mark Wubben

(Wrong ticket ref, apologies.)

Last edited 7 years ago by Mark Wubben (previous) (diff)
Note: See TracTickets for help on using tickets.