EditBox and delays

13 posts / 0 new
Last post
turbo@bayour.com
turbo@bayour.com's picture
Offline
Mobile Conjurer
Joined: 25 Feb 2010
Posts:
EditBox and delays

I get one second delay for each character I put in a ListBox. Both in the Emulator and the app on my Nokia 5310_ExpressMusic.

Any ideas why?

I can't even begin to tell you how extreamly annoying this is! Smile

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Sam Pickard
rival's picture
Offline
Mobile Archmage
Joined: 19 Mar 2009
Posts:

In a list box or an edit box?

turbo@bayour.com
turbo@bayour.com's picture
Offline
Mobile Conjurer
Joined: 25 Feb 2010
Posts:

An EditBox of course, silly me! The EditBox is in a ListBox, but that's (probably) besides the point... Sorry for the confusion.

Niklas Nummelin
niklas's picture
Offline
Mobile Wizard
Joined: 18 Dec 2007
Posts:

It's unavoidable. The only way of inputing text using the 5310 xpress music is the numeric keypad. The current mechanism for inputing text in an editbox with a numeric keypad is the traditional non-t9 way, i.e. by doing multi-taps on each numeric key to access groups of letters. This is why you notice a delay when only pressing one key, otherwise you wont be able to step through the letters corresponding to that key.

Whenever a keyboard exists (still in an experimental state) this is handled differently and the character is sent directly. If you press another key before the timeout or if the editbox is set to number input mode the characters will also be sent directly.

// Niklas

turbo@bayour.com
turbo@bayour.com's picture
Offline
Mobile Conjurer
Joined: 25 Feb 2010
Posts:

They ARE set to IM_NUMBERS, but still...

Sam Pickard
rival's picture
Offline
Mobile Archmage
Joined: 19 Mar 2009
Posts:

Then you should be able to just type in the number. When you press a different key it will flush the current number to the edit box.

turbo@bayour.com
turbo@bayour.com's picture
Offline
Mobile Conjurer
Joined: 25 Feb 2010
Posts:

Yes. I never said I couldn't insert characters. I said I get a one second delay...

If I input two zero's, only one is registered. Unless I press zero, wait one sec and then press zero again... This is very anoying. And not expected behaviour if I understood you correct:

Quote:

if the editbox is set to number input mode the characters will [also] be sent directly.

Niklas Nummelin
niklas's picture
Offline
Mobile Wizard
Joined: 18 Dec 2007
Posts:

Yes you're right, that's obviously a bug. I added an issue for it and will look into it as soon as possible.
The issue: https://github.com/MoSync/MoSync

// Niklas

turbo@bayour.com
turbo@bayour.com's picture
Offline
Mobile Conjurer
Joined: 25 Feb 2010
Posts:

Thanx a mill!

Niklas Nummelin
niklas's picture
Offline
Mobile Wizard
Joined: 18 Dec 2007
Posts:

It was an easy fix. It should be in the next nightly build.

poocka
poocka's picture
Offline
Joined: 6 Apr 2010
Posts:

There is (in Forum Posts) was an info about EditBox::setQwerty() method. Did this method was expelled from API?

Ranis
Ranis's picture
Offline
Joined: 7 Apr 2011
Posts:

Hi...
I've had installed MAUIex in Nokia E71..
Why I can't type a text in EditBox?
thank's for advice

Sam Pickard
rival's picture
Offline
Mobile Archmage
Joined: 19 Mar 2009
Posts:

I will have to have a look to see if there is a problem, but in MAUIex, you need to use the joypad to highlight the editbox you want to edit and (I think) press fire first. You type directly into the box, there isn't a native text window to type into.