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

changing visible property for keys breaks the Layout.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • 5.6.3
    • 5.6.1
    • Virtual Keyboard
    • None
    • Behavior is producible on Qt 5.6.1-1 with QtVirtualKeyboard branch 5.6

      Behavior is producible on different targets and all hosts.
    • 13a199e6e2c5f27b0f12eff380df4f0c0d156e6e

      Changing visibility of buttons from layouts file, like ChangeLanguageKey or HandwritingModeKey results corrupted layouts.

      My project requirements: is ChangeLanguageKey shall not be visible if there's only one language (i.e. canChangeInputLanguage shall return false)

      and I controlled active layouts using VirtualKeyboardSettings, it corrupts the whole layout.

      Also I've suffered the same bug, with setting Hand Writing button as well.

      For simplicity you can run this code inside the vanilla and see:
      in file: ChangeLanguageKey.qml

      Add the following code to the bottom:

          visible: enabled
          id: testChangeLangKey
      
      
          Component.onCompleted:
          { hideChangeLangKeyTmr.start(); }
      
      
          Timer
          {
              id: hideChangeLangKeyTmr
              interval: 5000
              onTriggered: testChangeLangKey.visible = true;
          }
      

        1. corruptedLayout.jpg
          4.11 MB
          Bassem Mohsen
        2. qtbug54953.patch
          0.5 kB
          Mitch Curtis
        3. untitled4.zip
          3 kB
          Mitch Curtis
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            mitch_curtis Mitch Curtis
            bassem.mohsen Bassem Mohsen
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes