Commit 5fe89f67 authored by Arjen Hiemstra's avatar Arjen Hiemstra Committed by Nate Graham
Browse files

Set Qt.ImhNoPredictiveText for text fields that act as search fields

This ensures that searching happens while the text is being entered from
a virtual keyboard.

CCBUG: 439914


(cherry picked from commit 979b99aa)
parent 7956d7b2
......@@ -78,6 +78,8 @@ ColumnLayout {
clearButtonShown: true
Layout.fillWidth: true
inputMethodHints: Qt.ImhNoPredictiveText
// Only override delete key behavior to delete list items if
// it would do nothing
Keys.enabled: filter.text.length == 0 || filter.cursorPosition == filter.length
......
......@@ -86,6 +86,8 @@ ColumnLayout {
Layout.minimumWidth: PlasmaCore.Units.gridUnit * 25
Layout.maximumWidth: PlasmaCore.Units.gridUnit * 25
inputMethodHints: Qt.ImhNoPredictiveText
activeFocusOnPress: true
placeholderText: results.runnerName ? i18ndc("plasma_lookandfeel_org.kde.lookandfeel",
"Textfield placeholder text, query specific KRunner",
......
......@@ -41,6 +41,7 @@ ColumnLayout {
id: filter
Layout.fillWidth: true
placeholderText: i18nd("kholidays_calendar_plugin", "Search…")
inputMethodHints: Qt.ImhNoPredictiveText
}
// Still QQC1 bevcause there's no QQC2 TableView
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment