Skip to content
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

Two tabs contents are mixed together on one form page #3552

Open
veronikahlinkova opened this issue Jul 31, 2024 · 4 comments
Open

Two tabs contents are mixed together on one form page #3552

veronikahlinkova opened this issue Jul 31, 2024 · 4 comments
Labels
bug forms related to attribute forms

Comments

@veronikahlinkova
Copy link

veronikahlinkova commented Jul 31, 2024

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.

@jozef-budac
Copy link

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

@tomasMizera
Copy link
Collaborator

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

@tomasMizera tomasMizera self-assigned this Aug 1, 2024
@tomasMizera tomasMizera added bug in not released version Bug in not officially released version, found while testing RC and removed bug labels Aug 1, 2024
@tomasMizera
Copy link
Collaborator

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 tomasMizera removed this from the 2024.3.1 milestone Aug 1, 2024
@tomasMizera tomasMizera added bug and removed bug in not released version Bug in not officially released version, found while testing RC labels Aug 1, 2024
@tomasMizera tomasMizera changed the title After opening a hidden tab, another tab is also visible Two tabs contents are mixed together on one form page Aug 1, 2024
@tomasMizera tomasMizera added the forms related to attribute forms label Aug 1, 2024
@tomasMizera
Copy link
Collaborator

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 tomasMizera removed their assignment Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug forms related to attribute forms
Projects
None yet
Development

No branches or pull requests

3 participants