The main view radial actions edge button disappeared

Bug #1490493 reported by Matti Rinta-Nikkola
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
my-webapp-group
Fix Released
Low
Matti Rinta-Nikkola

Bug Description

Reproduce fault: 1) Open "Add Website" page from main view by clicking radial action icon "Add"
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

Changed in my-webapp-group:
status: New → Triaged
importance: Undecided → Low
Revision history for this message
Matti Rinta-Nikkola (matti-rintanikkola-d) wrote :

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 main view from "Add Website" 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 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.

Revision history for this message
Matti Rinta-Nikkola (matti-rintanikkola-d) wrote :

filed bug ubuntu-ui-toolkit: "OSK should be closed before removing page from PageStack"

https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1492769

Revision history for this message
Matti Rinta-Nikkola (matti-rintanikkola-d) wrote :

Can be resolved by overriding the default PageStack back button:

  head.backAction: Action {
        iconName: "back"
        onTriggered: {
              Qt.inputMethod.hide()
              myTimer.delay(pageStack.pop, 500)
        }
  }

Revision history for this message
Matti Rinta-Nikkola (matti-rintanikkola-d) wrote :

fix commited on revno: 101

Changed in my-webapp-group:
assignee: nobody → Matti Rinta-Nikkola (matti-rintanikkola-d)
status: Triaged → Fix Released
status: Fix Released → Fix Committed
Changed in my-webapp-group:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.