mobile icon indicating copy to clipboard operation
mobile copied to clipboard

Two tabs contents are mixed together on one form page

Open veronikahlinkova opened this issue 1 year ago • 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.

veronikahlinkova avatar Jul 31 '24 08:07 veronikahlinkova

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

https://github.com/user-attachments/assets/0519d67d-1516-4e85-ad22-27c1cc327296

jozef-budac avatar Jul 31 '24 18:07 jozef-budac

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

tomasMizera avatar Aug 01 '24 06:08 tomasMizera

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.

tomasMizera avatar Aug 01 '24 09:08 tomasMizera

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.

tomasMizera avatar Aug 01 '24 09:08 tomasMizera