Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2963] iOS: Disallow adding windows to windows

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionInvalid
Resolution Date2017-06-08T19:49:25.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sn/a
ComponentsiOS
Labelsapi
ReporterPaul Dowsett
AssigneeIngo Muschenetz
Created2011-04-15T03:33:50.000+0000
Updated2017-06-08T19:49:25.000+0000

Description

As discussed with stramer, who recommended this ticket be created.

Adding windows to windows causes an exception on android, as doing so it not allowed. iOS currently tolerates it, however.

This causes problems for some iOS developers who attempt to adapt their app for android, discover that it crashes at some win1.add(win2) code and wrongly believe android is at fault (see http://developer.appcelerator.com/question/105341/nested-windows-crashes-android-apps"> this Q&A post).

Hence, request that adding windows to windows throw an exception on iOS to avoid confusion.

Comments

  1. Stephen Tramer 2012-07-26

    Still valid 2.2.0.014b86f. Fits into the widget/viewGroup/etc. discussion about general add behavior.
  2. Lee Morris 2017-06-08

    Closing ticket due to time passed and lack of input or progress in the past few years.

JSON Source