Skip to content

Snackbar with required error message isn't removed on the map in a geoshape/trace and using swipes #7026

@dbemke

Description

@dbemke

ODK Collect version

the master version 3fd0911

Android version

10, 16

Device used

Redmi 9T, Pixel 7a

Problem description

The snackbar with required error message isn't removed on the map after adding points and removing points by long pressing to remove in the question in a geoshape/trace which is required.
The issue doesn’t occur if the question contains required and incremental=true (the snackbar in step 3 disappears after adding points; no snackbar is step 7).
The issue doesn’t occur if you use "Check for errors" instead of swipes.

XRecorder_19012026_105151.mp4

Steps to reproduce the problem

  1. Go to a geoshape/trace question required.
    https://test.getodk.cloud/projects/681/app-users
    geoshapeTraceIcrementalRequired.xlsx.txt
  2. Swipe next to see the required error message
  3. Tap Get polygon (the snackbar with the required message is displayed).
  4. Add some points (the snackbar doesn’t disappear).
  5. Save the points.
  6. Long press to Remove response.
  7. Tap Get polygon (the snackbar is dispayaed)

Expected behavior

The snackbar should be removed when a point is added. The snackbar shouldn't appear after removing point by long pressing and not using swipe or "check for errors".

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

Status

done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions