{ "id": "126766", "key": "TIMOB-16535", "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": "15939", "description": "2014 Sprint 07", "name": "2014 Sprint 07", "archived": true, "released": true, "releaseDate": "2014-04-11" }, { "id": "15942", "description": "2014 Sprint 07 Tooling", "name": "2014 Sprint 07 Tooling", "archived": true, "released": true, "releaseDate": "2014-04-11" }, { "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-03-31T22:36:47.000+0000", "created": "2014-02-24T17:54:57.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_button", "qe-testadded" ], "versions": [ { "id": "15856", "description": "Release 3.2.1", "name": "Release 3.2.1", "archived": false, "released": true, "releaseDate": "2014-02-10" } ], "issuelinks": [ { "id": "36319", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "126829", "key": "TIMOB-16517", "fields": { "summary": "MobileWeb: Button \"font\" property not working", "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": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2014-06-19T12:44:43.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": "On Mobile Web Buttons have two deficiencies.\r\n\r\n1. Buttons are missing a font property, so you can't change the font size or face.\r\n2. Buttons do not treat leading spaces in the \"title\" the same as other platforms. HTML ignores the spaces, so button.title = \" Some Text\" would be treated as if it were button.title = \"Some Text\". This is not true on Android or iOS\r\n\r\nI'm combining these as I have a fix I'll submit as a pull request.", "attachment": [], "flagged": false, "summary": "MobileWeb: Button.js issue with missing font property and inconsisent treatment of whitespace characters in title", "creator": { "name": "andrew@gstreetmedia.com", "key": "andrew@gstreetmedia.com", "displayName": "Andrew Greenstreet", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "andrew@gstreetmedia.com", "key": "andrew@gstreetmedia.com", "displayName": "Andrew Greenstreet", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "294390", "author": { "name": "andrew@gstreetmedia.com", "key": "andrew@gstreetmedia.com", "displayName": "Andrew Greenstreet", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Fixed in:\n\nhttps://github.com/appcelerator/titanium_mobile/pull/5370", "updateAuthor": { "name": "andrew@gstreetmedia.com", "key": "andrew@gstreetmedia.com", "displayName": "Andrew Greenstreet", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-24T18:04:11.000+0000", "updated": "2014-02-24T18:04:11.000+0000" }, { "id": "294454", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Thank you so much for submitting this pull request. In order for us to evaluate this pull request, we need a simple runnable test case illustrating the current issue so that we then can use the PR to verify that the issue has been fixed indeed.\n\nAgain, we appreciate your effort and hard work.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-24T20:33:19.000+0000", "updated": "2014-02-24T20:33:19.000+0000" }, { "id": "295209", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Moving this ticket to engineering to evaluate this PR in the context of this ticket.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-03-03T02:47:32.000+0000", "updated": "2014-03-03T02:47:32.000+0000" }, { "id": "299404", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~andrew@gstreetmedia.com] Why would you have whitespace at the beginning of a line of text in a button? Are you doing this for alignment, perhaps when the button has an icon?", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-03-31T21:50:42.000+0000", "updated": "2014-03-31T21:53:21.000+0000" }, { "id": "299411", "author": { "name": "andrew@gstreetmedia.com", "key": "andrew@gstreetmedia.com", "displayName": "Andrew Greenstreet", "active": true, "timeZone": "America/Los_Angeles" }, "body": "That is exactly the reason why. I only offered this up for parity, as in Android or iOS if you add whitespace characters to a button with an icon, the text will shift right. HTML will ignore the double whitespace and treat it as a single space.", "updateAuthor": { "name": "andrew@gstreetmedia.com", "key": "andrew@gstreetmedia.com", "displayName": "Andrew Greenstreet", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-03-31T22:03:40.000+0000", "updated": "2014-03-31T22:03:40.000+0000" }, { "id": "299414", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~andrew@gstreetmedia.com] Hmm, ok. I'm fine with inserting {{ }}, but we may also want to increase the default padding.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-03-31T22:11:36.000+0000", "updated": "2014-03-31T22:11:36.000+0000" }, { "id": "299426", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-03-31T22:35:27.000+0000", "updated": "2014-03-31T22:35:27.000+0000" }, { "id": "299427", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "3_2_X_hybrid pull request: https://github.com/appcelerator/titanium_mobile/pull/5561", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-03-31T22:36:38.000+0000", "updated": "2014-03-31T22:36:38.000+0000" }, { "id": "305211", "author": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed on:\r\nMac OSX 10.9.3\r\nAppcelerator Studio, build: 3.3.0.201405121247\r\nTitanium SDK, build: 3.3.0.v20140515133312\r\nTitanium CLI, build: 3.3.0-dev\r\nAlloy: 1.4.0-alpha\r\n\r\nLeading whitespace is displayed correctly.\r\nFonts are also recognised, chrome not displaying Helvetica-Light due to the browser not supporting it.\r\nFirefox successfully displays the font though.\r\nClosing.", "updateAuthor": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-15T23:36:51.000+0000", "updated": "2014-05-15T23:36:51.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }