MerginMaps/mobile

Two tabs contents are mixed together on one form page

Opened this issue · 4 comments

After opening the "Data" tab that is visible after inserting a value in the "Information tab" , fields from "Files" tab are also shown.

Project: input-testing/tc05_forms_derived

How to reproduce:

  1. open the project
  2. open the feature form by recording a new feature in the Bears layer
  3. Click on the Recursive visibility tab
  4. Enable the "Hidden tab switch"
  5. Now navigate to Information tab
  6. Enter some value to the last field
    • Data tab will appear
  7. Navigate to the Data tab
    • You will find the mixed form

Could be reproduced on 2024.3.0.

Note: You can reproduce this only the first time a feature in the Bears layer is opened. Workaround is to simply swipe/navigate to the next tab and go back.

It happens also to me once. But is it not as easy to simulate. Before you need to go to the recursive visibility tab and turn on all the hidden fields and tabs. Some of them are located in the hidden fields and tabs. Then when you set a value in the 3rd field on the Information tab, the Data tab is broken.

You can see the video

Screen_Recording_20240731_200019.mp4

Wow, good catch guys, thanks, I will have a look 👀

Changing this back to bug, I could reproduce it even on previous versions. Seems to be quite an edge-case. I will also updated the description with reproducible steps.

The solution does not seem to be that easy, currentIndexes are set up properly as well as data inside the SwipeView - Repeater and the tabProxyModel.