| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
+ 4a92afe75bfb7886ecb1b3282b05b2985c39fe3c Disable layout mirroring for virtual keyboard
+ 30479f9771e60938dc0f6e325e3b16fb52663796 Fix possible crash in PlatformInputContext::update
+ d781f8a6b867980e03ef42b792404285ea9a799e Partially revert 30479f9771e60938dc0f6e325e3b16fb52663796
+ c40e19e8012788522806f25589d7c41d93d423b4 Attempt to stabilise inputpanel auto test
+ 6d429be4d77841218d89f5e563593fb39812395d tests: Backport test_wclAutoCommitWordSetting from 5.12
+ 50d1d95af5cb271285abb4375e63ca28cbadd77a tests: Verify current item in selectionListSelectCurrentItem
+ 8b3a4d6f305955171a595ad93460346c58df51d7 Fix word candidate list auto hiding
+ 3f152060b4072cb9aea5ca98d956b22a25c25697 Doc: Use correct image in virtual keyboard layout docs
+ abbc5a8ecc6a66c87d90a0f7acf15451c3808c1b Do show module license on all help pages
+ c7a94110987672308ed04b40fd8ed207d1c8d93b Be more restrictive about which information is included in logging
+ eb9e095722e1d953d3bf17bad73f528ac9061488 Bump version
Change-Id: Ie07395f6ee02d8f1f18370e18ba22c017f34ad2f
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
|
|
|
|
| |
Change-Id: I039262439281a04e6a90af46dcf7241e6c3baa2d
|
|
|
|
|
|
|
|
|
|
| |
- Introduce SENSITIVE_DEBUG flag that should be explicitly enabled
in order to have certain information included in logging output.
- Replace qWarning() with qCWarning() where appropriate.
Change-Id: I6386f9cb3ce375101f3c42f407d4af380f1ff75e
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Qt Virtual Keyboard has a different main license than most other Qt
modules, which is easy to miss. We do show the license on the module
landing page and in the 'All modules' overview page, but if you
directly open an example or a class page you can still miss this.
This change adds the main license description to the header shared
by all pages of the module; we (mis)use the buildversion variable for
that, which was so far unused.
Right now qdoc does not 'linkify' the entry. It could add a generic
link to the landing page though, where the license is also described.
Task-number: QTBUG-70354
Change-Id: I5f271b1bcba6992abfd1ad7e213fc5f2a93a0d25
Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
|
|
|
|
|
|
| |
Task-number: QTBUG-70602
Change-Id: I04a7015b6ee41dd9676f8b5859399e9758e7de1f
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Stop auto hide timer when the word candidate list is not empty.
Constantly failing CI bot revealed this error:
agent:2018/09/24 07:50:50 build.go:193: FAIL! : inputpanel::tst_plugin::test_zhuyinInputMethod(row 17) 'Expected wordCandidateView to have a currentItem, but it's null. Its property values at the time of failure are: x=0 y=-9.478976 width=400 height=13 count=0 flicking=false moving=false visible=false' returned FALSE. ()
Task-number: QTBUG-62518
Task-number: QTBUG-61279
Task-number: QTQAINFRA-2226
Change-Id: I775aa834da9809008a34fc760e994610ad6e95a8
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
For investigating flaky tests.
Task-number: QTBUG-62518
Task-number: QTBUG-61279
Task-number: QTQAINFRA-2226
Change-Id: I447f8e4a332b60df617c834fc3ccbf4e3f6a47ce
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Fixes flaky test.
Task-number: QTBUG-62518
Task-number: QTBUG-61279
Task-number: QTQAINFRA-2226
Change-Id: I55208710ed4b9699fde6643438b23148cb7c7240
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|\
| |
| |
| | |
Change-Id: Ia9a57398cb6d06da54083b56461d7f1dc9d59705
|
| |
| |
| |
| |
| | |
Change-Id: Id140d489fd499be509411ed7231a31bba5a11fa2
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The last patch showed that there was no focus window when
InputContext::sendKeyClick() was called, so try to raise and activate
the window at the start of each test to see if it helps.
Task-number: QTBUG-62518
Change-Id: I48a66109d18e941e16e177d0c6ec76517846bc9d
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
With the 30479f9771e60938dc0f6e325e3b16fb52663796 patch applied it would
mean that the keyboard would not show up in desktop mode. Therefore the
patch is partially reverted to still have the original crash fix
without introducing a new bug.
Change-Id: I1a0c84eef0a592990ccd7ff754069ad150dc7a69
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Under some condition, QPlatformInputContext::update is called before
our (QML) input context is created. This will result in crash if
desktop integration is also enabled, since null pointer check is
missing.
[ChangeLog] Fixed possible crash in PlatformInputContext::update.
Task-number: QTBUG-67595
Change-Id: I19c78dbf19cf3c2a72193c2e2a60f46995c1f6ad
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|/
|
|
|
|
|
|
|
|
|
| |
When layout mirroring is enabled for an application using
virtual keyboard, the keyboard layout is also mirrored.
This change disables layout mirroring for virtual keyboard.
Task-number: QTBUG-70041
Change-Id: I097ae7fe907a463ef53e5f39f357c61d57bbb9c0
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
SelectionControl on the InputPanel was not disabled when using
desktop integration. This caused duplicated handles to appear
on screen.
This change disables the SelectionControl when desktop integration
is used.
Task-number: QTBUG-60321
Change-Id: Icf7cab4bdeacade16bbe2b1eb2078baceb955d5e
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
|
|
|
|
|
|
| |
Change-Id: Id27ebb78001ff060d67917e9ac69f75682a885ac
Reviewed-by: Johan Helsing <johan.helsing@qt.io>
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
So far I've been unable to reproduce the flakiness with
a Windows CI VM, so let's add some extra context to the warning
message that is printed before the test (sometimes) fails.
Task-number: QTBUG-62518
Change-Id: Idebaadb93fe2f38a94a9f096bc044b28171afafd
Reviewed-by: Liang Qi <liang.qi@qt.io>
|
|
|
|
|
|
|
| |
Change-Id: Ied2f789d95aa0cd64e431348f31889622c133196
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
(cherry picked from commit 3fd388fe385ba7941a77e6a27c9b1e0e57f07198)
Reviewed-by: Antti Kokko <antti.kokko@qt.io>
|
|
|
|
|
|
|
| |
Change-Id: I97c1bd55a2cb6e38fc13c98cb03955b3f7cd5c7a
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
(cherry picked from commit 0c52fc067c1b88d7b54703e8790a7f9be10920f1)
Reviewed-by: Antti Kokko <antti.kokko@qt.io>
|
|
|
|
| |
Change-Id: Id5ea68ecd8d04bff9999e5a868bdd19a990c08ea
|
|
|
|
|
|
|
|
|
| |
This patch updates the VirtualKeyboardSettings class to use
QRegularExpression in place of QRegExp which is to be considered
deprecated.
Change-Id: Ib7cecc0070f86b63793e3f3876a44710a0ecc394
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
| |
This patch updates the HunspellBuildSuggestionsTask class to use
QRegularExpression in place of QRegExp which is to be considered
deprecated.
Change-Id: I6db18a46b380a27fff0970baec2809192555a984
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
- Provide an overview of handwriting recognition support
- Add a GIF
- List languages supported by each engine
Task-number: QTBUG-68624
Change-Id: I26af8b8984fabd74855d067bd9818f6db0136cec
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|\
| |
| |
| | |
Change-Id: Id1ba5165f10ee59044ede0d5130ac8e9d510ef17
|
|/
|
|
|
| |
Change-Id: I341f24ed18cbe3167ec0e811e3f95acfe5c7fc95
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
| |
Change-Id: Id75b43ea0a587dc4ed9aaab36fbcd5b471e0e270
|
|
|
|
|
| |
Change-Id: Ie2e07a5ec8f7ef4a7728db7c458319e75cda41ee
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change modifies encoding of the following environment variables:
- QT_VIRTUALKEYBOARD_HUNSPELL_DATA_PATH
- QT_VIRTUALKEYBOARD_PINYIN_DICTIONARY
- QT_VIRTUALKEYBOARD_CANGJIE_DICTIONARY
- QT_VIRTUALKEYBOARD_ZHUYIN_DICTIONARY
- QT_VIRTUALKEYBOARD_PHRASE_DICTIONARY
- QT_VIRTUALKEYBOARD_LAYOUT_PATH
- LIPI_ROOT
- LIPI_LIB
Previously they were read using qgetenv and latin1 encoding. Now they
are read using qEnvironmentVariable, which handles the encoding properly.
[ChangeLog] Fixed encoding of path environment variables.
Task-number: QTBUG-62328
Change-Id: I8e32c111a498d3b57259fe6dd96290545f10030a
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes warnings like:
qrc:/QtQuick/VirtualKeyboard/content/styles/default/style.qml:136:9: QML Rectangle: Cannot anchor to an item that isn't a parent or sibling.
[ChangeLog] Fixed qml anchor warnings from default styles
Task-number: QTBUG-67677
Change-Id: I9d079dc02e9530431020c19ac3a5db9cee6f76a1
(cherry picked from commit 7e8a17f8af88b3434f9d5763dd528a29ec40bf8c)
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
|
|
|
|
|
|
|
|
|
|
|
| |
Test currently crashes often on QEMU so it needs to be skipped
until root cause is found. Blacklisting is not enough since it does
not capture crashes.
Task-number: QTBUG-68349
Change-Id: I72aaeae3cc338fc59fea43ee766eea3762a1eaa6
Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|\
| |
| |
| | |
Change-Id: Ia0e4b381f1d1a64fe923c6f4a466cdf9ab52d1e9
|
| |
| |
| |
| |
| | |
Change-Id: I76632644e2b1c2eea26473b256480f3aaba6a2b6
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|/
|
|
|
|
|
|
|
|
| |
Add a new "Qt Virtual Keyboard Layouts" page that lists all languages
along with screenshots of each one.
Task-number: QTBUG-67645
Change-Id: Ibb15924cec841f43c7205951fb80c9d7e13362c1
Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
| |
Change-Id: Ic81beeb940e5595f9f54695a28eb3cb25e19a052
Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
assignment in condition
Fix clang-cl warning:
openwnninputmethod.cpp:312: using the result of an assignment as a condition without parentheses [-Wparentheses]
Drop unneeded braces on that occasion.
Task-number: QTBUG-63512
Change-Id: Ie9137bedf07d6728282be554fb21893246ae1e96
Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously we were only building all languages when the module was
built with a developer build of Qt and for auto tests. However, since
users have to build the example themselves (since we don't provide
example binaries), they will only see en_GB by default.
This change makes it so that the user will have access to all available
languages by default. Users that don't want or need all languages for
their application can specify individual languages with e.g.
CONFIG+=lang-es_ES.
Change-Id: I643ab6c7a1f01426a3ef86a886a4a4dd10ad00f6
Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There was a build error on QNX:
share/../include/userdict.h:130:20: error: field 'load_time' has
incomplete type 'ime_pinyin::timeval'
share/../include/userdict.h:130:12: note: forward declaration of
'struct ime_pinyin::timeval'
Change-Id: Id7fc041d7f935fcca72b87b0bfcfd34afa4d8070
Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Full screen mode covers the entire screen when enabled. However, if also
VirtualKeyboardSettings.wordCandidateList.alwaysVisible is true, the word
candidate area was subtracted from the full screen mode area.
This change fixes the issue, and does not subtract the area in this case.
[ChangeLog] Fix full screen edit mode with word candidate list always visible.
Task-number: QTBUG-67510
Change-Id: I816ccdb22be01e2f86fccacc6ba946ea202815ae
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
keyboardRectangle was not correct because the binding was in
the wrong place.
This change moves the binding to InputPanel, which then can map
the keyboard location to itself, or to root item.
Change-Id: I471df13d5381ec9b0e1b80369590bc608d17ae91
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In AutoScroller.qml, the following line
target: inputItem && !Qt.inputMethod.animating ? Qt.inputMethod : null
prevents onKeyboardRectangleChanged from getting executed. Even though
Qt.inputMethod.animating is updated before the rectangle is updated,
the handler still doesn't get emitted. Since the VKB only emits
keyboardRectangleChanged when the input method is not animating (see
the binding in Keyboard.qml), we can safely remove that check.
That just leaves one more issue: clicking in an input field, then
clicking outside of it (on the MouseArea) to hide the keyboard, then
clicking back in a lower text field will not cause AutoScroller
to scroll. In this case, onInputItemChanged is called, but the if
checks (mentioned at the top of the description of the bug report) use
the full height of the flickable before it's reduced to account for the
keyboard. Subtracting the height of the keyboardRectangle from the
flickable's height didn't work, so that issue needs to be fixed
separately.
Task-number: QTBUG-66294
Change-Id: I3733bb6be05443748eb873d76daee428be9687e8
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
| |
QTBUG-66675 is fixed now.
This reverts commit 7db26902b36e3417a96586f98278b63afc0b0ad4.
Change-Id: Ifc02a9ba4ce4fcb0dd7ecf9e48fab42e332648a5
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
When the return key is sent to a multiple line text field it can be
interpreted differently if the Shift modifier is included. This makes
sense for a hard keyboard as you can use it to enter in a new line
versus a new paragraph. For the virtual keyboard however, it is best to
just send it as a plain return so it handles it correctly.
Change-Id: I995504d7ab6961fd8baf016d2d68be4b659d1e19
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
QDoc in Qt 5.11 uses Clang to parse the C++ source for documentation.
for this, Clang needs a module header which is not available for
Qt Virtual Keyboard - construct a custom one for documentation builds
and fix all remaining documentation warnings; \fn command syntax and
one linking issue.
Change-Id: I1e9b2170aca98782e9d6a758e84c9d17449cb25c
Reviewed-by: Martin Smith <martin.smith@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Replace custom text input types with corresponding
Qt Quick Controls 2 types.
- Replace custom scrollbar with ScrollBar from Qt Quick Controls 2.
- Only build the basic example if Qt Quick Controls 2 is available.
- Update the documentation and its screenshot.
Change-Id: Ib2559595d4a589bb228450bc08be5ab6fbc69b91
Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
|
|
|
|
|
|
|
|
|
| |
This reverts commit 5f80f66d3b5878bba021d4ac67e35388bfe84fdb,
as it caused QTBUG-66675 and blocks the module.
Let's re-apply this when the bug in declarative is fixed.
Change-Id: Ice2dc9b9e7c8fd85d59fc0dfc324e4574c9140fd
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|\
| |
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
Change-Id: Ic33e523570bd1e7801fa9515b907bed912ba53ba
|
| |
| |
| |
| |
| | |
Change-Id: Ifab743c1e965dd92c6c174296f310f39f87e8bac
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
|
| |
| |
| |
| | |
Change-Id: Ia418138b02dc1e33f5d365dbd2363b3933b315ef
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
With the QtQuickCompiler compatibility in place in qtdeclarative, we can by
default compile all qml files ahead of time, embed the cache files into
resources and avoid shipping the original sources. This simplifies distribution
and reduces the size of the overall package, ~1.6 MB for
libqtvirtualkeyboardplugin.so on Linux x86-64.
Change-Id: Ic3c20f43dfac6e601389b581033dcaf6f7015443
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|\ \
| | |
| | |
| | | |
refs/staging/5.11
|