×
Namespaces

Variants
Actions
Revision as of 09:59, 15 June 2012 by hamishwillee (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Archived:Bug affecting textarea in WRT widgets (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}}.

Article Metadata
Code Example
Source file: Media:Textarea.zip
Tested with
Devices(s): Emulator
Compatibility
Platform(s): S60 3rd Edition FP2, Beta SDK
S60 3rd Edition FP2
Article
Created: bhapca (01 Dec 2007)
Last edited: hamishwillee (15 Jun 2012)

Description

A widget that uses a textarea field (or text input field) crashes the browser when the field is edited. This known issue has been verified by Nokia Developer.

How to reproduce

The known issue can be reproduced with the following example code:

  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"   
"http://www.w3.org/TR/html4/strict.dtd">
<html>
 
<head>
<title>textarea bug</title>
 
<script type="text/javascript">
function handleOnload() {
widget.setNavigationEnabled(false);
}
</script>
 
</head>
 
<body onload="handleOnload();">
 
<form>
<textarea id="editor"></textarea>
</form>
 
<ol>
<li> Press enter to make the control editable </li>
<li> Enter any text </li>
<li> Press up/down arrows to leave the edit mode </li>
<li> Bam ! </li>
</ol>
 
</body>
</html>

The complete Symbian Web Runtime widget is available here: File:Textarea.zip

The browser also crashes when the cursor navigation mode is enabled and you move the cursor over the field and start entering text without pressing Enter first.

Solution

This is a known issue in the S60 3rd Edition, FP2 Beta SDK emulator and is expected to be fixed in the final release.

This page was last modified on 15 June 2012, at 09:59.
124 page views in the last 30 days.
×