{ "id": "91228", "key": "TIMOB-8959", "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": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2017-06-26T20:09:25.000+0000", "created": "2012-05-02T16:56:59.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [ { "id": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2018-04-04T23:20:22.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": "11500", "name": "MobileWeb", "description": "Mobile Web (HTML) Platform" } ], "description": "The tiapp.xml allows for a property called \"ti.ui.defaultunit\" that sets the default unit. Mobile web's default unit is pixels (px).\r\n\r\nFor more information about the ti.ui.defaultunit property, look at the Ti.UI.View documentation: http://docs.appcelerator.com/titanium/2.0/index.html#!/api/Titanium.UI.View", "attachment": [], "flagged": false, "summary": "MobileWeb: Add support for ti.ui.defaultunit property", "creator": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "environment": null, "comment": { "comments": [ { "id": "287841", "author": { "name": "sophrinix", "key": "sophrinix", "displayName": "Andrew McElroy", "active": true, "timeZone": "America/Los_Angeles" }, "body": "was this ever fixed in versions 3.x ?\r\n\r\nI am beginning to look into what it would take to change or set the default unit to dip. \r\nThis is actually important enough to be me to announce a bounty if I need to :-) \r\n\r\nedit: when I generate a hello world classic titanium 3.x mobile web app I find this in index.html\r\nrequire(\"Ti/App/Properties\", function(p) {\r\n\tp.setString(\"ti.ui.defaultunit\",\"system\");\r\n});\r\n\r\nDoes that mean that mobile web is actually now using dip or that system is actually still px?\r\nI'm still looking into this. this might be a closable ticket.", "updateAuthor": { "name": "sophrinix", "key": "sophrinix", "displayName": "Andrew McElroy", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-12T03:33:14.000+0000", "updated": "2014-01-12T03:41:54.000+0000" }, { "id": "287856", "author": { "name": "sophrinix", "key": "sophrinix", "displayName": "Andrew McElroy", "active": true, "timeZone": "America/Los_Angeles" }, "body": "yeah. you should be able to close this issue. system really does seem to behave correctly. However, I am on a retina MBP. This should not matter, but it is worth testing on a non rMPB", "updateAuthor": { "name": "sophrinix", "key": "sophrinix", "displayName": "Andrew McElroy", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-12T04:34:37.000+0000", "updated": "2014-01-12T04:34:37.000+0000" }, { "id": "288324", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "ti.ui.defaultunit is not supported by Titanium Mobile Web yet. We haven't scheduled this yet and we haven't done the research to see how we should handle the various unit types.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-01-15T19:27:34.000+0000", "updated": "2014-01-15T19:27:34.000+0000" }, { "id": "422811", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Marking ticket as \"Won't Fix\" as MobileWeb has been deprecated.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-26T20:09:25.000+0000", "updated": "2017-06-26T20:09:25.000+0000" }, { "id": "436348", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as will not fix.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-04-04T23:20:22.000+0000", "updated": "2018-04-04T23:20:22.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }