Bug 307748 - Getting and clearing text from QLineEdit, error when predictive text from virtual keyboard is on

Tomas Løvbukten tomaslov at gmail.com
Tue Oct 2 20:33:35 UTC 2012


Hi,

I just filed a bug and attached testcase. I hope this is not a regression
for alpha 4, but it's quite serious as users loose enterred data.

Best of luck,

Tomas Løvbukten

https://bugs.kde.org/show_bug.cgi?id=307748

------


*Bug 307748 - Getting and clearing text from QLineEdit, error when
predictive text from virtual keyboard is on*

The following issue occur when either - predictive text is turned on (press
settings wheel on virtual keyboard - select XT9 predictive text) - or with
3x4 keyboard enabled There might be other cases as well, but with these
settings, it's always reproducable on the devices and emulators I've
tested. 1. Getting text from QLineEdit with more than 1 word fails
occationally. Not all words are included. 2. Clearing text in QLineEdit
fails occationally. Not all text is cleared. 3. If some text is not cleared
in the QLineEdit, tapping the QLineEdit does not trigger virtual keyboard.
Then it's not possible to manually clear the field either. If selecting one
of the linedits cleared correctly, the virtual keyboard is shown, and then
the erroneous lineedit is cleared on next click. The error is present both
in alpha 3 and alpha 4. (Might be related to
https://bugs.kde.org/show_bug.cgi?id=304230 although I don't really
understand what that issue is all about.) Reproducible: Always Steps to
Reproduce: 1.Set predictive text 2.Use the virtual keyboard to set some
multiple word text in some QLineEdits 3.Get the text from lineedits 4.Clear
the lineedits Actual Results: Some words are missing when getting the text.
The same words are not cleared. Virtual keyboard does not appear if
clicking on a non-cleared QLineEdit. Expected Results: Get all text. Clear
all QLineEdits. Virtual keyboard appears as normal afterwards. Our users
loose data due to this malfunction. Our support team gives them the
workaround which is to turn off the predictive text in virtual keyboard.
This however affects other apps as well.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/necessitas-devel/attachments/20121002/969a4fac/attachment.html>


More information about the Necessitas-devel mailing list