Skip to content

Dragged notes create duplicates #9092

Closed

Description

@danieldegroot2

URL

No response

How to reproduce the issue?

While dragging a note I'd just created (with text already inserted, but not submitted ofc), I had the visual 'smear of numerous notes in the direction it was dragged across' bug. However, now submitting the note, two notes were created
https://www.openstreetmap.org/note/3159352
https://www.openstreetmap.org/note/3159353
(I think the earlier one is actually the duplicate as such, but I marked the newer one as duplicate because it has the same content.)

Screenshot(s) or anything else?

No response

Which iD Editor versions do you see the issue on?

Released version at openstreetmap.org/edit

Which browsers are you seeing this problem on?

Chrome

Activity

  1. danieldegroot2 commented on Sep 27, 2025

    @danieldegroot2
    ContributorAuthor

    'Smearing' still happens in 2.36.0. Now the user can draw semi-continuous shapes.
    Related #11424.

    Image

    After drawing more and submitting looks like this.
    Fortunately only created a single note at the marker's last position.

    Image
  2. tyrasd commented on Mar 31, 2026

    @tyrasd
    Member

    'Smearing' still happens in 2.36.

    I cannot reproduce it in iD v2.39.5 on firefox and chrome. Yes, the dragging of the "draft" note is "laggy", but I don't get the visual artifacts of the additional notes. Are there any extra steps required to reproduce this?

  3. added
    bug-cant-reproduce
    on Mar 31, 2026
  4. danieldegroot2 commented on Mar 31, 2026

    @danieldegroot2
    ContributorAuthor

    I cannot reproduce it either currently, at least on Chrome.
    It was possibly a chromium issue, not seeing anything iD has recently fixed.

    It might be nice to know the origin for improving touch-stylus, eventhough this was observed with mouse events.
    For a similar issue, see Shopify/draggable#16 (more such issues exist ofc)

    Sidenote: Currently, certain behavior like creating lines and disabling notes feels less snappy (it is not directly an issue);
    line end point lags behind more and notes fade away instead of simply disappearing, though maybe this was intended at one point. It could be a temporary issue. Slight chance it prevents this issue from happening.

  5. added
    bug
    and removed
    bug-cant-reproduce
    on Apr 7, 2026
  6. tyrasd commented on Apr 7, 2026

    @tyrasd
    Member

    I was able to reproduce the bug today: It is only triggered on specific conditions including the positions of existing notes loaded from osm.org as well as the coordinates of the placed new note.

  7. added a commit that references this issue on Apr 7, 2026
    e8c22c4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions