Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1009] TiUIWindow::requiresNewActivity strange behaviour

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionInvalid
Resolution Date2011-04-15T02:41:26.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.4.0
ComponentsAndroid
Labelsandroid, menu
ReporterKonstantin
AssigneeBlain Hamon
Created2011-04-15T02:41:25.000+0000
Updated2017-03-02T18:42:03.000+0000

Description

Platform 1.3.0, Android 2.1

Please take a look at TiUIWindow::requiresNewActivity method, actually, I spent a lot of time trying to understand how OptionMenu works on Android (and why it doesn't work in most cases :). The question is why you only check existence of required properties but not boolean values of these properties? Is this code really make window "heavyweight"?

Titanium.UI.createWindow({fullscreen:false});
Since these 2 lines create same window (I checked how "fullscreen" property is used)
Titanium.UI.createWindow({});
Titanium.UI.createWindow({fullscreen:false});
why result is different?
Of course I understand, may be this is how it works now, but it's very confusing, and creates a lot of problems

Comments

  1. Don Thorp 2011-04-15

    This is not a support queue. Please move this question to Q&A.

  2. Lee Morris 2017-03-02

    Closing as invalid.

JSON Source