Shikhar13 / codenameone

Automatically exported from code.google.com/p/codenameone
0 stars 0 forks source link

TextFIeld folds up #319

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Same action on the simulator as well as device.
Tried on an android phone as well as a j2me phone.

What steps will reproduce the problem?
1.try this:
  Dialog d=new Dialog();
  d.addComponent(new TextField());
  d.showPacked(BorderLayout.CENTER,true)
then run app in simultor.

2.uncheck 'native input' then try typing in textfield, it folds up!

3.now rplace :
d.showPacked(BorderLayout.CENTER,true);
with d.show() and that action doesnot happen.

What is the expected output? What do you see instead?
The expected output is for the textfield not to fold up when it receives focus 
for editing. But what I see is that on clicking the textfield for editing,the 
textfield folds up and user cant type in text again except you restart the app.

What version of the product are you using? On what operating system?
am using netbeans 7.1.1 with the CN1 build 1.1.18 and on windows 7.

Please provide any additional information below.

Original issue reported on code.google.com by neleywau...@gmail.com on 7 Sep 2012 at 8:16

GoogleCodeExporter commented 9 years ago
Chen, can you recall any relevant changes recently?

Original comment by shai.almog on 7 Sep 2012 at 8:23

GoogleCodeExporter commented 9 years ago
don't remember, I'll check this.

Original comment by cf27...@gmail.com on 7 Sep 2012 at 9:04

GoogleCodeExporter commented 9 years ago
not able to reproduce this, The textfield does not fold for me.
Can you attach a more complete code that reproduces this?

Original comment by cf27...@gmail.com on 9 Sep 2012 at 11:13

GoogleCodeExporter commented 9 years ago
Dialog d=new Dialog();
        d.addComponent(new TextField());
        d.showPacked(BorderLayout.CENTER,true);

and am using cn1 build version 20.

Original comment by neleywau...@gmail.com on 10 Sep 2012 at 6:56

GoogleCodeExporter commented 9 years ago
Please dont know if the above code reproduces the same error as it did in
mine..

Original comment by neleywau...@gmail.com on 10 Sep 2012 at 12:26

GoogleCodeExporter commented 9 years ago
please provide a reproducible project, the code snippet from above does not 
reproduce the bug

Original comment by cf27...@gmail.com on 19 Sep 2012 at 1:27

GoogleCodeExporter commented 9 years ago
public void start() {
        if(current != null){
            current.show();
            return;
        }
        Form hi = new Form("Hi World");
        hi.addComponent(new Label("Hi World"));

        hi.show();
        Dialog d=new Dialog("Hello");
        d.addComponent(new TextField());
        d.showPacked(BorderLayout.CENTER,true);

    }
then type a text into the textfield iin the dialog and watch the textfield
fold up.
but using dialog.show(), textfild acts normal. doesnot fold up.
am using cn1 version 20 and windows 7. wwith netbins 7.1

Original comment by neleywau...@gmail.com on 21 Sep 2012 at 6:29

GoogleCodeExporter commented 9 years ago
The code you provided works fine for me, not able to reproduce this.
maybe you can attach a video that shows the bug

Original comment by cf27...@gmail.com on 22 Oct 2012 at 7:11

GoogleCodeExporter commented 9 years ago
What cn1 version are you using?
which OS is that?
I mean HOW does this work for you?
Cos I use Netbeans 7.1 with cn1 plugin version .21 , windows 7 and uptil
now
same code doesnt work for me! Donnt know how else to reproduce this error..
Or am I the only one with this error?
Maybe I can get a sample of what works for you...mayb i can better
understand that...

Original comment by neleywau...@gmail.com on 22 Oct 2012 at 1:49

GoogleCodeExporter commented 9 years ago
I have the same environment versions, please supply me with more info so I 
could help.
what skin? what theme? screenshots or even a small video would help.

Original comment by cf27...@gmail.com on 22 Oct 2012 at 5:00

GoogleCodeExporter commented 9 years ago
Am not using any theme, and action happens on all skins.
Cant reproduce a screenshot now..Maybe tomorrow..But you could try using
manual theme and try runing on all skins to reproduce problem...

Original comment by neleywau...@gmail.com on 22 Oct 2012 at 6:00