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

TextInput: Selection is lost when parent window looses focus

    XMLWordPrintable

Details

    • macOS

    Description

      using the test case:

      import QtQuick 2.0
      
      Rectangle {
          width: 360
          height: 360
          TextInput {
              anchors.centerIn: parent
              text: "Hello World"
              selectByMouse: true
          }
      }
      

      1 - select some text with the mouse
      2 - focus another window
      problem => the text is no longer selected in TextInput.

      Also affect qtquickcontrols gallery examples when text is selected and a menu pops up.

      Attachments

        Issue Links

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

          Activity

            People

              srutledg Shawn Rutledge
              carochao Caroline Chao (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes