Details
-
Bug
-
Resolution: Unresolved
-
P4: Low
-
None
-
4.8.x, 5.4.1
-
windows, Linux
Description
when a word is selected by double-click (or double tap on touch screen) and the mouse (and over all the finger on touch) is moved Left side along the line, the selected word needs to be kept selected during the selection process. This behavior is working with QTextEdit (the multiline editor), but not with QLineEdit.
Attached GIF shows this behavior.
If mouse is moved left side it selects other words but not the word on which mouse was double clicked.
Steps to reproduce:
- Create line edit with text "Word1 Word2 Word3"
- Doubleclick to select "Word2"
- Extend selection to the left (Ctrl+Shift+Left Arrow or Mouse/touch)
- Expected: "Word1 Word2" is selected
- Actual: "Word1 " is selected
- Repeat extending selection to the right: Works, "Word2 Word3" is selected
- Note: Works with Q[Plain]TextEdit