build.settings default orientation bug

I know there are a few bugs open about things like this, I just wanted to point out something specific.

For iPad builds, when I set “landscapeLeft” as my default, the simulator opens in landscapeRight. I don’t know if the same happens for iPhone.

landscapeRight, as anticipated, opens in landscapeLeft.

(home button should be opposite the direction… so when home is on left, you’re in landscapeRight)

I’m sure this has something to do with my 1200 tall screen resolution, but portraitUpsideDown actually has something entirely different happen. The home button is at the top, but the actual simulator window gets cut off about 2/3s of the way down. This is so weird, I put it online for you to see (I blurred out the content).

http://spowers.net/Corona/simulator_broken_portraitUpsideDown.jpg

Regardless, the actual content of the simulator is broken for all orientations except portrait. The content always shows up in portrait mode regardless of default orientation. I think this is likely due to the problem being discussed in another thread here with regards to there being no orientation event on startup if the orientation is the default. Because of this, I always orient on the guess I’m in “portrait” mode since there’s no way to detect it.

Scott [import]uid: 5659 topic_id: 1013 reply_id: 301013[/import]

Currently, build.settings does not determine application orientation, only initial (splash screen) orientation. This was added because somebody submitted an iPad game that had no clear internal orientation, and in those cases the App Store reviewers demand an orientation-aware splash screen for iPad.

We are currently adding settings for the application orientation itself. I’m also adding your report here as a new bug #202 that we’ll test against. [import]uid: 3007 topic_id: 1013 reply_id: 2537[/import]