{ "id": "115045", "key": "TIMOB-14006", "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" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-05-08T17:28:21.000+0000", "created": "2013-05-28T20:23:19.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "bb33", "qe-closed-3.3.0", "qe-testadded", "sdk-bb" ], "versions": [ { "id": "15478", "description": "Release 3.1.1", "name": "Release 3.1.1", "archived": true, "released": true, "releaseDate": "2013-06-17" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [ { "id": "33782", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "114876", "key": "TIMOB-13971", "fields": { "summary": "BlackBerry : Changes in the DPI are needed to keep the parity of controls layout across platforms", "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" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "29107", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "114750", "key": "TIMOB-13951", "fields": { "summary": "BlackBerry: Allow containers to use Ti.UI.SIZE to size to labels and buttons", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:43:38.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": "10230", "name": "BlackBerry", "description": "BlackBerry Platform" } ], "description": "Description:\r\n1. Create A BB app with the following code:\r\n{code}\r\nvar win1 = Titanium.UI.createWindow({ \r\n backgroundColor:'#fff'\r\n});\r\n \r\nvar view1 = Titanium.UI.createView({\r\n backgroundColor:'red',\r\n width:Ti.UI.SIZE,\r\n height:Ti.UI.SIZE\r\n});\r\n \r\nvar label1 = Titanium.UI.createLabel({\r\n backgroundColor:'blue',\r\n color:'#999',\r\n text:'Label Test',\r\n font:{fontSize:20,fontFamily:'Helvetica Neue',fontStyle:'italic'},\r\n width:Ti.UI.SIZE,\r\n height:Ti.UI.SIZE\r\n});\r\n \r\nview1.add(label1);\r\nwin1.add(view1);\r\nwin1.open();\r\n{code}\r\n\r\n2. Build and run the app on BB device or simulator\r\n3. Launch the app\r\n\r\nActual Results:\r\n1. The view is not displayed\r\n\r\nExpected Resuts:\r\n1. The view is displayed along with the label", "attachment": [ { "id": "40903", "filename": "Ti.UI.SIZE.tiff", "author": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-18T20:56:49.000+0000", "size": 64140, "mimeType": "image/tiff" }, { "id": "41268", "filename": "TIMOB-14006.png", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-02T10:24:48.000+0000", "size": 15377, "mimeType": "image/png" } ], "flagged": false, "summary": "BlackBerry: View with height & width set to Ti.UI.SIZE & a label on it does not display the view", "creator": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Environment:\r\nTi Studio : 3.1.1.201305150313\r\nTi BB SDK : 3.1.1.v20130524180421\r\nMac OSX : 10.8.2\r\nwin 7 \r\nWin 8 \r\nZ10 BB simulator : 10.0.10.822\r\nZ10 device running 10.0.10.88\r\n\r\nQ10 Simulator : 10.1.0.1720\r\nQ10 Dev alpha C device running 10.1.0.138", "comment": { "comments": [ { "id": "254435", "author": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Fixed with width and height adjusted per margins fix. timob-13777", "updateAuthor": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-28T22:57:12.000+0000", "updated": "2013-05-28T22:57:12.000+0000" }, { "id": "255715", "author": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Fixed in pr timob-13777", "updateAuthor": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-04T01:37:31.000+0000", "updated": "2013-06-04T01:37:31.000+0000" }, { "id": "259290", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I can see this issue again . Thus reopening. This is a regression now.\r\n\r\nEnvironment:\r\nTi Studio : 3.1.1.201306112235\r\nTi BB SDK : 3.1.2.v20130624104600 & 3.2.0.v20130624141648\r\nMac OSX : 10.8.4\r\nAlloy : 1.1.3\r\nCLI - 3.1.1\r\nwin 7 \r\nWin 8 \r\nZ10 BB simulator : 10.0.10.822\r\nZ10 device running 10.0.10.88", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-06-24T23:11:09.000+0000", "updated": "2013-06-24T23:11:09.000+0000" }, { "id": "259295", "author": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This works for me.", "updateAuthor": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-24T23:22:54.000+0000", "updated": "2013-06-24T23:22:54.000+0000" }, { "id": "262364", "author": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "running the above test yields this screen shot.", "updateAuthor": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-18T20:56:49.000+0000", "updated": "2013-07-18T20:56:49.000+0000" }, { "id": "262365", "author": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Why was this reopened. I just tested and it works. See screen shot\n\n", "updateAuthor": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-18T20:56:58.000+0000", "updated": "2013-07-18T20:56:58.000+0000" }, { "id": "264397", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified with:\r\n\r\nStudio: 3.1.2.201307261628\r\nSDK: 3.1.2.v20130730133101\r\nacs:1.0.4\r\nalloy:1.2.0-alpha\r\ntitanium:3.1.1\r\ntitanium-code-processor:1.0.2-alpha\r\nOS: OSX 10.8.4\r\nDevice:Blackberry-Z10(v 10.0.10.261)\r\nblackberry SDK: 10.1.0.1020\r\n\r\n\r\nStill not working. Getting white coloured screen.", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-01T12:47:37.000+0000", "updated": "2013-08-01T12:47:37.000+0000" }, { "id": "264605", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Priya, we cannot reproduce this. We're seeing what's expected. Can you please upload a screenshot of what you're seeing?\n\nThanks!", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-08-01T23:42:09.000+0000", "updated": "2013-08-01T23:42:09.000+0000" }, { "id": "264660", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Sorry for not attaching the screenshot while reopening.", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-02T10:25:21.000+0000", "updated": "2013-08-02T10:25:21.000+0000" }, { "id": "284141", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopened, talked to [~penrique]\r\nAppcelerator Studio, build: 3.2.0.201312101708\r\nTitanium SDK, build: 3.2.0.v20131212122847\r\nCLI 3.2.0-cr3\r\nAlloy 1.3.0-cr\r\nBlackBerryZ10 10.1\r\n\r\nNote: this code works on Simulator BB10_2_0X", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-13T00:00:44.000+0000", "updated": "2013-12-13T00:21:04.000+0000" }, { "id": "284159", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Something very odd. This fails on device when using Titanium Studio, but it works fine on simulator. Also works fine on device when running from Momentics.", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-12-13T01:38:56.000+0000", "updated": "2013-12-13T01:38:56.000+0000" }, { "id": "304328", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the Fixed with environment:\r\nAppc-Studio:3.3.0.201405080918\r\nsdk:3.3.0.v20140509180608\r\nacs:1.0.14\r\nalloy:1.4.0-dev\r\nnpm:1.3.2\r\ntitanium:3.3.0-dev\r\ntitanium-code-processor:1.1.1\r\nxcode:5.1.1\r\nDevice:Blackberry Z10(v10.0.10.261)\r\n\r\nGetting the label and View when View height and width set as \"Ti.UI.SIZE\".\r\nWorking as expected. Hence Closing the issue.", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-12T06:57:42.000+0000", "updated": "2014-05-12T06:57:42.000+0000" } ], "maxResults": 12, "total": 12, "startAt": 0 } } }