Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-7858] iOS: TabProxy is not being released when a tab is removed from tabGroup before it gets the focus

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-06-28T12:05:16.000+0000
Affected Version/sRelease 2.0.0, Release 1.8.2
Fix Version/sSprint 2012-05, Release 2.0.0, Release 2.1.0, Release 1.8.3
ComponentsiOS
Labelsmodule_tabgroup, qe-testadded
ReporterSandeep Bhimavarapu
AssigneeMax Stepanov
Created2012-03-01T13:38:21.000+0000
Updated2012-06-28T19:02:02.000+0000

Description

TabProxy is not being garbage collected when a tab is removed from a tabgroup using removeTab before focusing the tab/ clicking on it. *STEPS TO REPRODUCE* Open Kitchen Sink and keep on clicking Add/ Remove Tab in Base UI -> Tab Groups. Profile the app using instruments and it is evident that tab proxies are not being released. *SAMPLE CODE* Please find the sample code attached. This attached application has a base tab and buttons in it using which new tabs can be created and removed. *OBSERVATIONS* Tab proxies are removed if we remove the tabs after clicking on them.

Attachments

FileDateSize
TabTest.zip2012-03-01T13:38:21.000+00001592289

Comments

  1. Wilson Luu 2012-03-16

    Closing bug. Verified fix using KS and Sample Code on: SDK build: 2.0.0.v20120316124800 Titanium Studio, build: 2.0.0.201203152033 xcode: 4.2 Device: iphone 4s Verizon (5.0.1) Note to QE: * It takes a while for all the TiUITabProxy objects to be released. * Port TabTest.zip
  2. Sabil Rahim 2012-03-28

    Reopened to make put proper tags.
  3. Michael Pettiford 2012-04-18

    reopening/closing to add/remove labels
  4. Neha Chhabra 2012-06-28

    TiUITabProxy object is not being released Tested with Titanium SDK: 2.1.0.v20120627151616 Tested with Titanium Studio: 2.1.0.201206251749 Devices: iphone 3GS(5.0.1) OS: OSX 10.7.3 This was working fine on 2.1.0.v20120625134154 and 2.0.2
  5. Michael Pettiford 2012-06-28

    Closing issue: Tested with Ti Studio build 2.1.0.201206251749 Ti Mobile SDK 2.1.0.v20120628121617 hash r6e3cab6a OSX Lion 10.7.3 iPhone 3GS 4.3.5, iPhone 4S OS 5.0.1 Verified that the expected result is shown. *Note* A tabproxy will still be left after you remove all tabs because the tab group is still there just not tabs in it.

JSON Source