Archived:KeyPressed() called twice when LSK is pressed and Display is in (Canvas) full-screen mode (Known Issue)
Archived: 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): Nokia E50
Compatibility
Platform(s): S60 3rd Edition
Article
Created: User:Technical writer 1
(21 Aug 2007)
Last edited: hamishwillee
(28 Jun 2012)
Overview
When the Display is in Canvas and in full-screen mode, pressing the left softkey (LSK) once results in two key press events.
Description
If any key, including softkeys, is pressed once, a single key pressed event should be generated.
However, in the Nokia E50 pressing the LSK once will result in two key press events when the Display is Canvas and in full-screen mode.
How to reproduce
Write a sample MIDlet and initialize a variable. Increment it by one inside keyPressed(). Draw its value in Canvas. When pressing other keys, the variable is incremented by one and when pressing the LSK, it is incremented by two.


(no comments yet)