You Are Here:

Community: Wiki

This page was last modified on 23 June 2009, at 12:40.

KIC001389 - Changing softkey labels may freeze the device

From Forum Nokia Wiki



ID KIC001389 Creation date June 18, 2009
Platform S60 5th Edition Devices Nokia 5800 XpressMusic
Category Web Technologies Subcategory UI


Keywords (APIs, classes, methods, functions): setLeftSoftkeyLabel, setRightSoftkeyLabel


Overview

When changing softkey labels programmatically while an input box has focus, the device freezes.

Description

In a WRT widget installed on 5800 XpressMusic, when an input box has focus, the softkey labels are set to Done and Cancel. If the softkey labels are changed programmatically while an input box has the focus, the device freezes or crashes.

How to reproduce

Create a widget that has a button for changing the softkey labels and an input box.

Select the input box by tapping on it and start typing.

Press the button to change softkey labels.

-> The device freezes or crashes.

Solution

Do not allow the changing of softkey labels while an input box has focus. This can be tested by going thru all the input fields with getElementsByTagName("input") and checking if it has focus.

Related Wiki Articles

No related wiki articles found

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fwikiE2eforumE2enokiaE2ecomE2findeE78E2ephpE2fKIS001520E5fE2dE5fBrowserE5finE5fNokiaE5fN97E5fSE44KE5femulatorE5freportsE5fincorrectE5fUserE5fAgentE5fstringX qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZKnowledgeBaseContentQ qdcZtypeQUqfntypeZKnownIssueQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqfntypeZWikiContentQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZbrowsingQ qfnZtopicQUqfnTopicZwebE5ftechnologyQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZKnowledgeBaseContentQ qfnZtypeQUqfntypeZKnownIssueQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qfnZtypeQUqfntypeZWikiContentQ qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZKnowledgeBaseContentQ qrdfZtypeQUqfntypeZKnownIssueQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqfntypeZWikiContentQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ