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

Freeze when hitting tab key

    XMLWordPrintable

Details

    Description

      If you run the code below using qmlscene and hit tab, the window will freeze.

      import QtQuick 2.7
      import QtQuick.Controls 1.4
      
      Item {
        visible: false
      
        FocusScope {
        }
      
        Button {
          focus: true
        }
      }
      

      I attached a debugger and the application never leaves this part of the call stack:

      #0	0x0000000101613a23 in QQuickItemPrivate::nextPrevItemInTabFocusChain(QQuickItem*, bool) ()
      #1	0x000000010161be09 in QQuickItemPrivate::deliverKeyEvent(QKeyEvent*) ()
      

      Attachments

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              t_schaub Thomas Schaub
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes