{ "id": "62675", "key": "TIMOB-2043", "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": "11225", "name": "Release 1.5.0", "archived": true, "released": true, "releaseDate": "2010-12-14" } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2011-04-15T03:08:55.000+0000", "created": "2011-04-15T03:08:55.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "defect", "encoding", "image", "ios", "regression" ], "versions": [], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-02T19:25:31.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}

1.BaseUI>Views>Image Views>IMage View Encoding
\n2.note appearance of image

\n

results: image scales to screen size. New behavior (would be\nmuch smaller), not sure if its intentional.

{html}", "attachment": [], "flagged": false, "summary": "iOS: Image View Encoding - image now scales to window widths", "creator": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "127340", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

This is another case where previous behavior may or may not be\nconsidered \"correct.\" We have two options here:

\n\n

It seems to be that the first was previous behavior, and the\nsecond is new behavior. It comes down to whether or not we want\nimages to scale to the view size specified by the user when they\nindicate no width/height, or if we want the view to scale to the\nimage when they specify no width/height.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:08:55.000+0000", "updated": "2011-04-15T03:08:55.000+0000" }, { "id": "127341", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

I'm going to propose that the new functionality should be the\nexpected behavior, as it allows a means to use the older behavior:\nIf height and width were set to be 'auto', it should work. Were the\nold functionality restored, there would be no way short of using\ntransforms to scale up images.

\n

If we do it this way, this would be invalid.

{html}", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:08:55.000+0000", "updated": "2011-04-15T03:08:55.000+0000" }, { "id": "127342", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

ticket marked invalid, new behavior os now the expected one.\nThanks guys.

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:08:56.000+0000", "updated": "2011-04-15T03:08:56.000+0000" }, { "id": "408455", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closed as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-02T19:25:31.000+0000", "updated": "2017-03-02T19:25:31.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }