{ "id": "120390", "key": "TIMOB-15381", "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": "15699", "description": "2013 Sprint 21", "name": "2013 Sprint 21", "archived": true, "released": true, "releaseDate": "2013-10-18" }, { "id": "15700", "description": "2013 Sprint 21 API", "name": "2013 Sprint 21 API", "archived": true, "released": true, "releaseDate": "2013-10-18" }, { "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-08T22:42:39.000+0000", "created": "2013-09-24T09:12:29.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "3.1.3", "module_navbar", "qe-closed-3.2.0", "qe-manualtest" ], "versions": [], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-10-06T23:18:41.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": "If you want to emulate the back button in navigation bar and specify both an image and a title for the button, only the image will be displayed.\r\nIf the button is placed in the window, both the image and title appear.\r\n\r\nSee attached and try in a new alloy project.\r\n\r\n", "attachment": [ { "id": "42736", "filename": "index.js", "author": { "name": "sjacq", "key": "sjacq", "displayName": "Sebastien JACQ", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-09-24T09:12:29.000+0000", "size": 562, "mimeType": "text/javascript" }, { "id": "42737", "filename": "index.xml", "author": { "name": "sjacq", "key": "sjacq", "displayName": "Sebastien JACQ", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-09-24T09:12:29.000+0000", "size": 58, "mimeType": "text/xml" }, { "id": "42738", "filename": "iOS Simulator Screen shot Sep 24, 2013 11.13.17 AM.png", "author": { "name": "sjacq", "key": "sjacq", "displayName": "Sebastien JACQ", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-09-24T09:14:34.000+0000", "size": 21343, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS7: Button title not shown with image in navBar", "creator": { "name": "sjacq", "key": "sjacq", "displayName": "Sebastien JACQ", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "sjacq", "key": "sjacq", "displayName": "Sebastien JACQ", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Titanium 3.1.3\r\niOS SDK 5", "comment": { "comments": [ { "id": "272989", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello,\r\n\r\nCan you redefine your test code? Please explain your test code. Thanks ", "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2013-09-26T16:53:41.000+0000", "updated": "2013-09-26T16:53:41.000+0000" }, { "id": "273138", "author": { "name": "sjacq", "key": "sjacq", "displayName": "Sebastien JACQ", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hi,\nThe test code is doing the following:\n- Creates a NavigationGroup called [navWindow] and assigns window [rootWin]\n- Then code opens the window [secondWindow]\n- For that secondWindow opened in the NavGroup, a simple button [testBtn] is added with both image and title (this one works fine).\n- For that second window, the backButton property is set to use another button called [backButton] which is defined (just as the other button) with an image and a title.\n- However, the backButton property works fine because the button is displayed, but only with the image (the title does not appear). If only the title is used for the button mentioned for the backButtonProperty, then the title appears fine.\n\nSo the issue is that the button is not displayed correctly.\n\nApple mentions that standard back button image can be changed using the \"backIndicatorTransitionMaskImage\" property but I don't think this has been implemented in Titanium.", "updateAuthor": { "name": "sjacq", "key": "sjacq", "displayName": "Sebastien JACQ", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-09-27T08:02:07.000+0000", "updated": "2013-09-27T08:02:07.000+0000" }, { "id": "273350", "author": { "name": "sjacq", "key": "sjacq", "displayName": "Sebastien JACQ", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hi,\nCould you explain why the status has been set to resolved ? Has a correction been made ?\nThanks for your assistance.", "updateAuthor": { "name": "sjacq", "key": "sjacq", "displayName": "Sebastien JACQ", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-09-30T11:04:07.000+0000", "updated": "2013-09-30T11:04:07.000+0000" }, { "id": "273354", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello [~sjacq], \n\nPlease check this issues Resolution. Then you can see that is Incomplete. Because, when you create this issue your test code and test case was not clear. That's why I set resolution as Incomplete and Status resolved means not yet closed. I am waiting for you next response.\n\nThanks\n", "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2013-09-30T12:14:08.000+0000", "updated": "2013-09-30T12:14:08.000+0000" }, { "id": "273357", "author": { "name": "sjacq", "key": "sjacq", "displayName": "Sebastien JACQ", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hi,\r\nI posted some more explanations on 27th September about what the test code is doing. Could you please tell me if that is sufficient or need more explanation. I'll give more details if need be to help sort out this issue.\r\nCheers", "updateAuthor": { "name": "sjacq", "key": "sjacq", "displayName": "Sebastien JACQ", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-09-30T12:44:03.000+0000", "updated": "2013-09-30T12:44:20.000+0000" }, { "id": "273441", "author": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Sebastien,\n\nApologies for the mixed status here. We have move this issue to our Engineering queue for a review. The new bug number is TIMOB-15381. Please let me know if this is any blocker for your project. We do plan to address all iOS7 related bugs at our earliest.\n\nRegards,\nShak", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-09-30T20:57:20.000+0000", "updated": "2013-09-30T20:57:20.000+0000" }, { "id": "274289", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Expected behavior. The documentation is kind of incomplete on Ti.UI.Button and its behavior when used as a UIBarButtonItem.\n\nYou could just wrap the button in a regular view and set that to the leftNavButton. Alternative set a backgroundImage on the button so we use it as a custom view object.\n\n{code}\nvar wrapper = Ti.UI.createView({\n width:Ti.UI.SIZE,\n height:30 //Fits nicely in portrait and landscape\n})\n\n\nvar backBtn = Ti.UI.createButton({\n image: \"/images/nav_back.png\",\n title: \"Emulate\",\n style:Ti.UI.iPhone.SystemButtonStyle.PLAIN //For good behavior on iOS6\n});\n\nwrapper.add(backBtn);\nsecondWindow.leftNavButton = wrapper;\n{code}", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-10-08T22:42:02.000+0000", "updated": "2013-10-08T22:42:02.000+0000" }, { "id": "274290", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "JS fix in comments", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-10-08T22:42:39.000+0000", "updated": "2013-10-08T22:42:39.000+0000" }, { "id": "281917", "author": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed on:\nMac OSX 10.9 Mavericks\nTitanium Studio, build: 3.2.0.201311262027\nTitanium SDK, build: 3.2.0.v20131127194046\nCLI: 3.2.0-beta\nAlloy: 1.3.0-beta\nXcode: 5.0.2\n\nUsed the code attached to ticket as well as the code in the comments.\nBack button displays text and image. Main window displays text and image.\nClosing.", "updateAuthor": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-02T17:58:50.000+0000", "updated": "2013-12-02T17:58:50.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }