Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-6107] Android: AlertDialog: Rhino/v8, Only see the buttons not the dialog after the first invoke, but screen dims indicating one is up

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2011-11-09T12:40:23.000+0000
Affected Version/sRelease 1.8.0.1
Fix Version/sSprint 2011-45, Release 1.8.0
ComponentsAndroid
Labelsbranch-v8
ReporterNatalie Huynh
AssigneeJosh Roesslein
Created2011-11-08T12:34:18.000+0000
Updated2014-06-19T12:44:13.000+0000

Description

Steps To Reproduce: 1. Launch Application 2. Base UI > Views > Alert Dialog AND Base UI > Views > Options Dialog 3. Click Basic Alert twice Actual Result: First time the alert comes up and then second time only the button displays Expected Result: Should display the alert every time

Comments

  1. Josh Roesslein 2011-11-08

    Test case:
       
       var win = Ti.UI.createWindow({backgroundColor:'red'});
       
       var a = Ti.UI.createAlertDialog({title:"Hello", message:"world!"});
       
       var b = Ti.UI.createButton({title:"click", width:100, height:50});
       win.add(b);
       
       b.on("click", function() {
       	Ti.API.debug("Click!");
       	a.show();
       });
       
       win.open();
       
  2. Josh Roesslein 2011-11-08

    [Pull request #654](https://github.com/appcelerator/titanium_mobile/pull/654)
  3. Natalie Huynh 2011-12-07

    Tested with 1.8.0.1.v20111207090257 Xoom (3.2.1) - v8 Samsung Tab 10.1 (3.1) - rhino

JSON Source