Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-8879] Android: childWindow might not open if it is a lightweight window

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionInvalid
Resolution Date2012-04-26T15:50:10.000+0000
Affected Version/sRelease 2.1.0
Fix Version/sn/a
ComponentsAndroid
LabelsSupportTeam, api, regression
ReporterFederico Casali
AssigneeHieu Pham
Created2012-04-25T02:03:16.000+0000
Updated2017-03-20T20:38:19.000+0000

Description

Problem description

Child Window might not correctly open if it is a lightweight window

Steps to reproduce

- Run the attached reduced sample project - Click on login and then on XYZ label. Then click on the 'Click on the personal rate of return option' Result: child window is not opened In the attached project, see uibuilder.js where the Child Window is defined (around line 48). Setting a property like navBarHidden or fullscreen would turn the window in heayWeight and it's normally openend (even if in that case the tabGroup would not be present). Customer wants to use lightweight windows in order to have the tabGroup always present. Issue not reproducible in TiSDK 2.0.X but only on latest Maaster.

Attachments

FileDateSize
INGmigrationIssues.zip2012-04-25T02:09:24.000+00004068040

Comments

  1. Hieu Pham 2012-04-26

    This is an application bug. The piece of code that causes this is (in ui.js):
       ngrs.UI.addTabGroupListener = function(_tabGroup) {
       		if(ingrs.isAndroid()) {
       			_tabGroup.addEventListener('click', function(e) {
       				ingrs.UI.closeAllWindowsTillMain(Ti.API._activeTab);
       			});
       		}
       
    The reason why this works in 2.0.x is b/c of timob-4063- tabGroup events didn't propagate properly then. Closing as invalid.
  2. Lee Morris 2017-03-20

    Closing ticket as invalid.

JSON Source