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

[Regr: 6.3.2->6.4.0] Select after setting focus in the editor does not work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P1: Critical P1: Critical
    • 6.5
    • 6.4.0, 6.4.3, 6.5.0
    • None
    • Microsoft Windows 10 (10.0.19045 Build 19045)
      DELL XPS 15 7590 with Touch Screen
    • Windows

      This simple code does not work (selection is lost) for Qt Versions greater than 6.3.2:

      import QtQuick
      import QtQuick.Window
      import QtQuick.Controls
      
      Window {
          width: 640
          height: 480
          visible: true    
          
          TextField {
              text: "Some text"
              onActiveFocusChanged: {
                  if (activeFocus) {
                      selectAll();
                  }
              }
          }
      } 

      The problem only occurs when you set focus by tap with your finger on the touch screen. With the mouse everything works fine.

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

            santhoshkumar Santhosh Kumar Selvaraj
            permotion88 Karol Polak
            Votes:
            5 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes