Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-8610] Android: Tab.open(windowName) doesn't open a new window inside the Tab container

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionInvalid
Resolution Date2012-04-30T14:29:16.000+0000
Affected Version/sRelease 2.0.0, Release 1.8.1, Release 1.8.2
Fix Version/sn/a
ComponentsAndroid
LabelsSupportTeam, api, parity
ReporterNikhil Sharma
AssigneeHieu Pham
Created2012-04-06T16:09:35.000+0000
Updated2017-03-09T23:25:47.000+0000

Description

In android tab.open(windowName) doesn't open a new window inside the tab container. It works fine in iOS.

tab.open(windowName) works in iOS

and

tab.add(windowName);

windowName.open();

works fine in android

I have commented it in the app.js file as well. Please find it attached.

Repo Steps

1. Run the attached app.js file. 2. Click the window 1 and you can see the new window is opening outside the tab container.

Attachments

FileDateSize
app.js2012-04-06T16:09:35.000+00001478
newWin.js2012-04-06T16:09:35.000+0000511

Comments

  1. Hieu Pham 2012-04-30

    Parity cannot be achieved with this since in iOS, the tab group is not part of the view hierarchy while in Android it is. This is well documented and Kitchen Sink relies on this logic to operate. Marking as invalid.
  2. Lee Morris 2017-03-09

    Closing ticket as invalid.

JSON Source