×
Namespaces

Variants
Actions

Archived:Creating a pop-up style TextBox does not work in Symbian (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
CompatibilityArticle
Created: User:Technical writer 1 (22 Nov 2006)
Last edited: hamishwillee (13 Aug 2013)

Contents

Overview

According to the S60 2nd Edition specification, if the title is null and the TextBox type is ANY, a full-screen editor is used. If the TextBox type is other than ANY, or it is ANY but the title is non-null, a query/pop-up editor is used. Despite the TextBox type and whether the TextBox has a title or not, the S60 devices are always creating a full-screen editor type TextBox.

Description

Under the section 2.1.10 in the S60 2nd Edition specification document (and more accurately under 2.1.10.1.3 – "Editor presentation") it states that if the title of a type ANY TextBox is null, a full-screen editor is used. If the TextBox type is other than ANY or it is set to ANY, but the title is non-null, a query/pop-up editor is used.

This does not work in S60 devices - regardless of the type or whether the title is set to null or not, the devices are always displaying the TextBoxes in fullscreen mode.

This was also tested with Nokia 6270 (Series 40 phone), where this problem did not occur, so in Series 40 phones it is possible to create pop-up/query type TextBoxes.

How to reproduce

Write a test MIDlet defining the textBox as follows:

TextBox t = new TextBox(null, "type@fullscreen.com", 50,TextField.ANY);

Compile, package and run on a real device. This should create a full-screen type textBox.

Now tweak the textBox definition:

TextBox t = new TextBox("popup", "type@popupquery.com", 50, TextField.PASSWORD<nowiki>|</nowiki>TextField.ANY);

According to the specification this should result in a pop-up/query-type textBox, not filling the entire screen. However, in S60 devices, this does not work.

Solution

No solution exists.

This page was last modified on 13 August 2013, at 13:28.
177 page views in the last 30 days.