MerginMaps / MerginMaps/mobile

Row with conditional visibility within a group box creates duplicate labels

Open
#4,507 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug Good first issue ui/ux
Dominant language
C++
Stars
388
Forks
87
Avg merge
2d 7h
Merged PRs (30d)
20

Description

When a survey form is laid out with a row that has conditional visibility and the row is within a group box, the group box label is duplicated in the mobile app.

## To reproduce

Use the attached project:

[conditional_rows.zip](https://github.com/user-attachments/files/28011812/conditional_rows.zip)

OR

Create a project with the following conditions:

- A field with either a value map widget or 'True/False' tick box widget
- A group box with conditional visibility based on a value from the previous field which contains:
- A second field with either a value map widget or 'True/False' tick box widget
- A row with conditional visibility based on a value from the previous field
- Another field within the conditional visibility row
- A field in the group box that is below but not within the conditional visibility row

Once the project is created, or using the example project:

- Open the project in the mobile app
- Fill out a feature selecting values so that all of the conditional visibility fields are visible

## Results

In the mobile app, the label of the group box is duplicated when the row is visible:

Image

## Expected result

In QGIS, the group box label is not duplicated when the row is visible:

Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by importing conditional_rows.zip, opening the project in the mobile app, and reproducing the duplicated group box label with all conditional fields visible. Compare the mobile result with the QGIS result shown in the issue, then trace the mobile form-rendering path for conditional rows and group boxes. Done means the group box label appears once in the mobile app while the conditional row remains visible.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.