{ "id": "111703", "key": "TIMOB-13215", "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": "15113", "description": "2013 Sprint 08 BB", "name": "2013 Sprint 08 BB", "archived": true, "released": true, "releaseDate": "2013-04-22" }, { "id": "15106", "description": "2013 Sprint 08", "name": "2013 Sprint 08", "archived": true, "released": true, "releaseDate": "2013-04-22" } ], "resolution": { "id": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2013-04-16T20:18:39.000+0000", "created": "2013-03-26T14:33:23.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [], "assignee": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-09T19:19:07.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": "Using the default 2 tabbed app: https://github.com/appcelerator/titanium_mobile_blackberry/blob/master/test/apps/native/tibbtest/Resources/tabgroup_test.js\r\n\r\nThe window with the white background in each tab should fill the entire tabgroup, as the initial layout state of Ti.UI.Window should be Ti.UI.FILL. Instead, it appears that the Window's size is only big enough for its content, similar to what you would expect to with Ti.UI.SIZE (see attached). Setting the height value of the Window manually has no effect using either Ti.UI.FILL or a static value like 300. Ti.UI.FILL should be the default behavior.\r\n", "attachment": [ { "id": "36646", "filename": "Screen Shot 2013-03-26 at 10.36.54 AM.png", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-26T14:33:23.000+0000", "size": 34135, "mimeType": "image/png" } ], "flagged": false, "summary": "Blackberry: Window in Tab does not fill the tab", "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.1.0.v20130320125153\r\nBB sim C", "comment": { "comments": [ { "id": "246710", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This only seems to occur if the window has a title. Removing the title fixes the problem.\nWas able to reproduce this in a native Cascades application so this may be a BlackBerry bug.\nTrying to confirm now...", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-09T19:33:43.000+0000", "updated": "2013-04-09T19:33:43.000+0000" }, { "id": "247831", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Is there a workaround then? How would one create a full-sized window or view in a tab then? I had no luck giving explicit valies for height.", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-16T20:30:16.000+0000", "updated": "2013-04-16T20:30:16.000+0000" }, { "id": "247832", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Don't use a title on a window. If you leave off the title on the window, it will fill the tab.", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-16T20:34:38.000+0000", "updated": "2013-04-16T20:34:38.000+0000" }, { "id": "247834", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "So the Windows don't have a title bar at all then when in tabs? Would it not make sense then to just ignore that property at the BB TiSDK level so the bug is never encountered?", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-16T20:42:55.000+0000", "updated": "2013-04-16T20:42:55.000+0000" }, { "id": "247887", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "No the windows do have a title bar when you set the \"title\" property.\nIt seems to be triggering a bug in Cascades itself when you add a title bar\nto a \"Page\" when displaying it as a tab. This has been reported to BB and the workaround at the moment\nis not to specify a title on your window is displaying as a tab. This shouldn't affect regular windows with titles.", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-17T04:46:49.000+0000", "updated": "2013-04-17T04:46:49.000+0000" }, { "id": "410341", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as this is not our bug.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-09T19:19:07.000+0000", "updated": "2017-03-09T19:19:07.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }