Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-14659

Double-click and drag on line edit does not select whole words

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Icon: P4: Low P4: Low
    • None
    • 4.7.0
    • None
    • KDE 4.5.2
      openSUSE 11.3
      x86-64

      In the text edit and line edit widgets, when you double-click on a word it selects that word. In the text edit widget, if you then drag the cursor it will select additional words as you move over them. This is not the case in the line edit. If you double click then drag, as soon as you start dragging it goes back to only selected individual characters. Even part of the word that was already selected will have the selection removed.

      This is inconsistent behavior. I think that the behavior of the text edit field, selecting whole words, is better since if you wanted to select just single characters you would not double-click in the first place.

      I am not entirely sure whether this is a bug or a suggestion since I don't know whether this is intended behavior or not.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            toddrme2178 Todd
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes