[TIMOB-16825] iOS 7: ListView - SearchBar disappears on device rotation if there are no text in the SearchBar
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-08-26T07:10:49.000+0000 |
Affected Version/s | Release 3.2.2, Release 3.2.3 |
Fix Version/s | Release 3.4.0 |
Components | iOS |
Labels | ios7, module_listview, qe-3.2.3, qe-closed-3.4.0, qe-manualtest, qe-testadded |
Reporter | Wilson Luu |
Assignee | Ingo Muschenetz |
Created | 2014-04-08T01:59:40.000+0000 |
Updated | 2014-08-27T06:38:12.000+0000 |
Description
*Details:* If you add a SearchBar to a ListView, scroll up on the list until SearchBar (no text) is not visible, rotate device, then the SearchBar will disappear if you scroll back to the top.
*Note:*
1. This is *not* a regression as this occurs in both SDK 3.2.2.GA and 3.2.3.
2. This does *not* occur with iOS 6 devices.
3. SearchBar will re-appear if you rotate the device again.
4. If SearchBar disappears and you press on the empty area (see empty.png), then the SearchBar will re-appear again and persists regardless how many times you rotate the device afterwards.
*Steps to reproduce:*
1. Create a default Classic app with the app.js attachment and include these orientation in tiapp.xml:
<key>UISupportedInterfaceOrientations~iphone</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
2. Launch app onto device
3. Press on *List w/ Search* tab
4. Scroll up on ListView until SearchBar is not visible
5. Rotate device in any direction
6. Scroll down on ListView until you're at the top
*Actual:* SearchBar is missing (see empty.png).
*Expected:* SearchBar should not disappear (see expected.png).
Attachments
File | Date | Size |
---|---|---|
app.js | 2014-04-08T01:59:40.000+0000 | 4515 |
empty.png | 2014-04-08T01:59:40.000+0000 | 63705 |
expected.png | 2014-04-08T01:59:40.000+0000 | 70089 |
Issue reproduces on SDK Version 3.2.2 But can't reproduce on SDK 3.4.0 Titanium Command-Line Interface, CLI version 3.3.0, Titanium SDK version 3.2.2 GA Titanium SDK version 3.4.0.GA Appcelerator Studio, build: 3.3.0.201407111535 iOS SDK: 7.1 iOS iPhone Simulator: 7.1
Verified with: Appcelerator Studio: 3.4.0.201408251831 Sdk:3.4.0.v20140826143313 alloy:1.5.0-dev titanium:3.4.0-dev titanium-code-processor:1.1.1 acs:1.0.16 npm:1.3.2 OS:Maverick(10.9.4) xcode: Xcode6Beta6 Device:iPhone5s(v8.0),Nexux7(v4.4.4),iPhone5c(v7.1.2) Working fine. Hence closing the issue.