Trying with this patch to unity-mir:
src/modules/Unity/Application/OSKController.qml
Connections {
target: ApplicationManager
onFocusedApplicationIdChanged: {
if (__oskSurface != null) {
print("Focused app closed with OSK open, close OSK")
Qt.inputMethod.hide();
}
}
}
it prints at the correct time, but the OSK fails to close.
Qt.inputMethod.hide() does not appear to function in shell. No idea why,
but I do recall shell always had problems controlling OSK.
A better solution to this bug would be for when the focused app dies,
the shell returns to the dash, not to the next focused app.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267550
Title:
input method (OSK) not being hidden if app killed
To manage notifications about this bug go to:
https://bugs.launchpad.net/unity-mir/+bug/1267550/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs