Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.5.2, 6.5.3
-
Qt 6.5.3 on Windows 11 (host/development system), Qt 6.5.2 on Boot2Qt (langdale) (EGLFS) (Raspberry Pi 4B)
Description
In applications using the Virtual Keyboard plugin, text cannot be selected in a TextField or TextInput component with a touch screen on both Windows 11 and my Boot2Qt device. My application runs directly on EGLFS and the VKB is used within it. The only way to get the selection handles to appear is if the text is selected programmatically, using shift-arrows, or with a mouse.
In another thread (QTBUG-116606), srutledg confirmed this behavior with the example at qtvirtualkeyboard/examples/virtualkeyboard/basic. The steps to reproduce are as follows:
- Create a TextInput, TextField, or TextArea component and insert some text.
- On a touch screen, double tap or press and hold a word in the component. No text will be selected nor will selection handles appear.
Assuming this functionality is actually missing and something isn't broken, I think the intended behavior should follow 3 things based on my observations from other platforms (namely, iOS):
- Un-editable text is selected by long press.
- Editable text is selected by double tapping.
- Cursors on editable text can be moved by long press and then dragging.
Attachments
Issue Links
- relates to
-
QTBUG-115004 [Android] TextEdit text selection works incorrect
- Closed
-
QTBUG-116606 unable to deselect text in text input using touch
- Closed
- resulted from
-
QTBUG-10684 Interaction between text input and flickable is lacking
- Closed
-
QTBUG-90494 TextField selectByMouse flag is by default set to false
- Closed
-
QTBUG-101205 Make TextInput and TextEdit behave correctly by default with regards to text selection
- Closed
-
QTBUG-38934 Add support for text selection handles
- Closed