Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14665] BlackBerry: OptionDialog is not shown

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-07-29T20:32:02.000+0000
Affected Version/sRelease 3.1.2
Fix Version/s2013 Sprint 15 API, 2013 Sprint 15, Release 3.1.2, Release 3.2.0
ComponentsBlackBerry
Labelsqe-testadded
ReporterFederico Casali
AssigneePedro Enrique
Created2013-07-26T04:12:06.000+0000
Updated2014-06-19T12:42:58.000+0000

Description

Problem description

OptionDialog is not being displayed on BlackBerry

Steps to reproduce

Grab sample code from samples http://docs.appcelerator.com/titanium/latest/#!/api/Titanium.UI.OptionDialog (both Classic and Alloy projects). 1. Run the sample code Result: clicking on the screen, the Option Dialog is not being dsplayed

Comments

  1. Pedro Enrique 2013-07-26

    Option dialog works as expected. Add a button and a click event to the button, then call the dialog. There seems to be a bug with the click event not firing in the window
       Ti.UI.setBackgroundColor('white');
       var win = Ti.UI.createWindow({
         title: 'Click window to test',
         backgroundColor: 'white',
         exitOnClose: true,
         fullscreen: false
       });
       
       var opts = {
         cancel: 2,
         options: ['Confirm', 'Help', 'Cancel'],
         selectedIndex: 2,
         destructive: 0,
         title: 'Delete File?'
       };
       
       var btn = Ti.UI.createButton();
       win.add(btn);
       
       btn.addEventListener('click', function(e){
         var dialog = Ti.UI.createOptionDialog(opts).show();
       });
       win.open();
       
  2. Federico Casali 2013-07-26

    Option Dialog is not being displayed with current latest 3.1.X (3.1.2.v20130725110651). It is displayed correctly with 3.2 master build. This should be fixed with the next 3.1.X build - will update the ticket accordingly.
  3. Federico Casali 2013-08-09

    OptionDialog is correctly displayed. Titanium SDK 3.1.2.v20130808180613 Alloy 1.2.0-alpha6 Appcelerator Studio 3.1.2.201308071912 CLI 3.1.2-alpha Node 0.10.13 Closing.

JSON Source