Archived:Creating a pop-up style TextBox does not work in Symbian (Known Issue)
The article is believed to be still valid for the original topic scope.
Article Metadata
Compatibility
Article
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:
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.


(no comments yet)