{ "id": "133730", "key": "TIMOB-17397", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "16570", "description": "Release 3.3.1", "name": "Release 3.3.1", "archived": true, "released": false }, { "id": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-07-25T17:35:47.000+0000", "created": "2014-07-25T16:39:14.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "module_cli", "qe-manualtest" ], "versions": [ { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "issuelinks": [], "assignee": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-08-15T19:18:26.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": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "I'd like to be able to run {{ti build \\-p ios}} without having the iOS simulator steal focus from my terminal. Currently there's no option to do so. I'd like to add a {{--sim-focus}} (and corollary {{\\-\\-no-sim-focus}}) flag to the iOS options, with a default state of {{true}}, to allow developers to enable or disable the focusing. This impetus for this issue was an issue logged in the triple project as to how the sim focusing is jarring to the developer experience: [https://github.com/tonylukasavage/triple/issues/25](https://github.com/tonylukasavage/triple/issues/25)\r\n\r\nA very simple PR soon to be attached.", "attachment": [], "flagged": false, "summary": "Add --sim-focus iOS build flag to enable/disable sim focus", "creator": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "TiSDK 3.3.0", "comment": { "comments": [ { "id": "315832", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "h3. pull request\r\n\r\nmaster: https://github.com/appcelerator/titanium_mobile/pull/5932\r\n3_3_X: https://github.com/appcelerator/titanium_mobile/pull/5933\r\n\r\nh3. functional test\r\n\r\nRun a basic titanium app with the 3 following flag configurations.\r\n\r\n# {{ti build -p ios}} should focus the simulator when it loads\r\n# {{ti build -p ios --sim-focus}} should focus the simulator when it loads\r\n# {{ti build -p ios --no-sim-focus}} should *not* focus the simulator when it loads", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-07-25T17:09:36.000+0000", "updated": "2014-07-25T17:20:27.000+0000" }, { "id": "318923", "author": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested on:\r\nMac OSX 10.9.4\r\nAppcelerator Studio, build: 3.3.0.201407111535\r\nTitanium SDK, build: 3.3.1.v20140814203318, 3.4.0.v20140813022514\r\nTitanium CLI, build: 3.3.0\r\nAlloy: 1.4.1\r\niOS Simulator: 7.1\r\n\r\nFollowed test steps provided by [~tlukasavage].\r\nSimulator focuses without specifying the flag.\r\n--sim-focus does focus the simulator.\r\n--no-sim-focus does not focus the simulator.\r\n\r\nClosing.", "updateAuthor": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-15T19:13:22.000+0000", "updated": "2014-08-15T19:13:22.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }