Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-17547] iOS Settings Bundle display issues, Both short and long text - iOS7 only.

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionNot Our Bug
Resolution Date2014-10-10T01:40:30.000+0000
Affected Version/sRelease 3.3.0
Fix Version/sn/a
ComponentsiOS
LabelsSettings, TCSupport, formating, xml
ReporterMalcolm Hollingsworth
AssigneeEric Merriman
Created2014-07-30T14:46:16.000+0000
Updated2017-03-24T18:59:00.000+0000

Description

Problem Description

Settings.bundle pages that display long text do not show the top of the text, or anywhere near the top of the next. Attempts by the user to pull the page down to see the clipped portion fail to move the content far enough down to see the missing portion. The text content bottom portion can be viewed with ease. It would appear the "ScrollView" holding the content has a negative margin that goes above the window itself. Obviously this setting is not available to change. This problem does not exist on iOS6 it is only showing on iOS7 (no tests have been performed on iOS8). When shortening the content to a few words - the content is perfectly viewable. The problem does not occur with apps from Apple that also use long text in the Settings app entries. Example Settings.bundle plist files; (content is random gibberish)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
  <key>StringsTable</key>
  <string>Acknowledgements</string>
  <key>PreferenceSpecifiers</key>
  <array>
      <dict>
        <key>Type</key>
        <string>PSGroupSpecifier</string>
        <key>Title</key>
<string>Wrong do point avoid by fruit learn or in death. So passage however besides invited comfort elderly be me. Walls began of child civil am heard hoped my. Satisfied pretended mr on do determine by. Old post took and ask seen fact rich. Man entrance settling believed eat joy. Money as drift begin on to. Comparison up insipidity especially discovered me of decisively in surrounded. Points six way enough she its father. Folly sex downs tears ham green forty. 

Do so written as raising parlors spirits mr elderly. Made late in of high left hold. Carried females of up highest calling. Limits marked led silent dining her she far. Sir but elegance marriage dwelling likewise position old pleasure men. Dissimilar themselves simplicity no of contrasted as. Delay great day hours men. Stuff front to do allow to asked he. 

Name were we at hope. Remainder household direction zealously the unwilling bed sex. Lose and gay ham sake met that. Stood her place one ten spoke yet. Head case knew ever set why over. Marianne returned of peculiar replying in moderate. Roused get enable garret estate old county. Entreaties you devonshire law dissimilar terminated. 

Inquietude simplicity terminated she compliment remarkably few her nay. The weeks are ham asked jokes. Neglected perceived shy nay concluded. Not mile draw plan snug next all. Houses latter an valley be indeed wished merely in my. Money doubt oh drawn every or an china. Visited out friends for expense message set eat. 

Whether article spirits new her covered hastily sitting her. Money witty books nor son add. Chicken age had evening believe but proceed pretend mrs. At missed advice my it no sister. Miss told ham dull knew see she spot near can. Spirit her entire her called. 

He went such dare good mr fact. The small own seven saved man age no offer. Suspicion did mrs nor furniture smallness. Scale whole downs often leave not eat. An expression reasonably cultivated indulgence mr he surrounded instrument. Gentleman eat and consisted are pronounce distrusts. 

Put all speaking her delicate recurred possible. Set indulgence inquietude discretion insensible bed why announcing. Middleton fat two satisfied additions. So continued he or commanded household smallness delivered. Door poor on do walk in half. Roof his head the what. 

Now led tedious shy lasting females off. Dashwood marianne in of entrance be on wondered possible building. Wondered sociable he carriage in speedily margaret. Up devonshire of he thoroughly insensible alteration. An mr settling occasion insisted distance ladyship so. Not attention say frankness intention out dashwoods now curiosity. Stronger ecstatic as no judgment daughter speedily thoughts. Worse downs nor might she court did nay forth these. 

Raising say express had chiefly detract demands she. Quiet led own cause three him. Front no party young abode state up. Saved he do fruit woody of to. Met defective are allowance two perceived listening consulted contained. It chicken oh colonel pressed excited suppose to shortly. He improve started no we manners however effects. Prospect humoured mistress to by proposal marianne attended. Simplicity the far admiration preference everything. Up help home head spot an he room in. 

Perceived end knowledge certainly day sweetness why cordially. Ask quick six seven offer see among. Handsome met debating sir dwelling age material. As style lived he worse dried. Offered related so visitor we private removed. Moderate do subjects to distance.</string>
      </dict>
  </array>
</dict>
</plist>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
  <key>StringsTable</key>
  <string>Acknowledgements</string>
  <key>PreferenceSpecifiers</key>
  <array>
      <dict>
        <key>Type</key>
        <string>PSGroupSpecifier</string>
        <key>Title</key>
<string>Wrong do point avoid by fruit learn or in death.</string>
      </dict>
  </array>
</dict>
</plist>

TESTING ENVIRONMENT:

Titanium SDK: 3.2.3.GA and 3.3.0.GA Titanium CLI: 3.3.0 OS X Version: 10.9.3 iOS Version: 7.1.1 and 7.1.2

STEPS TO TEST:

Create a simple project Add [appname]/platform/phone/Seetings.bundle in the project location Then add Root.plist under that path Update Root.plist using long.plist and short.plst Run on iOS device/simulator Screenshots: Short text – On device: https://www.dropbox.com/s/n7ghl7xuf8t4h27/IMG_0063.PNG Long text – On device: https://www.dropbox.com/s/1gu1huat8b9pyqh/IMG_0069.PNG Long text – On simulator: https://www.dropbox.com/s/jdhr1imv1scthxk/Screen%20Shot%202014-08-10%20at%2012.26.51%20PM.png.jpg

Attachments

FileDateSize
FooterTextScreenshot.jpg2014-10-07T09:00:57.000+0000158068

Comments

  1. Malcolm Hollingsworth 2014-09-30

    Any movement on this one @Ingo? I know everything has been 3.4 focused so I honoured that focus, but right now this is causing me issues. T&C, privacy policies and more are simply unusable due to this issue.
  2. Ingo Muschenetz 2014-09-30

    I've placed it in an upcoming sprint. We'll re-review it shortly.
  3. Chee Kiat Ng 2014-10-07

    Tested on iOS8. Cuts off as well. After some investigation, this is an Apple bug. https://devforums.apple.com/message/894791#894791 The workaround is, replace Title with FooterText Using this workaround, long.plist works. (see screenshot)
  4. Chee Kiat Ng 2014-10-07

    add screenshot using FooterText instead of Title
  5. Malcolm Hollingsworth 2014-10-08

    I have confirmed the work around works for apps which are complied for iOS 7 and it does "work-around". I will have to check for the iOS 8 apps, but I do ot have time to review just now. Thanks for getting it this far.
  6. Lee Morris 2017-03-24

    Closing ticket with reference to the previous comments.

JSON Source