OSK should be closed before removing page from PageStack
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-keyboard (Ubuntu) |
New
|
Undecided
|
Michael Sheldon | ||
ubuntu-ui-toolkit (Ubuntu) |
Invalid
|
Undecided
|
Tim Peeters |
Bug Description
Hello, I think I have found a bug from PageStack component, see
https:/
I have produced a small app where the bug can be easily reproduced
https:/
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
}
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.
Regards,
Matti
Changed in ubuntu-ui-toolkit (Ubuntu): | |
assignee: | nobody → Christian Dywan (kalikiana) |
assignee: | Christian Dywan (kalikiana) → Tim Peeters (tpeeters) |
Changed in ubuntu-keyboard (Ubuntu): | |
assignee: | nobody → Michael Sheldon (michael-sheldon) |
As a work around the bug can be resolved by overriding the default PageStack back button:
head. backAction: Action {
onTriggered: {
Qt. inputMethod. hide()
myTimer. delay(pageStack .pop, 500)
iconName: "back"
}
}