-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App will freeze in some cases when an integer field has 'not null' constraint and no default value #3417
Comments
I can reproduce it with support/test-not-null-int even in macOS debug build . It can be replicated even in qt6.6.0 build on macOS |
In addition to the above conditions, I was able to reproduce app freezes with other data type and widget combinations with 'not null' constraints. I've created another project to reproduce this support/form-freeze-test Using the example project, the following conditions caused freezing in the app:
|
@raherin can you reproduce this even without 'not null' constraints? |
@tomasMizera we also got app crashes on iPad. Though it needed to be in landscape mode so that you had to scroll to see the whole form. If it is in portrait mode and you do not need to scroll, the app does not crash. Also the app did not crash if values were entered to not null fields before scrolling. It only crashed when not null fields are empty and you scroll on the form. |
Thanks @raherin for testing this out! |
I can't reproduce the crash on the current 2024.2.0 RC. @raherin , can you please verify it also? |
I have identified a condition where the app will freeze when there is a field with an integer data type that has a not null constraint and no default value is set. There are also two other specific conditions to cause the freeze. The form must be long enough that the user has to scroll to see all of the fields and it will not freeze until a second feature is created after editing or creating a feature and saving it. I have created an example project support/test-not-null-int to test the issue. To recreate the problem:
I have tested this on a Samsung A53 with Android 14 installed. At least one other user has reported a similar issue on their Android 14 device.
The text was updated successfully, but these errors were encountered: