Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2967] iOS: UI - AlertDialog is no longer displayed after unlocking the phone

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionDuplicate
Resolution Date2012-01-05T09:41:20.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsn/a
ReporterAnthony
AssigneeMauro Parra-Miranda
Created2012-01-03T08:51:02.000+0000
Updated2016-03-08T07:47:58.000+0000

Description

Problem

Back from a standby phone, [Titanium.UI.AlertDialog](http://developer.appcelerator.com/apidoc/mobile/1.2/Titanium.UI.AlertDialog-object) is no longer displayed on the screen.

Test Case

+In the iOS device+ : Run the code below The "Alert Dialog" opens Locking the phone Unlock the phone The "Alert Dialog" is no longer present
// this sets the background color of the master UIView (when there are no windows/tab groups on it)
Titanium.UI.setBackgroundColor('#000');

var tabGroup = Titanium.UI.createTabGroup();

var win1 = Titanium.UI.createWindow({  
    title:'Tab 1',
    backgroundColor:'#fff'
});
var tab1 = Titanium.UI.createTab({  
    icon:'KS_nav_views.png',
    title:'Tab 1',
    window:win1
});

var alertDialog = Titanium.UI.createAlertDialog({
title : "Title",
message : "Message",
buttonNames : ["Yes", "No"]
});
alertDialog.show();

tabGroup.addTab(tab1);  

tabGroup.open();


Comments

  1. Anthony 2012-01-03

    MAJ
  2. Anthony 2012-01-03

    MAJ
  3. Paul Dowsett 2012-01-05

    Duplicate of TIMOB-6994. Closing
  4. Mauro Parra-Miranda 2013-11-24

    DUP issue.

JSON Source