Opened 16 years ago
Closed 15 years ago
#1234 closed enhancement (fixed)
[PATCH] Behavior when pressing Enter in URL download box
Reported by: | Owned by: | xeen | |
---|---|---|---|
Priority: | trivial | Milestone: | |
Component: | Core | Version: | tested |
Keywords: | UI, usability | Cc: | xeen |
Description
When focus is on the URL from www.openstreetmap.org box and Enter is pressed, the cursor moves to a new line. I think it would be better if the behavior was changed so that pressing Enter has the same effect as clicking OK, that is, the data is downloaded and the dialog box is closed. After pasting a URL in this box, I want to be able to press Enter to dismiss the dialog and download the data; I have no need to move the cursor to the next line, as there is really no reason that one would have to add new lines in this box.
Attachments (1)
Change History (4)
by , 15 years ago
Attachment: | DownloadURLonEnter.patch added |
---|
comment:1 by , 15 years ago
Owner: | changed from | to
---|---|
Summary: | Behavior when pressing Enter in URL download box → [PATCH] Behavior when pressing Enter in URL download box |
Replaces DocumentListener with KeyListener.
It will only download the URL that is currently parseable in the textbox. E.g. just hitting enter will do nothing.
comment:2 by , 15 years ago
Cc: | added |
---|
Will download URL on enter (only if parsable URL was inserted into textbox)