Namespaces

Variants
Actions

Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

Custom left soft key label must be restored explicitly in WRT 1.1 (Browser 7.1) (Known Issue)

From 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 N97, N97 Mini
Compatibility
Platform(s): S60 5th edition
S60 5th Edition
Article
Keywords: menu.setLeftSoftkeyLabel
Created: User:Kbwiki (02 Nov 2009)
Last edited: hamishwillee (01 Aug 2012)

Overview

On WRT 1.1 (Browser 7.1) devices, it is possible to customize the left soft key's label and operation by calling window.menu.setLeftSoftkeyLabel(String label, Function callbackfunc). However, the default label is not restored automatically when the widget is closed and a new one is opened. Because of this, an unrelated text label may be shown instead of the Options text in the newly opened widget.


Workaround

When you use custom labels in your widget, make sure that the default label is restored when the widget is closed. If you want to be sure that the default menu label is shown correctly in your widget, window.menu.setLeftSoftkeyLabel(´´, null); can be called on the startup.

Solution

This issue will be corrected in upcoming firmware updates.

This page was last modified on 1 August 2012, at 04:39.
325 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.

×