Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2657] modal window + navBarHidden: true = Bug

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionCannot Reproduce
Resolution Date2012-07-26T14:47:00.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsn/a
ReporterRonnie Swietek
AssigneeNeeraj Gupta
Created2011-04-15T03:26:08.000+0000
Updated2012-07-26T21:25:56.000+0000

Description

Ok so I found a bug on the iphone, havent tested on droid.

When opening a modal window, if the windows navBarHidden property is set to true, opening it the first time is fine. After closing it and reopening it, the modal window shows up behind the phones status bar at the top (where the signal, clock etc is).

I've attached a zip file of a very basic demo showing the bug.

Import the new project and compile. I've left the navBarHidden property set to false (in app.js on var activity) so you can see how it SHOULD behave.

Once you open and close the modal window a few times, open up app.js and change the navBarHidden property to true on var activity. Then open and close the modal window a couple times and you will see the second time and any time after that, it goes behind the status bar.

I am using iphone sdk 4.2 and Ti sdk 1.5.1

Attachments

FileDateSize
modal_win_test.zip2011-04-15T03:26:09.000+00001928090

Comments

  1. Ronnie Swietek 2011-04-15

    anyone try this??

  2. Stephen Tramer 2012-07-26

    Can't reproduce, SDK 2.2.0.014b86f iPhone Sim 5.1

JSON Source