Merge lp:~seb128/ubuntu-system-settings/disable-osk-predictive-text into lp:ubuntu-system-settings

Proposed by Sebastien Bacher
Status: Merged
Approved by: Iain Lane
Approved revision: 580
Merged at revision: 585
Proposed branch: lp:~seb128/ubuntu-system-settings/disable-osk-predictive-text
Merge into: lp:ubuntu-system-settings
Diff against target: 48 lines (+4/-1)
4 files modified
plugins/bluetooth/ProvidePasskeyDialog.qml (+1/-1)
plugins/bluetooth/ProvidePinCodeDialog.qml (+1/-0)
plugins/time-date/ChooseTimeZone.qml (+1/-0)
src/qml/MainWindow.qml (+1/-0)
To merge this branch: bzr merge lp:~seb128/ubuntu-system-settings/disable-osk-predictive-text
Reviewer Review Type Date Requested Status
Iain Lane Approve
PS Jenkins bot continuous-integration Approve
Review via email: mp+203376@code.launchpad.net

Commit message

disable the osk predictive text, so results are shown while typing

Description of the change

disable the osk predictive text, so results are shown while typing

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Iain Lane (laney) wrote :

Interesting, is this why we got that bug the other day? Like - the keyboard doesn't send results to the application in this case?

review: Approve
Revision history for this message
Sebastien Bacher (seb128) wrote :

> Interesting, is this why we got that bug the other day? Like - the keyboard doesn't send results to the application in this case?

yes, if you enable those osk options, while the word is displayed in blue (listing different suggestions) the input is not making it to the widget, you need to "valide" a word to have it entered...

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'plugins/bluetooth/ProvidePasskeyDialog.qml'
2--- plugins/bluetooth/ProvidePasskeyDialog.qml 2013-09-23 02:50:33 +0000
3+++ plugins/bluetooth/ProvidePasskeyDialog.qml 2014-01-27 17:10:14 +0000
4@@ -45,7 +45,7 @@
5 text: "000000"
6 focus: true
7 Component.onCompleted: selectAll()
8- inputMethodHints: Qt.ImhDigitsOnly
9+ inputMethodHints: Qt.ImhDigitsOnly | Qt.ImhNoPredictiveText
10 }
11
12 Row {
13
14=== modified file 'plugins/bluetooth/ProvidePinCodeDialog.qml'
15--- plugins/bluetooth/ProvidePinCodeDialog.qml 2013-09-27 14:55:26 +0000
16+++ plugins/bluetooth/ProvidePinCodeDialog.qml 2014-01-27 17:10:14 +0000
17@@ -46,6 +46,7 @@
18 focus: true
19 Component.onCompleted: selectAll()
20 maximumLength: 16
21+ inputMethodHints: Qt.ImhNoPredictiveText
22 }
23
24 Row {
25
26=== modified file 'plugins/time-date/ChooseTimeZone.qml'
27--- plugins/time-date/ChooseTimeZone.qml 2013-10-02 11:42:06 +0000
28+++ plugins/time-date/ChooseTimeZone.qml 2014-01-27 17:10:14 +0000
29@@ -68,6 +68,7 @@
30 onTextChanged: timeDatePanel.filter = text
31 visible: setTimeZoneSelector.selectedIndex == 1 // Manually
32 Component.onCompleted: forceActiveFocus()
33+ inputMethodHints: Qt.ImhNoPredictiveText
34 Connections {
35 target: setTimeZoneSelector
36 onSelectedIndexChanged: {
37
38=== modified file 'src/qml/MainWindow.qml'
39--- src/qml/MainWindow.qml 2013-12-20 15:58:05 +0000
40+++ src/qml/MainWindow.qml 2014-01-27 17:10:14 +0000
41@@ -124,6 +124,7 @@
42 width: parent.width - units.gu(4)
43 placeholderText: i18n.tr("Search")
44 objectName: "searchTextField"
45+ inputMethodHints: Qt.ImhNoPredictiveText
46 onDisplayTextChanged:
47 pluginManager.filter = displayText
48 }

Subscribers

People subscribed via source and target branches