← Back to team overview

touch-packages team mailing list archive

[Bug 1492769] Re: OSK should be closed before removing page from PageStack

 

This is somehow not related to the PageStack or whatever. Recently the
OSK does;'t disappear in some cases when the app is closed either! So
it's rather OSK than PageStack issue.

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

Title:
  OSK should be closed before removing page from PageStack

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

Bug description:
  Hello, I think I have found a bug from PageStack component, see

  https://bugs.launchpad.net/my-webapp-group/+bug/1490493

  I have produced a small app where the bug can be easily reproduced

  https://code.launchpad.net/~matti-rintanikkola-d/+junk/radial-buttom-
  edge-bug

  Reproduce fault: 
  1) Open "Page2" page from Root page by clicking radial action icon "Home"
  2) click website title/url field in order to open keyboard view
  3) without closing the keyboard turn back to the main view
  4) the main view will be opened without radial actions edge button

  Analysis: The visibility of the main view radial edge button is
  toggled by using the connection

      Connections {
          target: Qt.inputMethod
          onVisibleChanged: nav.visible = !nav.visible
      }

  If you do not close the keyboard when turning back to the Root page
  from "Page2" page the main view became visible before the signal
  onVisibleChanged is fired and when it will be fired the radial edge
  button becomes invisible.

  Solution?: Before removing the page from pageStack it should be
  ensured that the keyboard is not visible. Maybe this could be achieved
  simply by adding a function call Qt.inputMethod.hide() before removing
  the page from pageStack.

  Regards,

  Matti

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


References