Custom left soft key label must be restored explicitly in WRT 1.1 (Browser 7.1) (Known Issue)
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.
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
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.

