{ "id": "117290", "key": "ALOY-750", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [ { "id": "15403", "description": "Alloy 1.3.0", "name": "Alloy 1.3.0", "archived": false, "released": true, "releaseDate": "2013-12-20" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-08-08T13:53:11.000+0000", "created": "2013-07-17T13:46:16.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-testadded" ], "versions": [ { "id": "15477", "description": "Alloy 1.1.2", "name": "Alloy 1.1.2", "archived": false, "released": true, "releaseDate": "2013-05-02" } ], "issuelinks": [], "assignee": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-10-14T19:06:27.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "13603", "name": "Styling", "description": "TSS, dynamic styling, styling API" } ], "description": "this causes a compiler error when doing this in a TSS file:\r\n\r\nwindowSoftInputMode: Ti.UI.Android.SOFT_INPUT_STATE_HIDDEN | Ti.UI.Android.SOFT_INPUT_ADJUST_PAN\r\n\r\nPer docs, this should be possible: http://docs.appcelerator.com/titanium/3.0/#!/api/Titanium.UI.Window-property-windowSoftInputMode", "attachment": [], "flagged": false, "summary": "Can't use a pipe separator (bitwise operator) in TSS for some API's that require it", "creator": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "subtasks": [], "reporter": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "environment": null, "comment": { "comments": [ { "id": "264673", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "A workaround for this would be doing the bitwise operation in the alloy.js, adding this as a property to Alloy.Globals, then using the property in the TSS. It's unwieldy, but will work until a fix is in place.", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-02T13:42:20.000+0000", "updated": "2013-08-02T13:42:20.000+0000" }, { "id": "265556", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/alloy/pull/215\r\ntest app: https://github.com/appcelerator/alloy/tree/master/test/apps/testing/ALOY-750\r\n\r\nFor functional test to pass:\r\n\r\n# Run the test app for android\r\n# Ensure that the compile process does not generate errors (it did before this was resolved)\r\n# Check the generated code in \"Resources/alloy/controllers/index.js\" and make sure that the main window has the following in its construction properties:\r\n{code}\r\nwindowSoftInputMode: Ti.UI.Android.SOFT_INPUT_STATE_HIDDEN | Ti.UI.Android.SOFT_INPUT_ADJUST_PAN\r\n{code} \r\n\r\nIn addition, the full automated test suite should be run to ensure that there are no regressions in the TSS handling due to the grammar changes.\r\n", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-08T13:53:11.000+0000", "updated": "2013-08-08T13:53:11.000+0000" }, { "id": "275009", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed.\n\nTiSDK 3.2.0.v20131013140318\nAlloy 1.3.0\n\nAndroid simulator 2.3.3 and Google Nexus One 4.1.2\n\nClosing", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-14T19:06:13.000+0000", "updated": "2013-10-14T19:06:13.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }