Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-15917

Android: Window: New window does not open in button click

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Release 3.2.0
    • Component/s: Android
    • Environment:

      Description

      Android: Window: New window does not open in button click
      It works fine on SDK: 3.1.3.GA

      Steps to reproduce:
      1. Run the below app.

      var _window = Titanium.UI.createWindow({ 
          backgroundColor:'#fff'
      });
       
      var button = Ti.UI.createButton({
      			title : 'Press me'
      		});
       
      		button.addEventListener('click', function() {
       
      			var win = Ti.UI.createWindow({
      				backgroundColor : 'white',
      				borderColor : 'black',
      				borderWidth : 1,
      				width : '100%',
      				height : '100%',
      				navBarHidden : true
      			});			
      			win.open();
      			
      		});		
      		_window.add(button);
       
      _window.open();
      

      2. Click press me

      Expected:
      A new window should open

      Actual:
      A black screen appears

        Attachments

          Activity

            People

            • Assignee:
              pwang Ping Wang
              Reporter:
              pmishra Paras Mishra
              Reviewer:
              Allen Yeung
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-17994
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Source Code