Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.6.1
-
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
Description
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;
}
Attachments
Issue Links
- resulted in
-
QTBUG-55773 Layout issues involving Layout.fillWidth/Layout.fillHeight where no implicitHeight is set
- Closed
For Gerrit Dashboard: QTBUG-54953 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
170393,3 | Fix broken layout that results from making key visible after startup | 5.6 | qt/qtvirtualkeyboard | Status: MERGED | +2 | 0 |