Disappearing tabs (example)

@Simeon @John Here’s an example of a tab disappearing. I’m not sure how this might relate to the other posts of tabs disappearing, but it might give you an idea of where or what to look for. Follow the instructions below.

  1. Create a new project with the code below.
  2. Tap the + sign and create a new class tab called Zzz (upper case Z, lower case zz). Name must match code below.
  3. Tap the Main tab to get back into it or stay in the Zzz tab.
  4. Execute the program.
  5. Exit the program and watch the tab Zzz get deleted.

If you stayed in the tab Zzz when the program was executed, you’ll still see the tab code even though the tab is gone.

An unprintable character ( string.char(128) ) is being added to the text of the tab and apparently when it’s saved, the tab gets deleted.

function setup()
    str=readProjectTab("Zzz")
    str=str..string.char(128)
    saveProjectTab("Zzz",str)
end

Yep the tab gets deleted. I can confirm the behavior as described on my old iPad2
( Codea 2.3.2(61) on iOS 8 )

@dave1707 thank you so much for finding this