Skip to content

Note location changes place after picture is taken (if geo: URI was used before) #6264

@mnalis

Description

@mnalis

This might be explaining #5581 and Helium314#543, at least for me, as I do use OsmAnd to open StreetComplete via geo: links occasionally. I cannot recall if that was the case for those older issues, but it might've been (at least for me -- @sjvudp were you also possibly using that functionality?)

Video example, where I managed to capture such location jump of more than 100km:

small_Screen_Recording_20250511_121251_StreetComplete.mp4

How to Reproduce

  1. Open SC at some current location
  2. switch to another app like OsmAnd, and share geo: to open SC at some other location
  3. click back to return from that new SC to OsmAnd
  4. switch apps to original SC, which is still showing at original (current) location
  5. long press to create Note, location still looks OK
  6. type note text, location still looks OK
  7. take a picture, and confirm
  8. location of the note will now silently be changed to location from step 2, and NOT the one which was long-pressed and displayed in steps 5 and 6. Unless one was paying special attention, they'd likely now just press OK and create note at wrong location

Expected Behavior

In step 8, note location would remain the same as it was in steps 5 and 6 (i.e. where user has actually long pressed to create note)

Versions affected
SC 61.0 (also SCEE 61.0-beta1), Android 14

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions