This page was last modified 11:05, 10 September 2007.
KIJ000723 - keyPressed() called twice when LSK is pressed and Display is in (Canvas) full-screen mode
From Forum Nokia Wiki
| keyPressed() called twice when LSK is pressed and Display is in (Canvas) full-screen mode | KIJ000723 |
| Overview | When the Display is in Canvas and in full-screen mode, pressing the left softkey (LSK) once results in two key press events. |
| Category | Java |
| Subcategory | MIDP1.0/2.0 |
| Reported against | S60 3rd Edition, Nokia E50 |
| Date identified | August 23, 2007 |
| Symptoms | - |
| Detailed 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. |
| Solution | - |
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 6300 issues | MIC331 | Mobile Java General | 2 | 2008-06-11 23:39 |
| Writing text on the canvas | madmartygan | Python | 1 | 2006-03-03 02:48 |
| KeyPressed on two or more keys | dpiazza | Mobile Java General | 2 | 2003-04-20 03:33 |
| Canvas and Canvas.FIRE | M.T._Pockets | Mobile Java Games | 2 | 2008-03-08 21:43 |
| Image Preload | LiveRock | Mobile Java Tools & SDKs | 3 | 2006-04-24 03:08 |

