Closed ochameau closed 10 years ago
I tried this out on OS X 10.8, but it doesn't appear to work. When I click the rotation button, nothing happens.
I remember there being Mac-specific complexities when this was converted from XUL to HTML, perhaps that is related?
The code looks reasonable, but there are still a couple of issues with the experience.
First, one can only rotate the view 90º in one direction, which was fine when only orientable apps were experiencing rotation. But now that all apps experience rotation, and non-orientable apps like Homescreen turn sideways, it seems likely that users will split between wanting to see those sideways apps pointing in one direction vs. the other. So we should enable that (perhaps by making each successive click of the button cause the view to rotate another 90º in the same direction).
Second, if you're in an orientable app (like Marketplace), and you rotate the screen to landscape, and then you return to the Homescreen, the rotation changes back to portrait. I would expect it to stay rotated.
I'd prefer to address these experience issues before landing the change, but in any case this is a big improvement, so I'm ok with landing it and then iterating on the details.
Looks good, r=myk!
https://bugzilla.mozilla.org/show_bug.cgi?id=925765