Skip to content

Split geometry displays incorrect color when editing unsaved feature #4632

Description

@IvaKuklica

Description
When a new polygon/multipolygon feature is recorded and the user proceeds directly to Edit geometry without saving first, splitting the geometry results in the split part being displayed in an incorrect color (yellow) instead of the symbology color configured for the layer.

Environment
[ x ] Staging [

Application (+ app version, build, operating system)
Mergin Maps iOS 2025.6.0 / iOS 26.0 / iPhone 15

Steps to reproduce

  1. Open a project with a polygon or multipolygon layer with a custom symbology color defined
  2. Tap the Add button and select the polygon/multipolygon layer
  3. Tap on the map to create a polygon geometry
  4. Tap Record to confirm the geometry — do not save the feature
  5. Immediately tap Edit geometry
  6. Use the Split tool to split the geometry
  7. Save the result

Actual results
The split part of the geometry is displayed in yellow, not in the layer's configured symbology color.

Expected results
Both parts of the split geometry are displayed in the symbology color configured for the layer.

Screenshots or logs

ScreenRecording_07-29-2026.11-38-41_1.mp4

Conclusion
Created by Claude and supervised by a human test analyst.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugmap toolsSomething is wrong with recording, geometry editing, splitting, stakeout, ..

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions