Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11676] iOS: KitchenSink - the search bar failed to return the screen's width after orientation was changed

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionDuplicate
Resolution Date2013-09-26T20:57:40.000+0000
Affected Version/sRelease 2.1.4, Release 3.1.0
Fix Version/sn/a
ComponentsiOS
Labelsqe-3.1.3, qe-ios214
ReporterOlga Romero
AssigneeIngo Muschenetz
Created2012-11-06T21:46:00.000+0000
Updated2014-06-19T12:44:04.000+0000

Description

Description: While testing Kitchen sink, the search bar does not resize when rotating the device to landscape then back to portrait. Not a regression, did occur in 2.1.3 Steps to reproduce: 1) Install KS 2) Launch KS > Base UI > Views > Table Views > Headers with Filter 3) Rotate the device to landscape Searchbar autofill size of the screen. 3) Rotate the device back to portrait Actual result: Searchbar is shorter then the width of the screen. See screenshots. Expected: Searchbar resizes based on orientation.

Attachments

FileDateSize
after_backtoportrait.png2012-11-06T21:46:00.000+000067946
beforerotation.png2012-11-06T21:46:00.000+000067898
landscape.png2012-11-06T21:46:00.000+000059357

Comments

  1. Shameer Jan 2013-03-25

    The problem reproduce with release 3.1.0 and 3.0.2 tested on Titanium Studio, build: 3.0.2.201302191606 Titanium SDK version: 3.1.0 Titanium SDK version: 3.0.2 iOS iPhone Simulator: iOS SDK version: 6.0 iOS iPad Simulator: 6.0 but it works fine on iphone simulator
  2. Olga Romero 2013-03-27

    I reproduced the issue with: Titanium Studio, build: 3.1.0.201303261815 Titanium SDK, build: 3.1.0.v20130327075056 Device: iPad mini iOS 6.0
  3. Olga Romero 2013-09-03

    I encountered a new behavior of a Searchbar. The DIFFERENCE is: after search performed in iOS7, a searchbar is not resizing anymore, although it is still an issue in iOS6. Reproduced with: Appcelerator Studio, build: 3.1.3.201308302458 Titanium SDK, build: 3.1.3.v20130902103448 KS[3_1_X] https://github.com/appcelerator-developer-relations/KitchenSink/tree/3_1_X CLI: 3.1.2 Alloy: 1.2.1 Devices: iPad 4 iOS7(11A4449d)
  4. Matej 2013-09-14

  5. Olga Romero 2014-06-18

    Closing as duplicate.

JSON Source