Skip to content

No background processes in geoshape and geotrace #7002

@dbemke

Description

@dbemke

ODK Collect version

the master version cba0e5a, also #6998
(the issue doesn’t occur in the store version 2025.3.3)

Android version

10, 16

Device used

Redmi 9T, Pixel 7a

Problem description

When no background processes is set in the device switching to a different app while adding a geotrace or a geoshape removes the trace/shape. If there was an already saved trace/shape and the user opens the map again, switching to a different app crashes Collect after trying to reopen the map.
After the crash it's impossible to use a geoshape or a geotrace again - it crashes again.

Steps to reproduce the problem

  1. Download All question types form.
  2. Set no background processes in the device.
  3. Open the map in geotrace or geoshape and add some points.
  4. Minimize the app and go to a different app and back to Collect.
  5. From the hierarchy view go to the question and open the map (there isn't the trace/shape).
  6. Add a trace/shape and save it.
  7. Open the map again and e.g. move one point.
  8. Minimize the app and go to a different app and back to Collect.
  9. From the hierarchy view go to the question and open the map (there's a crash).
  10. Try to recover the savepoint and open a geotrace/shape map (there's a crash).
Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

in progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions