touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #104490
[Bug 1495118] Re: OSK anchored buttons are difficult to click
As a work around the bug can be resolved as follows (without click
sound):
Button {
id: createButton
text: "Create Account"
anchors {
horizontalCenter: parent.horizontalCenter
bottom: parent.bottom
margins: units.gu(2)
}
onClicked: {
if(!oskVisible){
popupMessage("onClicked","You have clicked button...")
}
}
}
onStateChanged:{
if (createButton.pressed && oskVisible){
popupMessage("onStateChanged","You have clicked button...")
}
}
states: [
State {
name: "pressed"
when: createButton.pressed
}
]
}
Connections {
target: Qt.inputMethod
onVisibleChanged: {
oskVisible=!oskVisible
console.log('oskVisible: '+oskVisible)
}
}
--
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/1495118
Title:
OSK anchored buttons are difficult to click
Status in ubuntu-ui-toolkit package in Ubuntu:
New
Bug description:
As described on document "ubuntu-screen-keyboard-tricks", see the link
below, you can anchor action buttons to OSK so that they will remain
visible above the OSK. However at the moment it is practically
impossible to click them because they fall down too quickly with OSK.
Either you do a very very fast click or place your finger over the
button and after OSK has disappeared slide your finger again over the
button and finally release it. Aren't these action buttons meant to be
click-able when they are above OSK? Now in practice they aren't.
A small sample app with OSK action button to demonstrate the problem...
https://code.launchpad.net/~matti-rintanikkola-d/+junk/osk-button-bug
https://developer.ubuntu.com/en/apps/qml/tutorials/ubuntu-screen-keyboard-tricks/
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1495118/+subscriptions
References