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

Rendering bug in QtQuick 2.0, missing cursor

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.1.0
    • 5.0.0
    • Quick: SceneGraph
    • None
    • a51d867ff269a6d2a703a96bc6eff113893d13d8 8f774ffb954c219d503e99c94b62e754a7e6e435

    Description

      The cursor of TextInput and TextEdit is often not showing because it gets wrongly reordered in the scene graph renderer.

      A temporary workaround for this problem is to set an opacity less than 1.0 on the text item or one of its parents, such as: opacity: 0.99.

      import QtQuick 2.0
      
      Rectangle {
          width: 200
          height: 100
      
          TextInput {
              anchors.fill: parent
              focus: true
          }
      }
      

      Attachments

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

        Activity

          People

            sletta Gunnar Sletta
            sletta Gunnar Sletta
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes