oddEditText behaviour

sorex

Expert
Licensed User
Longtime User
Hello,

I'm having a strange issue here :BangHead:

here is what I did...

I opened an existing layout that was simular to what I needed
(a label, editbox, reset button and submit button) and saved it
with a different name.

I renamed the views so that they don't conflict with the other layout

I changed the design script aswell to match the new names

when I start the app all looks fine but when I click the edit box
and type just 1 letter some kind of search window appears above the keyboard
and lists contacts and other stuff containing that letter.

when I go to the layout(/tab) where I copied it from it still behaves normal.

any idea what could have triggered this search view? (I don't have any events on the editbox in my code)
 
I am preparing an example for you.

from what I can see is that the behaviour happends when I used progressdialogshow/hide.

if I comment those lines it works fine.
 
Upvote 0
I have tried your sample on 2 different devices, commenting and uncommenting that line, I don't see anything like you described.

Are you testing your code on a real device? what Android version?
 
Last edited:
Upvote 0
I could add my own loader thingy but I just want to know why it bugs here. :)
 
Upvote 0
Here you go...

I rebooted my phone but the problem still remains.

I tried it via the emulator and OS 4.1 and there it works normal,
I couldn't run the emulator in 2.2 as I only got a black screen after waiting for more than half an hour.
 

Attachments

  • step1.png
    step1.png
    8.3 KB · Views: 325
  • step2.png
    step2.png
    17.1 KB · Views: 384
  • step3.png
    step3.png
    25.4 KB · Views: 392
Upvote 0
I don't get it...

in some case tapping on keys doesn't even add text to the textbox and pressing "Done" doesn't react at all.
 
Upvote 0
I seem to have bypassed the problem.

If I do

B4X:
Expand Collapse Copy
boxPass.visible=false
ProgressDialogShow(ptitle)

and set it visible again when loading is done then it works fine :)

using boxPass.enable=false only still fails

still a bizar thing if you ask me.
 
Upvote 0
Hello Roger,

well, the app starts and

step/image 1 a fake loader starts with that progress icon

step/image 2 I click on the textfield

step/image 3 is the keyboard I got

If I got rid of that progress "layer" it works fine, if I hide the textfield and set it back it works fine aswell.

It seems that something in that loader messes something up somehow when the textbox is stil visible.
 
Upvote 0
Back
Top