{ "id": "76815", "key": "TIMOB-4482", "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": "12083", "description": "", "name": "Sprint 2011-43", "archived": true, "released": true, "releaseDate": "2011-10-31" }, { "id": "12470", "description": "", "name": "Release 1.7.4", "archived": true, "released": true, "releaseDate": "2011-10-31" }, { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "resolution": null, "resolutiondate": null, "created": "2011-06-22T13:42:11.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "RTN", "engTriage", "module_tabgroup", "qe-testadded", "reprod" ], "versions": [ { "id": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "issuelinks": [ { "id": "56885", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "172171", "key": "TIMOB-26354", "fields": { "summary": "Android: Refactor TabGroup and introduce new style", "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": "Low", "id": "4" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } }, { "id": "19064", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "97731", "key": "TIMOB-10065", "fields": { "summary": "Android: TabGroup - Tab bar does not animate on Android", "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": null, "updated": "2020-01-09T23:20:34.000+0000", "status": { "description": "This issue was once resolved, but the resolution was deemed incorrect. From here issues are either marked assigned or resolved.", "name": "Reopened", "id": "4", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Copy the following code in app.js\r\n{code}\r\n/*\r\nvar tabGroup = Ti.UI.createTabGroup({bottom:-50});\r\ntabGroup.addTab(Ti.UI.createTab({\r\n title: 'Tab 1',\r\n window: Ti.UI.createWindow({ backgroundColor: 'red', url: 'sub.js' })\r\n}));\r\ntabGroup.addTab(Ti.UI.createTab({\r\n title: 'Tab 2',\r\n window: Ti.UI.createWindow({ backgroundColor: 'blue', url: 'sub.js' })\r\n}));\r\ntabGroup.open();\r\n*/\r\n\r\n// this sets the background color of the master \r\n//UIView (when there are no windows/tab groups on it)\r\nTitanium.UI.setBackgroundColor('#000');\r\n \r\n// create tab group\r\nvar tabGroup = Titanium.UI.createTabGroup({bottom:-50});\r\n \r\n//\r\n// create base UI tab and root window\r\n//\r\nvar win1 = Titanium.UI.createWindow({ \r\n title:'Tab 1',\r\n backgroundColor:'#fff'\r\n});\r\nvar tab1 = Titanium.UI.createTab({ \r\n icon:'KS_nav_views.png',\r\n title:'Tab 1',\r\n window:win1\r\n});\r\n \r\nvar toggleBtn = Titanium.UI.createButton({\r\n top:40,\r\n height:35,\r\n width:150,\r\n title:'toggle tab bar'\r\n});\r\n \r\nwin1.add(toggleBtn);\r\ntoggleBtn.addEventListener('click', function(e){\r\n \r\n if (tabGroup.tabBarVisible == true) {\r\n tabGroup.animate({bottom:-50,duration:500});\r\n tabGroup.tabBarVisible = false;\r\n } else {\r\n tabGroup.animate({bottom:0,duration:500});\r\n tabGroup.tabBarVisible = true;\r\n }\r\n});\r\n \r\n//\r\n// create controls tab and root window\r\n//\r\nvar win2 = Titanium.UI.createWindow({ \r\n title:'Tab 2',\r\n backgroundColor:'#fff'\r\n});\r\nvar tab2 = Titanium.UI.createTab({ \r\n icon:'KS_nav_ui.png',\r\n title:'Tab 2',\r\n window:win2\r\n});\r\n \r\nvar label2 = Titanium.UI.createLabel({\r\n color:'#999',\r\n text:'I am Window 2',\r\n font:{fontSize:20,fontFamily:'Helvetica Neue'},\r\n textAlign:'center',\r\n width:'auto'\r\n});\r\n \r\nwin2.add(label2);\r\n \r\n \r\n \r\n//\r\n// add tabs\r\n//\r\ntabGroup.addTab(tab1); \r\ntabGroup.addTab(tab2); \r\n \r\n \r\n// open tab group\r\ntabGroup.open();\r\n{code}\r\n\r\nThe application works fine on 1.6.2\r\n\r\n\r\nh4.Associated Helpdesk Ticket\r\nhttp://appc.me/c/APP-757696", "attachment": [], "flagged": false, "summary": "Android: Tabgroup.animate not working on Android 2.2 with Ti sdk 1.7.0", "creator": { "name": "anagesh", "key": "anagesh", "displayName": "Anirudh Nagesh", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "anagesh", "key": "anagesh", "displayName": "Anirudh Nagesh", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Android 2.2,2.3.1 and 2.3.3 with Ti sdk 1.7.0", "comment": { "comments": [ { "id": "169095", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "Pull request ready\r\nhttps://github.com/appcelerator/titanium_mobile/pull/553", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-10-12T22:20:43.000+0000", "updated": "2011-10-12T22:20:43.000+0000" }, { "id": "170318", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "test case: When you tap the button the TabGroup should animate up/down (except for the very first time you tap the button, which doesn't do anything because of the way the test is written.)", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-10-25T07:35:31.000+0000", "updated": "2011-10-25T07:35:31.000+0000" }, { "id": "170330", "author": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with 1.7.4.v20111025151415 with TiStudio 1.0.6.201110202348 on OSX Lion 10.7.2\r\nG slate with OS version 3.1, Nexus S with OS version 2.3.6, and HTC Hero with OS version 2.1\r\nAndroid Emulator with OS version 2.2\r\n\r\ntabGroup.animate is called and behavior of toggling between animating up/down works as expected.\r\n\r\nKeeping open to confirm with 1.8 before closing.", "updateAuthor": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-10-25T08:36:32.000+0000", "updated": "2011-10-25T14:46:26.000+0000" }, { "id": "175041", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with 1.8.0.1.v20111205164258 v8/rhino on\r\nGalaxy 10.1 (3.1)\r\nDroid 1 (2.2.2)\r\nNexus S (2.3.6)", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-06T13:46:56.000+0000", "updated": "2011-12-06T13:46:56.000+0000" }, { "id": "310629", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening the issue as Tab group. animate not working properly on android. For iOS it is working fine.\r\nDifferent Sdks has different behavior.\r\nTest Environment:\r\n\r\nAppcelerator-Studio:3.3.0.201406231625\r\nSdk:3.3.0.v20140623161712\r\nacs:1.0.14\r\nalloy:1.4.0-rc2\r\nnpm:1.3.2\r\ntitanium:3.3.0-rc2\r\ntitanium-code-processor:1.1.1\r\nxcode:5.1.1\r\nOS:Maverick(10.9.3)\r\nDevice:Nexus5(v4.4.3),Nexus4(v4.1.1),GalaxyNote(v2.3.6)\r\n\r\nClicking on \"toggle tab bar\" button observations are.\r\n\r\nFor Nexus5(v4.4.3) device\r\nWith 3.3.0.v20140623161712: has no effect.\r\nWith 3.2.3.GA: window animates down continuously with every clicks.\r\n\r\nFor Nexus4(v4.1.1) device\r\nWith 3.3.0.v20140623161712: has no effect.\r\nWith 3.2.3.GA: window animates down continuously with every clicks.\r\n\r\nFor GalaxyNote(v2.3.6) device\r\nWith 3.3.0.v20140623161712: window animates up and down on first click and then on second click the button itself animates up and down.\r\nWith 3.2.3.GA: tab group animates down and flickers back to its original position on first click.On second click tab group animates up and flickers back to its original position.\r\n", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-24T06:34:17.000+0000", "updated": "2014-06-24T06:34:17.000+0000" }, { "id": "424306", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I am able to reproduce this issue with the following environment;\r\nPixel (7.1)\r\nStudio 4.9.0.201705302345\r\nTi SDK 6.1.1 GA\r\nAppc NPM 4.2.9\r\nAppc CLI 6.2.2\r\nTi CLI 5.0.14\r\nAlloy 1.9.11\r\nXcode 8.2 (8C38)\r\nNode v4.8.2\r\nJava 1.8.0_131", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-07-18T18:09:14.000+0000", "updated": "2017-07-18T18:09:14.000+0000" } ], "maxResults": 11, "total": 11, "startAt": 0 } } }