aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Add protected constructor for QVirtualKeyboardAbstractInputMethodJarkko Koivikko2021-06-035-19/+117
| | | | | | | | Add QObjectPrivate based constructor to be able to share the private class. QObjectPrivate enables private slots. Change-Id: Ibc0bc6c8cb751b03a3e0162d02520eaa669696fb Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Add the 'Private' suffix to the internal module namesAlexey Edelev2021-05-311-4/+4
| | | | | | | | Rename internal modules to adjust their names to the internal module policy. Change-Id: I1c0a074b33865b1054f847bb1d5009b4950a4fa0 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Fix qml warning regarding touchPointsJarkko Koivikko2021-05-282-8/+8
| | | | | | | | | | | | | | | | | The warning is triggered when interacting with the MultiPointTouchArea: Parameter "touchPoints" is not declared. Injection of parameters into signal handlers is deprecated. Use JavaScript functions with formal parameters instead. Fix by declaring the touchPoints parameter to the appropriate MultiPointTouchArea signal handlers. Fixes: QTBUG-93997 Pick-to: 6.1 6.1.1 Change-Id: If55cf3e8cd4e94df9e6d5d0fcae6978a4250c671 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Use fixed qt_add_resource BASE argumentJoerg Bornemann2021-05-228-165/+164
| | | | | | | | Pick-to: 6.1 Task-number: QTBUG-86726 Change-Id: I9b86f09db8539a21c30414b24f6dddef057f230f Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Fix static builds to import correctly named Quick Window pluginAlexandru Croitor2021-05-061-1/+1
| | | | | | | | | | The qml plugin import name was renamed since Qt 5 to QtQuick.Window instead of QtQuick2.Window. Pick-to: 6.1 Fixes: QTBUG-93459 Change-Id: I5b8bb61c6eaff8e3244a3b2b4f70ac49c4f567f0 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
* Decrease the z-value of the InputPanel to 10000Volker Hilsheimer2021-05-062-1/+4
| | | | | | | | | | | | | | There are valid use cases where UI elements need to be on top of the InputPanel, so occupying the maximum Z value is unnecessary. A Z value of 10000 should be a reasonably default and leaves enough room on both sides. Document the new default. [ChangeLog][InputPanel] The default z-value of the InputPanel item has been decreased to 10000. Fixes: QTBUG-92881 Change-Id: Ifab12273746e5a33e14d8346e03af6ec80c2b049 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Remove qmake project filesJarkko Koivikko2021-05-054-155/+0
| | | | | | Task-number: QTBUG-88742 Change-Id: I9fb1b29a1827a5c10a8d44a1e51f0ee5fb436000 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Document that there can only be one InputPanel instanceVolker Hilsheimer2021-05-051-0/+2
| | | | | | | | | | | | Since there can only be one QVirtualKeyboardInputContext, and since that only has a single pointer to an inputPanel, this is a hard limitation. The QVirtualKeyboardInputContextPrivate::registerInputPanel enforces that in debug builds. Fixes: QTBUG-90809 Pick-to: 6.1 Change-Id: Iae7ae86871401c22932b98d6c5ec1273afb7dfa2 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Replace "Qt 5" with "Qt"Volker Hilsheimer2021-05-041-2/+2
| | | | | | Pick-to: 6.1 Change-Id: I7521b539ad38af5ba2845f2ce097e5e20dcbd041 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Remove qmake project filesJoerg Bornemann2021-04-3037-2449/+0
| | | | | | | Task-number: QTBUG-88742 Change-Id: Ide456bc0f6d1c5613e83d500717acdd37cbbbf81 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Fix documentation of parametersVolker Hilsheimer2021-04-162-4/+4
| | | | | Change-Id: I2867cd053911a7501b7dfed5fa801fec9e0fdf67 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* CMake: Fix qml module version to use the repo project versionAlexandru Croitor2021-04-153-3/+3
| | | | | | | | | | | Use PROJECT_VERSION instead of CMAKE_PROJECT_VERSION, so that the repo project version is used in a top-level build, rather than the version of the qt5 project. Pick-to: 6.1 Task-number: QTBUG-92861 Change-Id: I1ca9423ba63bf8f653289354fa43134769e62964 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Refresh keyboard layouts and styleJarkko Koivikko2021-04-13129-5180/+6686
| | | | | | | | | | | | | | | | | | | | | | This change makes significant and hopefully aesthetically pleasing changes to the look of the virtual keyboard. The main changes include: - New modern and minimalist layout for keys - New style with better contrast and attractive appearance - Reduced the number of function keys by eliminating the right shift key as well as combining hide keyboard, language and handwriting keys to the new function key (on the left side of the space bar). [ChangeLog] Refresh keyboard layouts and style. [ChangeLog][Styles] Added new styling properties for the new function popup menu. Change-Id: Ie1e4fa33b98331264bf0106e1d1bbdccc43c596f Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Change long press delay from 800 ms to 500 msJarkko Koivikko2021-04-131-1/+1
| | | | | | | | | | | | | | Long press delay was set to releatively long interval 800 ms. This seems to be more than in other platforms. Change long press interval to 500 ms. This seems to give better user experience. [ChangeLog] Change long press delay from 800 ms to 500 ms. Change-Id: I35fa606dd53a5cb40fe9aa0590c13d95c340fb28 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Add new property BaseKey.displayAlternativeKeysJarkko Koivikko2021-04-132-3/+14
| | | | | | | | | | The new property displayAlternativeKeys is bound to effectiveAlternativeKeys by default. This allows to override the alternative keys displayed to the user, if the alternative keys contain non-printable characters, for example ZERO WIDTH NON-JOINER. Change-Id: I1496dadcbc02929e98d15bc4c41c1145dc4faf7c Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Improve debug printJarkko Koivikko2021-04-131-1/+2
| | | | | | | | | | | | This debug print in a qml file is commented out, but can be enabled for development purposes. Improve debug print to contain width and height of the element in addition to position. Change-Id: Iba67c545be960e544e7d191c00770ace7b6d556e Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Don't use deprecated QLibrary::location, use path insteadVolker Hilsheimer2021-03-253-12/+12
| | | | | | | Silence compiler warnings. Change-Id: I9b98a118193a9eceaf49a33552236b15cb9401e9 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* CMake: Fix pinyin and tcime resource bundlingJarkko Koivikko2021-03-059-17/+63
| | | | | | | | | | | | | | | | | | | | | Fix incorrect path in the generated resource file and add missing dictionary files to tcime bundle. Fix CMake command line options vkb-no-bundle-pinyin and vkb-no-bundle-tcime. Fix initialization order of resource files: env, local, resource. It was previously: env, resource, local. It is now possible to override resource files by placing local files to data directory. [ChangeLog] Added vkb- prefix to no-bundle-pinyin no-bundle-tcime command line options (e.g. vkb-no-bundle-pinyin) and restored them as part of configuration. Pick-to: 6.1 Change-Id: I80d1d9091daa9676c655c507d01ed55c03685ae0 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Fix symbols key label in Japanese symbols layoutJarkko Koivikko2021-03-051-3/+13
| | | | | | | | | Replace the constant ABC with the current input mode name. Pick-to: 6.1 Change-Id: I6b14bd8960a9c3352ef2b26c189f83f094fc8438 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* CMake: Change layout base path to value which it was before cmakeJarkko Koivikko2021-03-057-69/+69
| | | | | | | | Pick-to: 6.1 Change-Id: I05fe29c9de3a4e127ed7fe9844c21bcbd000130c Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* CMake: Add qt command line optionsJarkko Koivikko2021-03-051-0/+9
| | | | | | | | Pick-to: 6.1 Change-Id: I78e8aaeea267b3a607e8089c1ca7181721369f15 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Add Stroke and Romaji values to the InputMode enumerationJarkko Koivikko2021-03-054-2/+12
| | | | | | | | [ChangeLog] Added Stroke and Romaji values to the InputMode enumeration. Pick-to: 6.1 Change-Id: I03d131c78fae7bf52b8778f7286267d5fc60af94 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Add Q_REVISION attribute to clearInputModeJarkko Koivikko2021-02-231-1/+1
| | | | | | | Fixes: QTBUG-91193 Pick-to: 6.1 Change-Id: Idf231cb7f420bb1d98f85e29da6eccb573c78b9b Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
* Replace layoutChangeNotifyTimer with Qt.callLaterJarkko Koivikko2021-02-131-7/+3
| | | | | | | | | | | | | | | The layoutChangeNotifyTimer is used internally by the Keyboard to delay the notification of keyboard changed event to keyboard observer component. This is to avoid subsequent notification calls. Use of timer is not perhaps the best way to accomplish this. This change replaces the timer with Qt.callLater, which will do the same but without the additional delay. Pick-to: 6.1 Change-Id: I9bbefb47ddd0daa64096bd676c25da4e94bcd33d Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Remove visible condition from the keyboard observer scanJarkko Koivikko2021-02-131-1/+1
| | | | | | | | | | Keyboard observer scan layout must work even though the keyboard layout is currently invisible. Pick-to: 6.1 Change-Id: Icebd25fb847837a6bcb9a7aca2e165d2638871c0 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Do not trigger word reselect when focus is set programmaticallyJarkko Koivikko2021-02-122-1/+5
| | | | | | | | | | | | | | | | | | When focus is set programmatically (not by mouse, touch or keyboard), keyboard state is empty, which evaluates into condition that triggers word reselection. This should not happen, as it does not happen during normal focus event. Fix the issue by setting new keyboard state during focus object set. The word reselection code already has a check in place for an empty state before reselection can happen. Therefore, the new state will prevent word reselection. Pick-to: 6.1 Change-Id: Ic5c24dbf7039da9736a6f4e916a32a04f62769dc Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Add missing parameter to Connections handlerJarkko Koivikko2021-02-091-1/+1
| | | | | | | | | | | | Amend to commit b04eb85b Add missing index parameter. Pick-to: 6.1 Change-Id: Ifd7048e04d06d24b409043a18e1b64dcd078e55a Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Allow multiple input methods in the extension metadataJarkko Koivikko2021-02-041-8/+30
| | | | | | | | | | Allow the InputMethod property of the metadata to contain either a string value, or an array of strings. This allows the extension to host multiple input methods. Pick-to: 6.1 Change-Id: Id4041c26e365b9c604b068c9e43dca2114b5c27f Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Pinyin: not mix upper and lower caseShinichi Okada2021-02-011-2/+2
| | | | | | | | | We should not change the original input text. Fixes: QTBUG-85245 Pick-to: 5.15 5.12 Change-Id: Idfbe95102f9e60a08d78fec5791b9fb2a5a2e817 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Adapt to new Connections syntaxJarkko Koivikko2021-01-298-12/+12
| | | | | Change-Id: I01eee099b48ea7ff480eaa3a52755c09cfdc13b3 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Add new key type FlickKey v2Jarkko Koivikko2021-01-2911-7/+262
| | | | | | | | | | | | | This key is typically used in Japanese keyboard layouts. It allows entering up to four alternative characters using flick gesture. [ChangeLog] Added a new key type FlickKey. v2: Update CMake project Change-Id: Icc1ffc484fed0611bf9982a6cc33ed5ac0c03f55 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Add new function Trace.startHideTimerJarkko Koivikko2021-01-292-1/+47
| | | | | | | | | | | | This function sets the opacity to zero after the specified delay. If the function is called again before the previous delay expires, the timer will start again with the new delay. [ChangeLog] Added new function Trace.startHideTimer(), which allows the input method to hide trace before destroying the trace object. Change-Id: Icb2da1873cf5889ee983a61b808b65fcb1dd903d Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Add generic dictionary API for the virtual keyboard v2Jarkko Koivikko2021-01-2913-1/+663
| | | | | | | | | | | | | | | | | | - Dictionary manager API provides applications methods to create custom dictionaries for use in the virtual keyboard input methods. - The dictionaries can be activated from both C++ and QML. v2: Update CMake project [ChangeLog] Added a generic dictionary API. The API allows applications to create/update/remove dictionaries at runtime. The desired dictionaries can be activated from the application. The implementation of the dictionaries depends on the input method. A typical use case for this API would be a phone book. Change-Id: I8fcb931eff2adff80b4a458a676ba25d51df2ec9 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Add new method clearInputMode() to input method v2Jarkko Koivikko2021-01-296-1/+35
| | | | | | | | | | | | | | [ChangeLog] Added new method clearInputMode() to input method. v2: Remove clearInputMode() call from keyboard.qml Remove clearInputMode() call from keyboard.qml because it happens too early and is unnecessary because setInputMethod will invoke it. It is important that the input method receives update() call before clearInputMode(). Change-Id: I86b4aacd8229e8a3644a36921de2a20000d3f2e9 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Add new settings defaultInputMethodDisabled, defaultDictionaryDisabledJarkko Koivikko2021-01-295-3/+103
| | | | | | | | [ChangeLog] Add new settings VirtualKeyboardSettings.defaultInputMethodDisabled and VirtualKeyboardSettings.defaultDictionaryDisabled. Change-Id: Ica735c1072bb87d97f9cc9a0fb515d3eb6da2aa2 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Add new setting for disabling handwriting modeJarkko Koivikko2021-01-295-1/+54
| | | | | | | | | | This property allows to disable handwriting mode at runtime. [ChangeLog] Add new setting VirtualKeyboardSettings.disableHandwritingMode, which allows to disable handwriting mode at runtime. Change-Id: I5f057cccb6d6e88470d01f43e8f4735fdd436f30 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Add new setting for input method hintsJarkko Koivikko2021-01-295-0/+48
| | | | | | | | | | | This property allows to set persistent input method hints. [ChangeLog] Add new setting VirtualKeyboardSettings.inputMethodHints, which allows the application to set persistent application wide input method hints. Change-Id: Iaa54a360d80c5def88f53aa8b8510c7cf041208c Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Add new setting for handwriting timeoutJarkko Koivikko2021-01-294-1/+93
| | | | | | | | | | | | | - Added new properties VirtualKeyboardSettings.hwrTimeoutForAlphabetic and VirtualKeyboardSettings.hwrTimeoutForCjk. - The usage of these properties depends on the plugins (e.g. T9 Write). [ChangeLog] Add new settings VirtualKeyboardSettings.hwrTimeoutForAlphabetic and VirtualKeyboardSettings.hwrTimeoutForCjk to allow the application to adjust the handwriting recognition timeout. Change-Id: Id80de20c3ebc8ff97741cf6514b987070d55d66e Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Add new setting for user data path (add revision)Jarkko Koivikko2021-01-291-1/+1
| | | | | | | | | Amend to commit 6421dbd5 Add revision to changed signal. Change-Id: I032e1ccaa3b74f2717e430f14f1142cd9a53d197 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Add new setting for user data pathJarkko Koivikko2021-01-275-2/+78
| | | | | | | | | | | | | | | - The default userDataPath is set to QStandardPaths::GenericConfigLocation. - Add a signal for application to indicate user data reset. [ChangeLog] Added new property to settings VirtualKeyboardSettings.userDataPath. This allows the application or middleware to change the path to user files at runtime. Added also a signal to indicate user data reset - when the application triggers the signal, the virtual keyboard closes all files in the user's directory. Change-Id: I248a5b08c86b3fe7124a8d3f362c8f72e07b92c0 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Fix XCB::XFIXES target lookup when using qt-configure-moduleAlexey Edelev2021-01-263-2/+8
| | | | | | | | | | | | 'qt-configure-module' has different mechanism to evaluate features than the regular configure script. It's necessary to find required XCB components in CMakeLists.txt in this case to have XCB::XFIXES available. Change condition for vkb-xcb feature to correct one. Fixes: QTBUG-89979 Change-Id: I91316bde6d4c3ff400fdcb51b9faccfc0e1cf0a0 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Add InputContext.keyboardObserver property v4Jarkko Koivikko2021-01-2628-2/+385
| | | | | | | | | | | | | | | | | | | | | | | - KeyboardObserver provides access to keyboard properties. Currently it contains a property to access keyboard layout. One possible use case of the KeyboardObserver is for input methods that use the keyboard layout for more accurate spell correction. - Add BaseKey.keyType property: This property holds the key type at runtime. v2: Ensure keyboard observer is set before input mode - Fixes crash if the input panel instance is destroyed and created again. In such case, the keyboard observer is not assigned before the next input mode is set. v3: Fix keyboard layout observer for keys that are invisible v4: Update CMake project - Skip keys that are invisible. Change-Id: I820ce3a575397885eb6310722c3f2c6dffcf325c Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Recycle drawing canvases to save resources v3Jarkko Koivikko2021-01-265-35/+131
| | | | | | | | | | | | | | | | | | | | | | | | Each handwriting trace requires a canvas. Previously the canvases were destroyed after the trace is discarded. This might not be the optimal way to handle the canvas component. This change modifies the canvas creation and preserves the existing canvases and recycles them for reuse. Also, a handful of canvases are now created at startup to reduce the latency at initial drawing. The total number of canvases is now limited as well. If the inventory runs out and the maximum number is reached, the oldest drawing will be reused, even if it was visible on the screen. Due to fact that the Trace object may be unreferenced before they are discarded, it is now mandatory to set ownership to QVirtualKeyboardTrace objects. v2: Fix the order in which the canvas recycling happens v3: Fix bug where the canvases were not actually recycled Change-Id: Ia26bc96ab1405a578a29420e419abe8e420fb712 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Fix position of the keyboardRectangle in app integrationJarkko Koivikko2021-01-221-5/+16
| | | | | | | | | | | | | | | InputPanel contained double mapping of keyboardRectangle to QML root. The problem was that inputPanel.x and y were already relative to parent so mapToItem(null) doubled the value. Use function to calculate the rectangle. This function also references the position of the inputPanel, so it is properly updated in the Binding. Task-number: QTBUG-85554 Pick-to: 5.15 Change-Id: Iaf5075f31f27bc08bbf41aa5960303705135cd16 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* cmake: Fix detection of local Hunspell source codeJarkko Koivikko2021-01-216-4/+70
| | | | | | Change-Id: Ia639b1aad48805ac472c2fde3791e6945fdaf38c Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Remove lipi-toolkit from CMake configurationJarkko Koivikko2021-01-212-16/+2
| | | | | | | | | | Amend to commit 2dadd235 Updated by running configurejson2cmake.py Task-number: QTBUG-90297 Change-Id: I791874f664c61ee257571da2f7b74e3b635475d1 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Fix QML warningJarkko Koivikko2021-01-181-1/+1
| | | | | | | | | | | | If the alternativeKeys contain 2 items and the main key is at index 1, the effectiveAlternativeKeysHighlightIndex is calculated incorrectly resulting in QML warning. This is not an issue for any of the existing keyboard layouts, which don't have such configuration. However, better to fix it for future. Change-Id: I3239476b49ed4cc72fc8f772678981051f90bbe0 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Fix WCL menu exceeding left boundary of the keyboardJarkko Koivikko2021-01-181-1/+1
| | | | | | | | When WCL menu is opened for the first item it may exceed the left boundary of the keyboard. Change-Id: I8a8e3438c2bc9fdecfa91c0a374c672c4db2b4f3 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Fix WCL menu related QML warningJarkko Koivikko2021-01-181-0/+2
| | | | | | | | | | | | | If keyboard is dismissed while the WCL menu is active, the following error is produced: qrc:/QtQuick/VirtualKeyboard/content/components/Keyboard.qml:1302: TypeError: Cannot read property 'width' of null It is caused by accessing currentItem of a list without checking null value. Change-Id: I716e1f10d192169f28de9951e10a0a472e4dd14a Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Fix unwanted WCL menu popupJarkko Koivikko2021-01-181-1/+1
| | | | | | | | | | | | | When press and hold at keyboard, moving on top of WCL, the WCL menu (e.g. Block Word) will popup when it should not. This functionality is meant for arrow key navigation mode and was caused by missing check. Fixed by adding a check for arrow key navigation mode. Change-Id: If294668589ca4f46305e9f371470fdcfac7b1406 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>