{ "id": "154087", "key": "TIMOB-20187", "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": "17707", "name": "Release 5.3.0", "archived": false, "released": true, "releaseDate": "2016-06-04" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-05-10T04:31:38.000+0000", "created": "2016-01-04T02:26:22.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-5.3.0" ], "versions": [ { "id": "14826", "description": "Release 5.1.0-remaining iOS9 features, Android M features", "name": "Release 5.1.0", "archived": false, "released": true, "releaseDate": "2015-11-20" } ], "issuelinks": [ { "id": "51663", "type": { "id": "10122", "name": "Gantt: start-finish", "inward": "is triggered by", "outward": "is triggering" }, "outwardIssue": { "id": "160151", "key": "TIDOC-2518", "fields": { "summary": "Windows: Window minimum size ", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-05-12T17:32:08.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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "As of Windows 10, Windows Store App began to handle its independent Window and does not run under full-screen mode. Because Titanium API basically runs under mobile environment, we don't usually think about size of main Window. We want to handle Window size under Store App.\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({width:300, height: 500});\r\nwin.open(); // window should be shown with size of 300x500\r\n{code}\r\n\r\n!window.png|thumbnail!", "attachment": [ { "id": "59160", "filename": "storeHeightWidth.PNG", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2016-05-06T21:29:27.000+0000", "size": 10472, "mimeType": "image/png" }, { "id": "57870", "filename": "window.png", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-01-04T02:25:55.000+0000", "size": 6617, "mimeType": "image/png" } ], "flagged": false, "summary": "Windows: Window width & height for Store App", "creator": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 627, "state": "closed", "name": "2016 Sprint 10 SDK", "startDate": "2016-05-07T00:43:56.954Z", "endDate": "2016-05-21T00:43:00.000Z", "completeDate": "2016-05-23T02:06:04.349Z", "originBoardId": 114 }, { "id": 555, "state": "closed", "name": "2016 Sprint 1 SDK", "startDate": "2016-01-02T01:31:50.127Z", "endDate": "2016-01-16T01:31:00.000Z", "completeDate": "2016-01-18T00:52:43.848Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "373709", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/519", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-01-04T09:53:30.000+0000", "updated": "2016-01-04T09:53:30.000+0000" }, { "id": "385044", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "body": "I can verify that setting the window height / width still does not work for Store App. _(See attached screenshot)_\r\n\r\nTested on: \r\nWindows 10 Pro \r\nWindows Phone 10.0 (Microsoft Lumia 640 LTE) \r\nAppc Studio: 4.6.0.201605030516\r\nTi SDK: 5.3.0.v20160503133640\r\nAppc NPM: 4.2.5-5\r\nAppc Core: 5.3.0-43\r\nNode: v4.4.2\r\n\r\n*Reopening Ticket.*", "updateAuthor": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2016-05-06T21:28:37.000+0000", "updated": "2016-05-06T21:28:37.000+0000" }, { "id": "385232", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Resizing to 50 x 50 doesn't work for Window because of platform component spec. \r\n\r\nAccording to the [doc from MS|https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.viewmanagement.applicationview.tryresizeview] resizing Window only works when:\r\n\r\n- The requested size is larger than the available work area.\r\n- The requested size is less than the view's minimum size.\r\n- This method is called while in while the app is running in Tablet Mode.\r\n\r\nAnd the doc says minimum size is 192 x 48. So Resizing to 50 x 50 doesn't work in this case. So I think this is kind of a documentation issue. I'll request documentation update.", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-05-10T04:31:38.000+0000", "updated": "2016-05-10T04:31:38.000+0000" }, { "id": "385469", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-05-11T23:12:50.000+0000", "updated": "2016-05-11T23:12:50.000+0000" }, { "id": "385552", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "body": "[~kota] Thank you for clarifying the minimum & maximum dimensions. I can now verify that resizing the window to any dimension between the min / max works correctly. \r\n\r\nTested on: \r\nWindows 10 Pro \r\nAppc Studio: 4.6.0.201605030516\r\nTi SDK: 5.3.0.v20160509143032\r\nAppc NPM: 4.2.5-5\r\nAppc Core: 5.3.0-44\r\nNode: v4.4.4\r\n\r\n*Closing Ticket.*", "updateAuthor": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2016-05-12T17:32:01.000+0000", "updated": "2016-05-12T17:32:01.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }