{ "id": "160321", "key": "TIMOB-23405", "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": [], "resolution": { "id": "6", "description": "", "name": "Hold" }, "resolutiondate": "2016-06-09T05:11:47.000+0000", "created": "2016-05-17T23:11:51.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "qe-5.3.0" ], "versions": [ { "id": "17707", "name": "Release 5.3.0", "archived": false, "released": true, "releaseDate": "2016-06-04" } ], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-06-09T05:11:47.000+0000", "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" } }, "components": [ { "id": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "Ti.Platform.version returns an unexpected value on windows.\r\n\r\n*Steps to reproduce:* \r\n# Use the app.js below \r\n# Run the application and check either the logs or the window \r\n\r\n*app.js*\r\n{code:javascript}\r\nTitanium.UI.setBackgroundColor('#000');\r\n\r\nvar win = Titanium.UI.createWindow({ \r\n title:'',\r\n backgroundColor:'#fff'\r\n});\r\nvar defaultLabel = Ti.Platform.version;\r\nvar label = Titanium.UI.createLabel({\r\n color:'#999',\r\n text: defaultLabel,\r\n font:{fontSize:20,fontFamily:'Helvetica Neue'},\r\n textAlign:'center',\r\n width:'auto'\r\n});\r\nTi.API.info(Ti.Platform.version);\r\n\r\n\r\nwin.add(label);\r\n\r\nwin.open();\r\n{code}\r\n\r\n*Actual :*\r\n{code:java}\r\n6.3.9651.0\r\n{code}\r\n\r\n\r\n*Expected:*\r\n{code:java}\r\n8.1\r\n{code}", "attachment": [], "flagged": false, "summary": "Windows: Ti.Platform.version returns an unexpected value ", "creator": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "environment": "Nokia Lumia 928 (8.1) \r\nWindows 10 \r\nStudio: 4.6.0.201605160952\r\nTi SDK: 5.3.0.v20160516040258\r\nAppc NPM: 4.2.5-5 \r\nApp CLI: 5.3.0-45 \r\nNode v0.12.7", "closedSprints": [ { "id": 641, "state": "closed", "name": "2016 Sprint 12 SDK", "startDate": "2016-06-04T00:30:28.612Z", "endDate": "2016-06-18T00:30:00.000Z", "completeDate": "2016-06-20T04:25:16.065Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "386086", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "So this is kind of a quirk of Windows OS, where I'm not sure of the correct behavior. Basically when asked, Windows gives build versions that don't match expectations with regards to the OS name. You can look at https://en.wikipedia.org/wiki/List_of_Microsoft_Windows_versions to get an overview, but basically 6.2.x means Windows 8.0, 6.3.x means Windows 8.1, and 10.0.x means Windows 10.\r\n\r\nPresumably we'd want to expose the real version number we got from the OS (which is what we do), though certainly for 8.1 this is confusing. Do we mangle the version from 6.3.x to 8.1.x?\r\n\r\n", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2016-05-18T18:48:22.000+0000", "updated": "2016-05-18T18:48:22.000+0000" }, { "id": "387672", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile_windows/pull/738", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-06-06T18:46:17.000+0000", "updated": "2016-06-06T18:46:17.000+0000" }, { "id": "387837", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Per [PR #738|https://github.com/appcelerator/titanium_mobile_windows/pull/738] cc [~jlongton]\r\n\r\n{quote}\r\nSo first, I'm not even sure we should be doing this. I understand it's confusing that Windows reports the version as 6.3.x for Windows 8.1 - but that's what they do. I think we should surface the version as they report it, even though their \"marketing\" version differs.\r\n\r\nBut, if the consensus generally is to hack the version, then yeah we should keep the build number at the end. But, I'd argue we should get more feedback from people internally/externally about this before we go hacking the version string.\r\n{quote}\r\n\r\nShould we resolve this as \"Won't Do\" for now?", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-06-08T09:42:31.000+0000", "updated": "2016-06-08T09:42:31.000+0000" }, { "id": "387913", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR looks good. Hold until we get more feedback from people internally/externally about this before we go hacking the version string.", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-06-09T05:11:47.000+0000", "updated": "2016-06-09T05:11:47.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }