BO SS
BO SS

Reputation: 23

CodeName One demo CleanModern

demo CleanModem singUpForm not working!! the problem is at the level: Container content = BoxLayout.encloseY( new Label("Sign Up", "LogoLabel"), new FloatingHint(username), createLineSeparator(), new FloatingHint(email), createLineSeparator(), new FloatingHint(password), createLineSeparator(), new FloatingHint(confirmPassword), createLineSeparator() );

Upvotes: 1

Views: 38

Answers (1)

Shai Almog
Shai Almog

Reputation: 52760

This is due to a regression in Codename One which was fixed in this commit. It will be in the build servers next Friday (December 1st 2017) but you can already use the sources to see that it works.

I'm still not sure why this was triggered, we made several changes to focus behavior that seemed to have impacted that but I can't seem to find one specific problematic change so I'm guessing it's due to more than one change. The FloatingHint class used by that demo was deprecated recently and replaced with a newer TextComponent class which shouldn't suffer from these issues. I've filed an RFE to update the usage of FloatingHint.

However, FloatingHint should still work so I patched it to workaround this problem which is caused due to the usage of blocking animation. Normally that isn't a problem but for some reason this is now triggered before the new form is showing and it's unclear how that can happen. The patch prevents the animation from occurring unless the parent Form is really showing.

Upvotes: 1

Related Questions