Menu

#647 Initial rotation not performed

iphone_1.10
closed
None
5
2020-07-18
2020-07-18
No

The following issue was seen on simulator (for iPhone SE 2nd gen) at commit 0af116b1.

Scenario:

  • start application in portrait mode and see database list as expected
  • turn to landscape and see rotation to landscape screen
  • exit application and restart.
    Note: the simulator shows device in portrait mode now.
  • turn to landscape

Expected behaviour: rotation to landscape screen
Observed behaviour: no rotation.

Continue: turn to portrait, then again to landscape. Now it rotates as expected.

Discussion

  • Christa Runge

    Christa Runge - 2020-07-18
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,10 +1,14 @@
     The following issue was seen on **simulator** (for iPhone SE 2nd gen) at commit 0af116b1.
    +
     **Scenario:**
    +
     * start application in portrait mode and see database list as expected
     * turn to landscape and see rotation to landscape screen
     * exit application and restart.
     **Note: **the simulator shows device in portrait mode now.
     * turn to landscape
    +
     **Expected behaviour: **rotation to landscape screen
     **Observed behaviour: **no rotation.
    -**Note: **turn to portrait, then again to landscape. Now it rotates as expected.
    +
    +**Continue: **turn to portrait, then again to landscape. Now it rotates as expected.
    
     
  • Christa Runge

    Christa Runge - 2020-07-18
    • status: open --> closed
    • assigned_to: Christa Runge
     
  • Christa Runge

    Christa Runge - 2020-07-18

    Resolved with commit ac861a0.
    Root cause: call to [UIViewController attemptRotationToDeviceOrientation] was missing.
    New behaviour:
    After I exit the simulator from landscape mode, it still turns to portrait. But when I restart the application, it turns back to landscape. From now on the UI rotates as expected, and is in synch with the device orientation.

     

Log in to post a comment.