MerginMaps / mobile

Mobile app for Mergin Maps 📲. Open QGIS projects and manage vector data on your phone, even offline 📶 (Android/iOS/Windows app)
https://merginmaps.com
GNU General Public License v2.0
280 stars 62 forks source link

App freezes during recording child feature in relations #3483

Closed jozef-budac closed 1 week ago

jozef-budac commented 1 month ago

In the current 2024.2.0 RC, the recording of the child feature of a parent makes the app freeze. This problem is also in production. The app doesn't' freeze when you don't set the name into the district.

Project: https://app.merginmaps.com/projects/input-testing/tc05_relations/tree

Scenario: 1) open the project 2) Hit the record button and choose the "district" layer 3) add three points for it and hit "Record". 4) On the form set the name of the district -> this is needed for the app to freeze. 5) Hit the + button on the Naturals field 6) record 3 points for Natural and hit "Record" -> Now the app freezes.

Here is the recording: https://drive.google.com/file/d/16e6UfrBq8jlYOVIMtbsXJztHy2KFFV0r/view?usp=sharing

VitorVieiraZ commented 3 weeks ago

In any project, if you go to a TextEditor form type, input any text, then switch the focus to another form, e.g., "date," and then try to click on any other button that will open a new drawer, e.g. "Edit geometry", the app will freeze.

jozef-budac commented 1 week ago

Verified on 2024.3.0 RC