Namespaces
Variants
Actions

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

Jump to: navigation, search
Archived.png
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}}.

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

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 07:40.
218 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved