Skip to content

Rotating screen after completing a polygon makes 'Add Point' button re-appear #3400

@andreia-ferreira

Description

@andreia-ferreira
Screen_recording_20251210_182458.webm

After completing the polygon, rotating the screen makes it possible to add an extra point, which will trigger a crash java.lang.IllegalStateException: Attempted to add last vertex after completing the drawing

Expected behavior
The 'Add Point' button should not re-appear

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions