← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1409027] [NEW] Timer in rewritten OrientationHelper breaks keyboard orientation

 

Public bug reported:

The rewritten OrientationHelper that was merged into trunk here:
http://bazaar.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-
toolkit/trunk/revision/1147 introduces a new 250ms timer to prevent
incorrect rotations caused by Screen.primaryOrientation and
Screen.orientation being set one after another. However this prevents
applications from being able to rely on the changes to the angle having
been applied via onOrientationAngleChanged (since they now only get
applied 250ms after the orientation change happens).

Because the keyboard changes its orientation based on the application
orientation this results in the keyboard rotating 250ms after the
application has rotated, and more problematically means that the input
area reported by the keyboard after the onOrientationAngleChanged being
incorrect (as the orientation change hasn't actually happened).

Steps to reproduce

1) Open the browser

2) Tab the address bar

3) Rotate the phone

Expected outcome

All keys on the keyboard can be pressed

Actual outcome

Only keys in the old input area can be pressed because the new input
area hasn't been reported.

** Affects: ubuntu-ui-toolkit (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to ubuntu-ui-toolkit in Ubuntu.
https://bugs.launchpad.net/bugs/1409027

Title:
  Timer in rewritten OrientationHelper breaks keyboard orientation

Status in ubuntu-ui-toolkit package in Ubuntu:
  New

Bug description:
  The rewritten OrientationHelper that was merged into trunk here:
  http://bazaar.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-
  toolkit/trunk/revision/1147 introduces a new 250ms timer to prevent
  incorrect rotations caused by Screen.primaryOrientation and
  Screen.orientation being set one after another. However this prevents
  applications from being able to rely on the changes to the angle
  having been applied via onOrientationAngleChanged (since they now only
  get applied 250ms after the orientation change happens).

  Because the keyboard changes its orientation based on the application
  orientation this results in the keyboard rotating 250ms after the
  application has rotated, and more problematically means that the input
  area reported by the keyboard after the onOrientationAngleChanged
  being incorrect (as the orientation change hasn't actually happened).

  Steps to reproduce

  1) Open the browser

  2) Tab the address bar

  3) Rotate the phone

  Expected outcome

  All keys on the keyboard can be pressed

  Actual outcome

  Only keys in the old input area can be pressed because the new input
  area hasn't been reported.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1409027/+subscriptions


Follow ups

References