Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-6002] iOS: Kitchensink - Phone>Status Bar, Hiding the status bar, rotating device, then showing the status bar results in partially obscured navBar

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2011-11-14T09:31:21.000+0000
Affected Version/sRelease 1.8.0
Fix Version/sSprint 2011-45, Release 1.8.0.1
ComponentsiOS
Labelsios110211, regression
ReporterEric Merriman
AssigneeBlain Hamon
Created2011-11-04T14:45:54.000+0000
Updated2014-06-19T12:43:34.000+0000

Description

Description: While testing KS, Phone>Status Bar, I clicked "Hide/Show" to hide the status bar, rotated the device to landscape, then unhid the status bar. This resulted in the navBar drawn at the top of the screen, with the status bar also drawn from the top of the screen. The navBar was partially obscured but the status bar. This behavior differs from that of 1.7.5 SDK. On 1.7.5, the UI elements move up and down with the hiding of the status bar. The navBar is animated to appear "Pushed down" by the incoming status bar. When the status bar is not visible, the navBar is always drawn at the top of the visible display. On 1.8.0, the first hide of the status bar leaves a white gap as the status bar animates off the display, the navBar does not move. On rotation, the navbar snaps to the top of the display and does not move as the status bar animates onto the display. Steps to reproduce: 1) Install and launch KS 1.8.0 2) Navigate to Phone>Status Bar 3) Click "Hide/Show" button to hide status bar 4) Rotate device 5) Click "Hide/Show" button again Result: Initially a white gap at top of screen, no animation or movement of the navBar, then a partially obscured navBar Expected: NavBar animates in tandem with status bar and moves to top of screen, moving out of the way of status bar.

Attachments

FileDateSize
after hide.png2011-11-04T14:45:54.000+000050951
after rotation and unhide.png2011-11-04T14:45:54.000+000057349

Comments

  1. Natalie Huynh 2011-12-03

    Tested with SDK: 1.8.0.1.v20111203093857 iPhone 4s 5.0.1 iPad 2 4.3.5 iPod 3rd gen 4.0.2

JSON Source