wei-spring / codenameone

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

Strings appended after £ disappear on iPhone4 using new iOS VM #1290

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
New iOS VM, Windows 7, iPhone4.

What steps will reproduce the problem?
        final Label lblE = new Label();
        String x = "45.67";
        String y = "2345.67";
        String z = x + "£" + y;
        lblE.setText(z);
        f.addComponent(lblE);

Expected output: 45.67£2345.67
Actual output: 45.67£

Problem:
Strings appended after £ and set as the text for labels, textfield, textarea 
appear for a fraction of a second, then disappear on an iPhone4. The text 
actually appears slightly larger during the first initial fraction of a second.
Only happens on iPhone4 device using the new iOS VM. Fine in the simulator, 
android and old iOS VM.
I have not tested all characters but Euro dollar € is a problem too.

Original issue reported on code.google.com by timun....@mattioli-woods.com on 16 Jan 2015 at 10:36

GoogleCodeExporter commented 9 years ago
Is this still happening?

Original comment by shai.almog on 20 Jan 2015 at 5:30

GoogleCodeExporter commented 9 years ago
The original problem of £ being replaced by ?? is fixed.
Unfortunately, the fix resulted in a new problem where a String variable 
appended after £ disappears after a split second on an iPhone4.
Only happens when a String variable is appended to String that ends with £ or 
€.

Original comment by timun....@mattioli-woods.com on 23 Jan 2015 at 9:42

GoogleCodeExporter commented 9 years ago
That sounds like a variant of issues 1299 which was fixed recently.

Original comment by shai.almog on 25 Jan 2015 at 1:04

GoogleCodeExporter commented 9 years ago
This is still not fixed. It must be a different problem to issue 1299.

Original comment by timun....@mattioli-woods.com on 28 Jan 2015 at 10:31

GoogleCodeExporter commented 9 years ago
We've made another fix over the weekend for some different edge cases. I 
suggest you take a look

Original comment by shai.almog on 1 Feb 2015 at 6:53

GoogleCodeExporter commented 9 years ago
I tried again. It is still a problem.

Original comment by timun....@mattioli-woods.com on 3 Feb 2015 at 10:06

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r2074.

Original comment by shai.almog on 3 Feb 2015 at 11:13

GoogleCodeExporter commented 9 years ago
OK. I see the problem, this is now fixed in SVN and should be in the build 
servers soon.

Original comment by shai.almog on 3 Feb 2015 at 11:13