iD: Extend way operation blocked for the first second of selecting a node at the end of a way.

This is not present on the live version on osm.org, but is on preview.ideditor.com/master To reproduce:

  1. Go to a place like http://preview.ideditor.com/master/#map=18.58/4.11633/15.13678
  2. Click on a node at the end of a highway, and then click A within a half second.
  3. The line will not be extended. Half of the time, the message Continued a line will show up, but no line continuation will actually happen.

This is not a very serious bug, but really slows down cleanup of disconnected ways.

About this issue

  • Original URL
  • State: open
  • Created 5 years ago
  • Comments: 15 (14 by maintainers)

Commits related to this issue

Most upvoted comments

For what it’s worth… #6028 / 37557a7c9 introduced a 20ms delay between clicking and selection, to give blur events a change to fire.
But -

  • That was added yesterday, so I doubt it is what you are seeing
  • I don’t think you are sneaking a keypress in that quickly

It’s more likely that it takes a tiny bit longer between when you enter modeSelect and the menu is ready, because of it checking whether the operations are available. So I will check that and see whether we are doing unnecessary work.