×
Namespaces

Variants
Actions

Archived:Changing softkey labels on a Symbian Web Runtime app may freeze the device (Known Issue)

From Nokia Developer 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}}.

The article is believed to be still valid for the original topic scope.


Article Metadata
Tested with
Devices(s): Nokia 5800 XpressMusic
Compatibility
Platform(s): S60 5th Edition
S60 5th Edition
Article
Keywords: setLeftSoftkeyLabel, setRightSoftkeyLabel
Created: User:TechnicalWriter2 (18 Jun 2009)
Last edited: hamishwillee (01 Aug 2012)


Contents

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.

This page was last modified on 1 August 2012, at 04:40.
53 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×