summaryrefslogtreecommitdiffstats
path: root/tests/auto/qinputcontext
Commit message (Collapse)AuthorAgeFilesLines
* Fixed compile error on non-Symbian platforms.axis2010-09-281-0/+2
|
* Fixed regression when typing in QTextControl based widgets on Symbianaxis2010-09-271-53/+204
| | | | | | | | | The bug was that when querying for the maximum text length, the case where an invalid QVariant was returned (which is allowed) was not handled properly. This would lead to input being blocked by the input context when it shouldn't. RevBy: Sami Merila
* Fixed crash in input methods when using symbols menu and numbers onlyaxis2010-09-101-0/+21
| | | | | | | | | | | | | When inputting only numbers, the symbol menu should not do anything. However in the old code the resource id of the symbol table was still being set, so the symbol key on N97 would look up a table that was not valid for the current input mode and crash. Fixed by setting the symbol table id to zero under those conditions. RevBy: Sami Merila Task: QTBUG-13472 AutoTest: Included
* Fixed a bug where passwords would not be committed when confirming.axis2010-09-021-0/+124
| | | | | | | | | | | | | | | The bug happened when you were typing a password and pressing "Done" softkey very quickly. Because of the temporarily visible character, the widget would not contain the full string at the time of softkey triggering, only the *** part. Fixed by having the input context listen for softkey (command) events and commit the temporary character before the softkey action is triggered. AutoTest: Included Task: QTBUG-12949 RevBy: Miikka Heikkinen
* Fixed input context trying to squeeze content into a full widget.axis2010-09-011-3/+0
| | | | | | | | | | | Problem was reproduced on N97. If the FEP detects that the widget is full while still editing text, it will try to send those events as key events instead. Since this screws up the content in the widget, we stop those events from reaching the widget in the input context. AutoTest: Passed Task: QTBUG-12949 RevBy: Miikka Heikkinen
* Fixed a case where a newly created native widget would lose focus.axis2010-09-011-1/+0
| | | | | | | | | | | | If a native control was created for a child widget, it would receive the FocusChanged signal in its QSymbianControl with a value of not- focused. This would lead the code to deactivate the whole toplevel window. This was fixed by having Qt traverse the widget chain up to the toplevel and check if parent widgets are also not focused. AutoTest: Included and passed RevBy: Denis Dzyubenko RevBy: mread
* Cleaned up position tracking in the Symbian input methods.axis2010-09-012-2/+661
| | | | | | | | | | | | | | | | | | | | | This fixed a case where using password mode would lead to Qt believing that the cursor was one step to the left of where it really was. This would have the effect of replacing the last character instead of appending to it, and even crashing if the cursor was all the way to the left. The code is also much cleaner this way, but it meant that QTBUG-9867 had to be solved differently this time. We do this by assuming that and empty FEP update means "erase last character", which seems to work well in practice. Also added a long overdue autotest for the FEP input methods. Most tests pass, but some don't, which I will try to fix later. Task: QTBUG-9867 Task: QTBUG-12949 RevBy: Miikka Heikkinen AutoTest: Included
* Fixes a crash when setting focus on a widget with a focus proxy.Denis Dzyubenko2010-01-061-0/+37
| | | | | | | When the focus proxy widget doesn't have InputMethodEnabled attribute set we shouldn't try to set an input context on it. Reviewed-by: Simon Hausmann
* Update copyright year to 2010Jason McDonald2010-01-061-1/+1
| | | | Reviewed-by: Trust Me
* For this test to work you need to enable autoSip on Windows Mobileninerider2009-10-091-0/+3
| | | | | | Test fixed to send the correct signal type on windows ce. Reviewed-by: Marco
* Update license headers again.Jason McDonald2009-09-091-4/+4
| | | | Reviewed-by: Trust Me
* Update tech preview license header for files that are new in 4.6.Jason McDonald2009-08-311-13/+13
| | | | Reviewed-by: Trust Me
* Changed names and URLs to reflect name change.axis2009-08-191-1/+1
| | | | RevBy: Trust me
* Revised SIP API.axis2009-08-121-2/+35
| | | | | | | | | | | | | After discussions with Matthias, several things were changed: - the autoSipOnMouseFocus property was removed and replaced with a new style hint, SH_RequestSoftwareInputPanel. This means the style can define when the input panel is launched. - The code which sends RequestSoftwareInputPanel events was moved into its own function, and the widgets call that function. AutoTest: Included and passed RevBy: mae
* Update license headers according to commit 858c70f768e.axis2009-08-061-2/+2
| | | | RevBy: Trust me
* Fixed failing test case.axis2009-06-031-10/+12
| | | | | We are not guaranteed that the checked-for event is the last event, so we look for it in a list instead.
* Added an autotest for the new selection API in input methods.axis2009-06-031-0/+19
|
* Fixed an autotest that was left behind when API was updated.axis2009-06-031-2/+2
|
* Close the input panel when focusing a non-inputmethods aware widget.axis2009-05-041-0/+35
| | | | | AutoTest: Included RevBy: denis
* Implemented RequestSoftwareInputPanel events in QLineEdit.axis2009-05-041-4/+45
| | | | | AutoTest: Included RevBy: denis
* Long live Qt for S60!axis2009-04-242-0/+121