Skip to content

"Discard changes and return to ODK?" dialog missing in geotrace/shape after tapping the back button #7151

@dbemke

Description

@dbemke

ODK Collect version

the master version 54ff05b
(the issue doesn’t occur in the store version 2026.1.2 or the beta version)

Android version

10, 16

Device used

Redmi 9T, Pixel 7a

Problem description

In a geotrace or a goeshape after tapping the device back button (when some points are added) the dialog asking about discarding changes is missing.
Missing dialog:

Image

On the master version after tapping the back button the user is moved to the question and no geometry values are saved.

Steps to reproduce the problem

  1. In the demo project open All question types form.
  2. Go to geoshape or geotrace question and open the map.
  3. (Use any method of input) Add some points.
  4. Tap the device back button.

Expected behavior

After tapping the back button (when there are some points added), the dialog should appear.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions