Bug? Designer freezes and layout flickers with DatePicker + AutoScaleAll + hidden navigation bar

marcick

Well-Known Member
Licensed User
Longtime User
Hi,

I'm currently using B4i 10.31 with a local Mac Build Server, but this is not a new issue introduced by this version or by the local builder.

I first encountered and reported it in 2023, and have experienced it across multiple B4i versions since then. In previous years I used the Hosted Builder and had the same problem.

It occurs both on the simulator and on a physical iPhone. I have now identified a reproducible trigger in a newly created layout: a DatePicker combined with AutoScaleAll and Navigation Bar Visible set to False.

Steps to reproduce:

1. Create a new layout. Leave Navigation Bar Visible set to True.
2. Add a DatePicker.
3. Put only AutoScaleAll in the All variants script.
4. Preview the layout: everything works correctly.
5. Set Navigation Bar Visible to False and execute the designer script.

The layout starts continuously flickering and shaking. B4i on Windows becomes unresponsive. When testing with the simulator, closing it makes the IDE responsive again after approximately 30–40 seconds.

Removing the DatePicker or commenting out AutoScaleAll prevents the problem. Recreating the DatePicker does not solve it.

I previously reported similar symptoms here:

At that time I suspected a corrupted layout file. This time I can reproduce the issue from scratch, and hiding the navigation bar is the step that triggers it.

Thanks!
 
Back
Top