Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1526] new Issue: iPad - Orientation issues when rotating with video in fullscreen

GitHub Issuen/a
TypeBug
PriorityTrivial
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:56:24.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.6.0 M09
ComponentsiOS
Labelsapple, bug, defect, ios, ipad, regression, release-1.6.0
ReporterThomas Huelbert
AssigneeBlain Hamon
Created2011-04-15T02:55:05.000+0000
Updated2012-04-11T19:04:03.000+0000

Description

1.Ks-iPad >main tests > embedded video in portrait
2.tap fullscreen (or do the pinch out gesture)
3.rotate to landscape
4.toggle fullscreen
5.note the ipad UI, tap to invoke menu

results: the menu and ipad UI is in landscape, but the app is in portrait

Attachments

FileDateSize
statusbar-issue.png2011-04-15T02:55:05.000+0000210491

Comments

  1. Stephen Tramer 2011-04-15

    Apple bug, as suspected. Will close when fixed.

  2. Stephen Tramer 2011-04-15

    Tagging "apple bug". All future bugs which are determined to be Apple bugs should be tagged with this, and ideally have their radar #s posted.

  3. Stephen Tramer 2011-04-15

    Confirmed that Apple has fixed the described bug. However, our split view draws incorrectly (it draws as if the status bar is not visible). Going to leave this here.

  4. Jeff Haynie 2011-04-15

    (from [d5a866a0252c06c70464c57a9ef2f15d4eb40d6b]) [#1526 state:fixed-in-qa] If the screen rotates while in fullscreen mode, redraw on fullscreen exit to accomodate status bar. https://github.com/appcelerator/titanium_mobile/commit/d5a866a0252c06c70464c57a9ef2f15d4eb40d6b"> https://github.com/appcelerator/titanium_mobile/commit/d5a866a0252c...

  5. Thomas Huelbert 2011-04-15

    Titanium SDK version: 1.5.0 (12/04/10 08:46 b7b9e78) ipad 4.2.1 3g

  6. Kael 2011-04-15

    The status bar bug is not fixed.

    How to reproduce this bug:
    1. KitchenSink-iPad > Main tests > Embedded video in portrait
    2. Launch the video and tap fullscreen (in Portrait)
    3. Rotate to Landscape during the video is playing
    4. Wait (!!!) until the end of the video. Be careful the video in the project continues to play 2 or 3 seconds after the stop-frame
    5. Rotate to Portrait
    6. Touch the screen, and press the "Done" button just appear
    7. Look the issue (the statusBar and the navigationBar) or see the attachment

    I use Titanium SDK version 1.5.1 and iPad 4.2 (simulator and device).

  7. Thomas Huelbert 2011-04-15

    As described by Kael above, [INFO] Titanium SDK version: 1.6.0 (01/24/11 08:14 e1cb22a) ipad 3.2. Stephen, let me know if you want a new record for this.

  8. Stephen Tramer 2011-04-15

    What the hell, lighthouse updated the wrong bug.

  9. Stephen Tramer 2011-04-15

    Changing this back to 'new' as well.

  10. Thomas Huelbert 2011-04-15

    whats up with LH today?

  11. Jeff Haynie 2011-04-15

    (from [bd12917d2bd83d555608c28049855b29a0defc6f]) [#1526 state:fixed-in-qa milestone:Release 1.6.0 M07] Creation of new kTiDidRotateNotification, which advertises to interested listeners when a rotation has occurred. https://github.com/appcelerator/titanium_mobile/commit/bd12917d2bd83d555608c28049855b29a0defc6f"> https://github.com/appcelerator/titanium_mobile/commit/bd12917d2bd8...

  12. Stephen Tramer 2011-04-15

    Forgot that milestone detection is bad.

  13. Kael 2011-04-15

    I tested (Titanium SDK version 1.6.0 build rb130f898 01/26/11 10:31 PM) and it's not really fixed.
    Now the statusBar and the navigationBar are correctly positioned when i leave the fullscreen mode, but:
    (when i test what I wrote above) 1. When I rotate to Portrait (point 5. above), the video replays from the beginning (but it is supposed to be completed)
    2. When I rotate to Portrait (point 5. again), the animation is weird: the player is in fullscreen mode but you can see the screen under the MediaPlayer redraw

  14. Stephen Tramer 2011-04-15

    Does not replay but there are redraw errors.

  15. Jeff Haynie 2011-04-15

    (from [98098273e6ea809546949b57019fc9df942ad946]) [#1526 state:fixed-in-qa] Check that the movie player is valid before querying fullscreen status in rotation check. https://github.com/appcelerator/titanium_mobile/commit/98098273e6ea809546949b57019fc9df942ad946"> https://github.com/appcelerator/titanium_mobile/commit/98098273e6ea...

  16. Thomas Huelbert 2011-04-15

    looks great on 4.2, but the steps above on ipad 3.2 has some serious redraw, see: https://skitch.com/thomashue/rppjr/img-0095">https://skitch.com/thomashue/rppjr/img-0095.
    todays pull 1.6.0.349debe

  17. Stephen Tramer 2011-04-15

    This redraw issue may not be able to be corrected until the end of reorientation, when I assume it is. Will have to look at this later.

  18. Kael 2011-04-15

    Hi, it's working fine only on simulator.
    On device (testes with last the Titanium SDK build and devices iPad 3.2.2 and iPad 4.2), the statusBar blinks (appears and disappears) before playing the video.

  19. Stephen Tramer 2011-04-15

    Not seeing any of the described behavior under 4.2. 3.2 probably has some internal animation differences which prevent it from displaying correctly.

  20. Blain Hamon 2011-04-15

    Going to have Thomas show this to me. This might not make it into 1.6 if it means deep changes, but I will be taking a look.

  21. Thomas Huelbert 2011-04-15

    start video, change aspect ratio, change orientation, hit the done button. App and status bar are now out of synch.

  22. Stephen Tramer 2011-04-15

    Marking fixed-in-qa. Still unable to dupe the 4.3 thing, and 3.2 is actually an Apple bug. Surprise!

    I have a test app which proves that it is available, if you want it, Thom.

  23. Stephen Tramer 2011-04-15

    Forgot to reclaim, too.

  24. Thomas Huelbert 2011-04-15

    bummer about 3.2, but nothing we can do about it, as per Stramer. Unable to see the issue in 4.2, closing

JSON Source