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

ListView + XmlListModel freeze application when change language key combination

    XMLWordPrintable

Details

    • 4df66da8f9e5a9f3c981c6c60254899146dd1cc0

    Description

      Add 2 input languages in windows (I have english and russian), set the layout switching keys to ctrl+shift, run the example below and press that key combination. The window freezes, you can only kill the process via taskmanager. That affects qmlviewer, qcreator and custom graphics view implemented in c++. The call stack of the latter shows that the application is stuck in its window proc trying to handle WM_INPUTLANGCHANGEREQUEST windows message.
      This happens only with XmlListModel.

      import QtQuick 1.0
      
      ListView {
        width: 1000
        height: 700
        spacing: 10
        model: XmlListModel {
          xml: "<groups><group/><group/><group/></groups>"
          query: "/groups/group";
        }
        delegate: Rectangle {
          color: "black"
          height: 50
          width: 50
        }
      }
      

      Attachments

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

        Activity

          People

            charles Charles Yin (closed Nokia identity) (Inactive)
            leonty leonty
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes