Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
5.15.2, 6.0.1
-
None
-
Windows 10, Mac OS 10.15.7
Description
Steps to reproduce:
1. Run sample application (code attached).
2. Try to select the text by mouse.
Actual: User cannot select text by mouse
Expected: According to the documentation user should be able to select text by mouse - flag should be set to true.
Workaround: Set the flag to true.
Code:
import QtQuick 2.9 import QtQuick.Controls 2.0 import QtQuick.Layouts 1.3 ApplicationWindow { visible: true width: 640 height: 480 title: qsTr("Hello World") TextField { id: name text: "Some text to select" } }
Attachments
Issue Links
- is duplicated by
-
QTBUG-101205 Make TextInput and TextEdit behave correctly by default with regards to text selection
- Closed
- relates to
-
QTBUG-10684 Interaction between text input and flickable is lacking
- Closed
-
QTBUG-90533 TextEdit with selectByMouse in Flickable with pressDelay should allow both flicking and text selection
- Reported
- resulted in
-
QTBUG-119229 Missing text selection behavior with Virtual Keyboard plugin on touch screens
- Open
For Gerrit Dashboard: QTBUG-90494 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
397902,22 | TextEdit: selectByMouse default=true, but not on touchscreens | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
422565,12 | TextArea: selectByMouse default=true, but not on touchscreens | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
423431,2 | TextEdit: selectByMouse default=true, but not on touchscreens | 6.4 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
429432,2 | TextArea: selectByMouse default=true, but not on touchscreens | 6.4 | qt/qtdeclarative | Status: MERGED | +2 | 0 |