Opened 15 years ago

Last modified 13 years ago

#5984 closed enhancement

Allow pasting url in download object dialog — at Version 2

Reported by: Zverikk Owned by: team
Priority: normal Milestone:
Component: Core Version: latest
Keywords: download, url Cc:

Description (last modified by akks)

For example:

  1. Copy url from some website, like http://www.openstreetmap.org/browse/relation/1396080/
  2. Open File -> Download Object
  3. Focus to ID text field
  4. Paste URL
  5. Automatically: a) object type is determined; b) insted of url, object id is determined and replaces url in text field
  6. Press OK, download an object.

Also, could we have text field focused instead of object type box when opening the dialog?

Change History (2)

comment:1 by akks, 14 years ago

In 5354/josm:

See #5984: Automatic pasting of IDs or URL into Download Object fields

comment:2 by akks, 14 years ago

Description: modified (diff)

I have added this functionality in slightly different manner - URL is parsed automatically, not on Ctrl-V.

Also, if ID or ID list is in clipboard, it is pasted "as is", user needs to select the type by combobox then.

I did not manage to preselect tfId in Extended dialog because the default button is focused on showDialog().

Note: See TracTickets for help on using tickets.