Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries. Thanks for all your past and future contributions.

Revision as of 05:43, 24 October 2013 by hamishwillee (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Archived:TimerTask operation changes TextField focus (Known Issue)

From Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

Article Metadata
Tested with
Devices(s): Tested on Nokia 6233 (Series 40), Nokia N70, Nokia N73, Nokia N93 (S60)
Created: User:Technical writer 1 (13 Jun 2007)
Last edited: hamishwillee (24 Oct 2013)


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.


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:

  1. The application switches focus to the first, topmost TextField (notable with Nokia N70 where the first TextField becomes always visibly active), and as result,
  2. 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.

This page was last modified on 24 October 2013, at 05:43.
42 page views in the last 30 days.