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

Anchors errors on keyboard layout change

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.11.1, 5.12.0 Alpha
    • 5.9.3, 5.10.0, 5.9.4, 5.9.5, 5.10.1, 5.11.0 Alpha, 5.11.0 Beta 1, 5.11.0 Beta 2, 5.11.0 Beta 3
    • Virtual Keyboard
    • None
    • Windows: Qt 5.9.11

      Ubuntu 16.04.3 on VirtualBox : Qt 5.9.3
    • 6453b44742d709f4e3cc46bf5f5b8d0cef64bb66 7e8a17f8af88b3434f9d5763dd528a29ec40bf8c

    Description

      Each time the InputPanel of the QtVirtualKeyboard change its layout (by example from main to numbers), a lot of anchors errors are raised by qml engine:

       

      qrc:/QtQuick/VirtualKeyboard/content/styles/default/style.qml:66:9: QML Rectangle: Cannot anchor to an item that isn't a parent or sibling.
      
      qrc:/QtQuick/VirtualKeyboard/content/styles/default/style.qml:66:9: QML Rectangle: Cannot anchor to an item that isn't a parent or sibling.
      
      qrc:/QtQuick/VirtualKeyboard/content/styles/default/style.qml:66:9: QML Rectangle: Cannot anchor to an item that isn't a parent or sibling.
      
      qrc:/QtQuick/VirtualKeyboard/content/styles/default/style.qml:66:9: QML Rectangle: Cannot anchor to an item that isn't a parent or sibling.
      
      qrc:/QtQuick/VirtualKeyboard/content/styles/default/style.qml:66:9: QML Rectangle: Cannot anchor to an item that isn't a parent or sibling.
      
      qrc:/QtQuick/VirtualKeyboard/content/styles/default/style.qml:66:9: QML Rectangle: Cannot anchor to an item that isn't a parent or sibling.
      
      qrc:/QtQuick/VirtualKeyboard/content/styles/default/style.qml:66:9: QML Rectangle: Cannot anchor to an item that isn't a parent or sibling.
      
      qrc:/QtQuick/VirtualKeyboard/content/styles/default/style.qml:66:9: QML Rectangle: Cannot anchor to an item that isn't a parent or sibling.
      
      qrc:/QtQuick/VirtualKeyboard/content/styles/default/style.qml:66:9: QML Rectangle: Cannot anchor to an item that isn't a parent or sibling.
      
      qrc:/QtQuick/VirtualKeyboard/content/styles/default/style.qml:66:9: QML Rectangle: Cannot anchor to an item that isn't a parent or sibling.
      
      qrc:/QtQuick/VirtualKeyboard/content/styles/default/style.qml:135:9: QML Rectangle: Cannot anchor to an item that isn't a parent or sibling.
      
      qrc:/QtQuick/VirtualKeyboard/content/styles/default/style.qml:66:9: QML Rectangle: Cannot anchor to an item that isn't a parent or sibling.
      
      qrc:/QtQuick/VirtualKeyboard/content/styles/default/style.qml:66:9: QML Rectangle: Cannot anchor to an item that isn't a parent or sibling.
      
      qrc:/QtQuick/VirtualKeyboard/content/styles/default/style.qml:66:9: QML Rectangle: Cannot anchor to an item that isn't a parent or sibling.
      
      qrc:/QtQuick/VirtualKeyboard/content/styles/default/style.qml:66:9: QML Rectangle: Cannot anchor to an item that isn't a parent or sibling.
      
      qrc:/QtQuick/VirtualKeyboard/content/styles/default/style.qml:66:9: QML Rectangle: Cannot anchor to an item that isn't a parent or sibling.
      
      qrc:/QtQuick/VirtualKeyboard/content/styles/default/style.qml:66:9: QML Rectangle: Cannot anchor to an item that isn't a parent or sibling.
      
      qrc:/QtQuick/VirtualKeyboard/content/styles/default/style.qml:66:9: QML Rectangle: Cannot anchor to an item that isn't a parent or sibling.
      
      qrc:/QtQuick/VirtualKeyboard/content/styles/default/style.qml:66:9: QML Rectangle: Cannot anchor to an item that isn't a parent or sibling.
      
      qrc:/QtQuick/VirtualKeyboard/content/styles/default/style.qml:66:9: QML Rectangle: Cannot anchor to an item that isn't a parent or sibling.
      
      qrc:/QtQuick/VirtualKeyboard/content/styles/default/style.qml:223:9: QML Rectangle: Cannot anchor to an item that isn't a parent or sibling.
      
      qrc:/QtQuick/VirtualKeyboard/content/styles/default/style.qml:363:9: QML Rectangle: Cannot anchor to an item that isn't a parent or sibling.
      
      qrc:/QtQuick/VirtualKeyboard/content/styles/default/style.qml:66:9: QML Rectangle: Cannot anchor to an item that isn't a parent or sibling.
      
      qrc:/QtQuick/VirtualKeyboard/content/styles/default/style.qml:66:9: QML Rectangle: Cannot anchor to an item that isn't a parent or sibling.
      
      qrc:/QtQuick/VirtualKeyboard/content/styles/default/style.qml:66:9: QML Rectangle: Cannot anchor to an item that isn't a parent or sibling.
      
      qrc:/QtQuick/VirtualKeyboard/content/styles/default/style.qml:66:9: QML Rectangle: Cannot anchor to an item that isn't a parent or sibling.
      
      qrc:/QtQuick/VirtualKeyboard/content/styles/default/style.qml:66:9: QML Rectangle: Cannot anchor to an item that isn't a parent or sibling.
      
      qrc:/QtQuick/VirtualKeyboard/content/styles/default/style.qml:66:9: QML Rectangle: Cannot anchor to an item that isn't a parent or sibling.
      
      qrc:/QtQuick/VirtualKeyboard/content/styles/default/style.qml:66:9: QML Rectangle: Cannot anchor to an item that isn't a parent or sibling.
      
      qrc:/QtQuick/VirtualKeyboard/content/styles/default/style.qml:66:9: QML Rectangle: Cannot anchor to an item that isn't a parent or sibling.
      
      qrc:/QtQuick/VirtualKeyboard/content/styles/default/style.qml:66:9: QML Rectangle: Cannot anchor to an item that isn't a parent or sibling.
      
      qrc:/QtQuick/VirtualKeyboard/content/styles/default/style.qml:363:9: QML Rectangle: Cannot anchor to an item that isn't a parent or sibling.
      
      qrc:/QtQuick/VirtualKeyboard/content/styles/default/style.qml:469:9: QML Rectangle: Cannot anchor to an item that isn't a parent or sibling.
      
      qrc:/QtQuick/VirtualKeyboard/content/styles/default/style.qml:179:9: QML Rectangle: Cannot anchor to an item that isn't a parent or sibling.
      
      qrc:/QtQuick/VirtualKeyboard/content/styles/default/style.qml:584:9: QML Rectangle: Cannot anchor to an item that isn't a parent or sibling.
      
      qrc:/QtQuick/VirtualKeyboard/content/styles/default/style.qml:429:9: QML Rectangle: Cannot anchor to an item that isn't a parent or sibling.
      
      qrc:/QtQuick/VirtualKeyboard/content/styles/default/style.qml:66:9: QML Rectangle: Cannot anchor to an item that isn't a parent or sibling.
      
      qrc:/QtQuick/VirtualKeyboard/content/styles/default/style.qml:66:9: QML Rectangle: Cannot anchor to an item that isn't a parent or sibling.
      
      qrc:/QtQuick/VirtualKeyboard/content/styles/default/style.qml:319:9: QML Rectangle: Cannot anchor to an item that isn't a parent or sibling.
      

      It can be easily reproduced by launching qt example 'Qt Quick Virtual Keyboard - Basic Example' and by switching between TextFields.

      Attachments

        Issue Links

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

          Activity

            People

              jakoivik Jarkko Koivikko
              simon-bitf Simon Bony
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes