{ "id": "131764", "key": "TIMOB-17166", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "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": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" }, { "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-06-19T19:37:10.000+0000", "created": "2014-06-16T12:23:19.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "3.3.0.RC", "clipMode", "clipping", "module_view", "qe-testadded" ], "versions": [], "issuelinks": [], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T22:20:52.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "When I run the following code on both simulator and device, the first one does the clipping, but the second one fails, as screenshots show:\r\n\r\n{code:javascript}\r\nTi.UI.setBackgroundColor('#000');\r\n\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: 'red'\r\n});\r\n\r\nvar clipper = Ti.UI.createView({\r\n width: 100,\r\n height: 100,\r\n clipMode: Ti.UI.iOS.CLIP_MODE_ENABLED,\r\n backgroundColor: 'blue'\r\n});\r\n\r\nvar view = Ti.UI.createView({\r\n width: 300,\r\n height: 300,\r\n backgroundColor: 'green'\r\n});\r\n\r\nclipper.add(view);\r\nwin.add(clipper);\r\n\r\nwin.open();\r\n{code}", "attachment": [ { "id": "48964", "filename": "iOS Simulator Screen shot 16 Jun 2014 14.18.52.png", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2014-06-16T12:23:19.000+0000", "size": 16344, "mimeType": "image/png" }, { "id": "48965", "filename": "Screenshot 2014.06.16 14.18.55.png", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2014-06-16T12:23:19.000+0000", "size": 25912, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: clipMode works on Simulator, fails on device", "creator": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "environment": "CLI/SDK 3.3.0.RC\r\niOS Simulator 7.1\r\niPhone 5s, iOS 7.1.1", "closedSprints": [ { "id": 121, "state": "closed", "name": "2014 Sprint 12 SDK", "startDate": "2014-06-09T21:51:17.043Z", "endDate": "2014-06-21T00:00:00.000Z", "completeDate": "2014-06-23T16:52:29.621Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "309259", "author": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "body": "I can reproduce this problem:\r\n\r\nCLI/SDK 3.3.0.RC \r\niOS Simulator 7.1 \r\niPhone 4, iOS 7.1.1", "updateAuthor": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2014-06-17T03:42:33.000+0000", "updated": "2014-06-17T03:42:33.000+0000" }, { "id": "309275", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "Is this not going to be fixed for 3.3.0 or do I read that wrong?\r\n\r\nI have some apps breaking because of this :(", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2014-06-17T07:00:13.000+0000", "updated": "2014-06-17T07:00:13.000+0000" }, { "id": "309276", "author": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "body": "ye. Our engineer team will take care of this bug.", "updateAuthor": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2014-06-17T07:14:54.000+0000", "updated": "2014-06-17T07:14:54.000+0000" }, { "id": "309300", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~fokke] merge-3.3.0 is what you want to see.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-17T13:25:50.000+0000", "updated": "2014-06-17T13:25:50.000+0000" }, { "id": "309307", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "[~ingo], what does *Fix Version/s: Release 3.4.0* mean then? Not complaining, just trying to see the logic ;)", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2014-06-17T14:18:17.000+0000", "updated": "2014-06-17T14:18:17.000+0000" }, { "id": "309310", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~fokke] We've branched titanium_mobile for 3.3.X. We initially commit all tickets to the master branch, which is now 3.4.0, but we then cherry-pick over to 3.3.X. Thus, the finished ticket will have two fix versions, 3.3.0 and 3.4.0. We may revise this process in the future as it has been known to cause confusion.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-17T14:23:09.000+0000", "updated": "2014-06-17T14:23:09.000+0000" }, { "id": "309311", "author": { "name": "yuchi", "key": "yuchi", "displayName": "Pier Paolo Ramon", "active": true, "timeZone": "Europe/Berlin" }, "body": "Is it because if you keep 3.3.0 as {{master}} then unstable code gets into the release?", "updateAuthor": { "name": "yuchi", "key": "yuchi", "displayName": "Pier Paolo Ramon", "active": true, "timeZone": "Europe/Berlin" }, "created": "2014-06-17T14:27:15.000+0000", "updated": "2014-06-17T14:27:15.000+0000" }, { "id": "309312", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Yes, we want to only take into 3.3.0 what are blocker issues. If we didn't branch, then we'd block all other forward development.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-17T14:32:17.000+0000", "updated": "2014-06-17T14:32:17.000+0000" }, { "id": "309377", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Pull pending\r\nmaster - https://github.com/appcelerator/titanium_mobile/pull/5810\r\n3_3_X - https://github.com/appcelerator/titanium_mobile/pull/5811", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-06-17T19:47:22.000+0000", "updated": "2014-06-17T19:50:57.000+0000" }, { "id": "310047", "author": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed on:\r\nMac OSX 10.9.3\r\nAppcelerator Studio, build: 3.3.0.201406171619\r\nTitanium SDK, build: 3.3.0.v20140619144008\r\nTitanium CLI, build: 3.3.0-rc\r\nAlloy: 1.4.0-rc\r\niOS Simulator: iPhone (7.1)\r\niOS Device: iPhone 5S (7.1.1)\r\n\r\nGreen view is clipped successfully on both Simulator and Device.\r\nClosing.", "updateAuthor": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-19T22:17:57.000+0000", "updated": "2014-06-19T22:17:57.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }