Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-4602] KitchenSink: Orientation reporting new values for Landscape and Portrait in 1.7.2

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionWon't Fix
Resolution Date2011-07-08T09:49:31.000+0000
Affected Version/sRelease 1.7.2
Fix Version/sSprint 2011-27, Release 1.7.2
ComponentsiOS
Labelskitchensink
ReporterEric Merriman
AssigneeStephen Tramer
Created2011-07-06T14:17:04.000+0000
Updated2017-03-07T19:54:36.000+0000

Description

Description: While testing KitchenSink, I noticed that the Orientation being reported has changed in 1.7.2. In 1.7.1 and earlier, iPad reports one of the following: Face Up, Face Down, Landscape left, landscape right, portrait, upside portrait, and unknown. In 1.7.2, Landscape left has become "reverse landscape" and landscape right has become "Landscape". Upside portrait is now "reverse portrait" Steps to reproduce: 1) Build KS 2) Install on iPad 2 3) Navigate to Phone>Orientation 4) Rotate device to all it's orientations 5) Note the reported orientation Result: Landscape left and right replaced with "Landscape" and "reverse landscape", Upside portrait now "Reverse portrait" Expected: No change in orientation reporting

Comments

  1. Stephen Tramer 2011-07-08

    This is actually a functional test change by Opie, due to Android's capabilities. Android does not have a concept of "landscape left" and "landscape right" - it refers to them as "landscape" and "reverse landscape." In a conversation with him, I determined: - Landscape = LANDSCAPE_RIGHT - Reverse landscape = LANDSCAPE_LEFT for iOS. There may be constant name changes in 1.8.0, but there are NO API changes in 1.7.2. From now on, when testing orientation, please make sure that the device reports these accurately (this bug report seems to indicate that they do).
  2. Stephen Tramer 2011-07-08

    Worth noting that we also decided: - Portrait = PORTRAIT - Reverse portrait = UPSIDE_PORTRAIT Again, these seem to be reported correctly.
  3. Lee Morris 2017-03-07

    Closing ticket as it will not fix.

JSON Source