summaryrefslogtreecommitdiff
path: root/src/controls
diff options
context:
space:
mode:
authorJens Bache-Wiig <jens.bache-wiig@digia.com>2014-02-04 10:19:42 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-04 11:00:14 +0100
commite786b58cb1cf907d25728eb9f99096cb09fc9837 (patch)
treef2b264428e44b03174ab91e9d719d480cb5ae3ac /src/controls
parent12cd4496ab43c2d4ed406ce366fc33f3917c4c60 (diff)
downloadqtquickcontrols-e786b58cb1cf907d25728eb9f99096cb09fc9837.tar.gz
Ignore selectByMouse on android until QTBUG-36515 is resolved
At the moment mouse selection on android can make text input unusable when certain virtual keyboard features are enabled. This patch will temprorarily disable this feature on TextField and TextArea until we have a workable solution for these cases. Change-Id: Ia04db31d1e83ddfc47bec7519e5a78746e6626a9 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Diffstat (limited to 'src/controls')
-rw-r--r--src/controls/TextArea.qml2
-rw-r--r--src/controls/TextField.qml2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/controls/TextArea.qml b/src/controls/TextArea.qml
index 66e7faf6..6136971b 100644
--- a/src/controls/TextArea.qml
+++ b/src/controls/TextArea.qml
@@ -717,7 +717,7 @@ ScrollView {
wrapMode: TextEdit.WordWrap
textMargin: 4
- selectByMouse: true
+ selectByMouse: Qt.platform.os !== "android" // Workaround for QTBUG-36515
readOnly: false
Keys.forwardTo: area
diff --git a/src/controls/TextField.qml b/src/controls/TextField.qml
index d9ba3625..1a430277 100644
--- a/src/controls/TextField.qml
+++ b/src/controls/TextField.qml
@@ -580,7 +580,7 @@ Control {
TextInput {
id: textInput
focus: true
- selectByMouse: true
+ selectByMouse: Qt.platform.os !== "android" // Workaround for QTBUG-36515
selectionColor: __panel ? __panel.selectionColor : "darkred"
selectedTextColor: __panel ? __panel.selectedTextColor : "white"