I had this bug report at the back of my head when I glanced at this
piece of code just now:

src/Ubuntu/Components/1.3/OrientationHelper.qml:120

if (d.stateAngle === 0 && UbuntuApplication.inputMethod.visible && 
anchorToKeyboard)
    availableHeight -= UbuntuApplication.inputMethod.keyboardRectangle.height;

This looks like a bug in the UI Toolkit to me. The angle in this case
should be 180 but that's not part of the equation.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-keyboard in Ubuntu.
https://bugs.launchpad.net/bugs/1384935

Title:
  anchorToKeyboard doesn't work if the phone is upside down (inverted
  portrait)

Status in Ubuntu UI Toolkit:
  Confirmed
Status in ubuntu-ui-toolkit package in Ubuntu:
  Confirmed

Bug description:
  Steps to reproduce

   1) Open messaging app

   2) Turn the phone upside down (inverted portrait)

   3) Click on the "Write a message" field

  Expected result:

   The field should be above the keyboard

  Actual result:

   The keyboard covers the field

  
  It seems likely that we might be reporting the keyboard height incorrectly in 
this orientation, resulting in the anchorToKeyboard feature failing.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to