Archived:TimerTask operation changes TextField focus (Known Issue)
Article Metadata
Tested with
Compatibility
S60 2nd Edition FP3
S60 3rd Edition, S60 3rd Edition, FP1
Article
Overview
TextField focus is changed and wrong TextField calculation is performed after each TimerTask operation.
After each TimerTask operation, focus always switches from the chosen TextField to the first TextField on the Form. This means that the content of the wrong TextField is calculated.
Description
Use case: An application consists of a Form with three TextFields, of which the first and the third can be modified with input by the user. The second TextField includes a calculation of input content from the third TextField.
Description: Two problems occur every time when the included TimerTask operation reaches the end and the total result of the second TextField on the Form is updated:
- The application switches focus to the first, topmost TextField (notable with Nokia N70 where the first TextField becomes always visibly active), and as result,
- The input of the first TextField is calculated instead of the intended third TextField (all phones).
The desired operation (that is, the third TextField is calculated and focus remains unchanged) can be reproduced with Sun's WTKs 2.2 and 2.5.


(no comments yet)