{ "id": "119975", "key": "TIMOB-15189", "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": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-10-09T15:08:19.000+0000", "created": "2013-09-14T20:57:31.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "barcolor", "barimage", "ios7", "modal", "triage", "window" ], "versions": [], "issuelinks": [ { "id": "32413", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "103044", "key": "TIMOB-11876", "fields": { "summary": "iOS 6: Drop shadow in navigation bar cannot be disabled through Titanium", "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": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } }, { "id": "32683", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "121400", "key": "TIMOB-15542", "fields": { "summary": "iOS: BarImage - Setting a barImage property on windows crashes on SDK 3.2.0 with iOS 5.1.X", "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": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2013-10-18T23:37:42.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": "When opening a modal window from a child window having a the property \"barImage\", this property is ignored and the underlayed \"barColor\" is used, if set. The given app.js and barImage.png shows this problem.\r\n\r\nExpected behaviour: The barImage stays where it is and the modal window opens.\r\nGiven behaviour: The barImage is beeing removed for a moment and comes back after closing the modal window", "attachment": [ { "id": "42496", "filename": "app.js", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-09-14T20:57:32.000+0000", "size": 764, "mimeType": "text/javascript" }, { "id": "42497", "filename": "barImage.png", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-09-14T20:57:32.000+0000", "size": 1035, "mimeType": "image/png" }, { "id": "42498", "filename": "barImage@2x.png", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-09-14T20:57:32.000+0000", "size": 1218, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS7: Opening a Modal Window removes BarImage of the Parent-Window for a moment", "creator": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "environment": "iOS 7 GM, Titanium SDK 3.1.3.v20130913160104\r\n", "comment": { "comments": [ { "id": "271206", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "We cleanUp windowDecorations in viewWillDisappear. So this is happening.\r\n\r\nWe could possible do it in viewDidDisappear but that might have weird side effects. Not a high priority issue for 3.1.3. Not even sure if we will fix this.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-16T08:14:31.000+0000", "updated": "2013-09-16T12:47:49.000+0000" }, { "id": "271207", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Ok, but it seems to be a iOS7-bug only, so the disappearing of barImages should be relevant, too. Without, the modals are useless for productional projects.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-09-16T08:18:58.000+0000", "updated": "2013-09-16T08:18:58.000+0000" }, { "id": "271271", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Additional info: The problem also occurs on iOS < 7 (tested with 5.0, 6.0 and 6.1) and worked fine in older released of the Ti-Sdk. See no reason why thinking about not fixing it. Thank you!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-09-16T15:24:09.000+0000", "updated": "2013-09-16T15:24:09.000+0000" }, { "id": "271276", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~hansknoechel] I think the only reason we wouldn't fix it immediately is that fixing it quickly might introduce more serious (but subtle) side effects that we wouldn't catch in time before the release. In that case, we could fix it and push it to the CI builds so people interested could take advantage of the fix.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-16T15:32:07.000+0000", "updated": "2013-09-16T15:32:07.000+0000" }, { "id": "271277", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Ok :-) Guess i use the temporary fix by moving the cleanUp-method to viewDidDisappear. Thank you!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-09-16T15:34:50.000+0000", "updated": "2013-09-16T15:34:50.000+0000" }, { "id": "271279", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~hansknoechel] I think others would appreciate it if you posted your workaround. Is that possible?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-16T15:39:07.000+0000", "updated": "2013-09-16T15:39:07.000+0000" }, { "id": "271286", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Just noticed, that moving the method doesn't help at all. The whole titleBar will be removed permanently when doing this. I guess we'll have to wait.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-09-16T15:49:59.000+0000", "updated": "2013-09-16T15:49:59.000+0000" }, { "id": "271300", "author": { "name": "kosso", "key": "kosso", "displayName": "kosso", "active": true, "timeZone": "Europe/London" }, "body": "I've found this happens on any window which uses a barImage. The image (and specifically the titleControl) will flicker when returning to the window. \r\n\r\nTo get around it for now, I'm only setting a barImage for < iOS7 devices. ", "updateAuthor": { "name": "kosso", "key": "kosso", "displayName": "kosso", "active": true, "timeZone": "Europe/London" }, "created": "2013-09-16T16:59:12.000+0000", "updated": "2013-09-16T16:59:12.000+0000" }, { "id": "274376", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "This should be fixed along with the backgroundImage refactor done for TIMOB-11876", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-10-09T15:08:19.000+0000", "updated": "2013-10-09T15:08:19.000+0000" }, { "id": "275762", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed. Verified BarImage does not disappear for a moment on the parent window when opening a modal window.\n\nTested on:\n\nTitanium Studio, build: 3.2.0.201310180511\nSDK build: 3.2.0.v20131018142442\nOS: Mac OS X Mountain Lion (10.8.5)\nDevices: iphone 5 (6.1.3) iphone 5 (7.0.2)\n\n*However,* the attached app.js crashes on iphone 4 (5.1.1) with SDK 3.2.0.v20131018142442. Will file another ticket.", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-10-18T22:53:14.000+0000", "updated": "2013-10-18T22:53:14.000+0000" } ], "maxResults": 11, "total": 11, "startAt": 0 } } }