CodenameOne icon indicating copy to clipboard operation
CodenameOne copied to clipboard

Hint in TexArea Component isn't rendering correctly in the Iphone 11, xs ios 14.7.1

Open DurankGts opened this issue 3 years ago • 41 comments

@shannah please check why the hint text isn't rendering correctly in ios side.

image

DurankGts avatar Feb 22 '22 14:02 DurankGts

@shannah any response about this issue?

DurankGts avatar Feb 22 '22 19:02 DurankGts

Can't reproduce. Please post a test case.

shannah avatar Feb 22 '22 19:02 shannah

this the simple test case

Form test = new Form("TestHintIssue", new BorderLayout()); test.setFormBottomPaddingEditingMode(true);

   test.getToolbar().setTitle("issue text hint");

   TextField tf = new TextField("", "Write a reference", 20, TextArea.ANY);
   tf.setUIID("ta");
   tf.getHintLabel().setUIID("hint");
   tf.setMaxSize(200);
   tf.setGrowByContent(false);
   tf.setSingleLineTextArea(false);
   tf.setScrollVisible(false);
   tf.setRows(2);

   Button btn = new Button("CONTINUE");
   Container cnt  = new Container(BoxLayout.y());
   cnt.add(tf);
   cnt.add(btn);

   test.add(BorderLayout.SOUTH, cnt);
   test.setSafeArea(true);
   test.show();

DurankGts avatar Feb 22 '22 20:02 DurankGts

image

DurankGts avatar Feb 22 '22 20:02 DurankGts

So far haven't been able to reproduce it with this test base. Tried with iPhone X with 15.4 and iPhone SE with 12.3. Don't currently have an iPhone 11 with 14.7.1 handy, but tried iPhone 11 simulator, and was not able to reproduce it there either.

shannah avatar Feb 22 '22 23:02 shannah

In simulator I think that you must to test in real devices not in simulator. I tested in iphone xs 14.8.1 and Iphone 11 15.3.1

DurankGts avatar Feb 23 '22 12:02 DurankGts

https://user-images.githubusercontent.com/16245755/155321623-2d49b3f1-d101-4054-9f8e-f592d8700c13.mp4

DurankGts avatar Feb 23 '22 12:02 DurankGts

You may have to post a test project. There are clear differences in theme between the simple test case you posted, and what mine looks like. Create a github project that I can clone/fork and link it here.

shannah avatar Feb 23 '22 12:02 shannah

@shannah please check you email with the invitation to the source code

DurankGts avatar Feb 23 '22 14:02 DurankGts

Can you make a public test project?

shannah avatar Feb 23 '22 14:02 shannah

the problem is that your codename_settings.properties is in plain text and my project in this file have passwords to the certificates in ios, google maps, etc. You couldn't downloaded the the project by the invitation in your codenameone email?

DurankGts avatar Feb 23 '22 14:02 DurankGts

I'm not looking for a full app. I'm looking for a test case.

shannah avatar Feb 23 '22 14:02 shannah

when in test the issue I will make public deleting this passwords and certificates link

DurankGts avatar Feb 23 '22 14:02 DurankGts

this the test case that I sent you were was tested in real devices and this the cause of the reals certificates.

DurankGts avatar Feb 23 '22 14:02 DurankGts

Create a new project with just the test case. Place project on github and share link.

shannah avatar Feb 23 '22 14:02 shannah

Please download here https://drive.google.com/file/d/1j2Q1UBMVKfr5M74jXGFB749_h6-1DXRg/view?usp=sharing

DurankGts avatar Feb 23 '22 14:02 DurankGts

Don't have a .rar program handy. Will circle back to this next time I have an opportunity to work on this issue.'

shannah avatar Feb 23 '22 15:02 shannah

please use .zip here https://drive.google.com/file/d/1rXNcXwvqEv853kaLZ8LF_xn210M898G-/view?usp=sharing

DurankGts avatar Feb 23 '22 15:02 DurankGts

Can I push this as a public github repo?

shannah avatar Feb 23 '22 15:02 shannah

now is public. don't worry

DurankGts avatar Feb 23 '22 15:02 DurankGts

https://github.com/shannah/testcase3558

shannah avatar Feb 23 '22 15:02 shannah

@shannah any response about this issue?

DurankGts avatar Feb 23 '22 19:02 DurankGts

@shannah any response about this issue?

DurankGts avatar Feb 25 '22 12:02 DurankGts

I'll have another chance to test this issue next week.

shannah avatar Feb 25 '22 13:02 shannah

this problem is very visible by the user to wait to other week. I seem that you must dedicate time to this. I launch an app with this problem on 31 of january and I checked in this days. Now I need update other app with the same problem.

DurankGts avatar Feb 25 '22 13:02 DurankGts

the main problem isn't the bad rendering in ios. the Main problem is that the text don't keep the the Textfield component

DurankGts avatar Feb 25 '22 13:02 DurankGts

if you check the video attached you could check that when I write any text and press done button the text don't keep in the component. this issue provoque that in my app the user can't continue the process because that field is mandatory or required

DurankGts avatar Feb 25 '22 13:02 DurankGts

this commit from the other issue that I reported on august 18 2021 https://github.com/codenameone/CodenameOne/issues/3485

https://github.com/codenameone/CodenameOne/commit/976e514ae1b1720ac49734f880fc3c6940b7d0e6

not is the cause of the problem?

DurankGts avatar Feb 25 '22 13:02 DurankGts

Please refrain from repeatedly adding comments on issues that don't add information about the issue. The noise makes issues more difficult to follow. Issues that are difficult to follow are less likely to be addressed.

shannah avatar Feb 25 '22 14:02 shannah

excuse me. I just thought that I could to help to localize the problem more fastly.

DurankGts avatar Feb 25 '22 14:02 DurankGts