Modify

Opened 16 years ago

Closed 15 years ago

#1234 closed enhancement (fixed)

[PATCH] Behavior when pressing Enter in URL download box

Reported by: craigermcgreger@… 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)

DownloadURLonEnter.patch (3.0 KB ) - added by xeen 15 years ago.
Will download URL on enter (only if parsable URL was inserted into textbox)

Download all attachments as: .zip

Change History (4)

by xeen, 15 years ago

Attachment: DownloadURLonEnter.patch added

Will download URL on enter (only if parsable URL was inserted into textbox)

comment:1 by xeen, 15 years ago

Owner: changed from framm to xeen
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 anonymous, 15 years ago

Cc: xeen added

comment:3 by anonymous, 15 years ago

Resolution: fixed
Status: newclosed

Fixed in r1336.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain xeen.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.