Modify

Opened 15 years ago

Closed 15 years ago

#2088 closed defect (fixed)

[PATCH] Pasting link to download window broken

Reported by: Teemu Koskinen <teemu.koskinen@…> Owned by: xeen
Priority: minor Milestone:
Component: Core Version: latest
Keywords: Cc:

Description

Pasting an openstreetmap link to the download window with only mouse (eg. from primary buffer in x11) does not update the coordinates. the coordinates from the link are parsed only after something is written to the textarea, and then erased.

Attachments (1)

FixInsertingViaMouse.patch (3.0 KB ) - added by xeen 15 years ago.
Adds DocumentListener back in, so it reacts to pastings as well

Download all attachments as: .zip

Change History (6)

comment:1 by Teemu Koskinen <teemu.koskinen@…>, 15 years ago

The bug was introduced in r1336

comment:2 by xeen, 15 years ago

Owner: changed from framm to xeen
Priority: majorminor

Oh, I didn't know you could paste using the mouse. Fixing should be easy though. I'll provide a patch by tonight.

comment:3 by xeen, 15 years ago

…or maybe a bit later :)

comment:4 by xeen, 15 years ago

Summary: Pasting link to download window broken[PATCH] Pasting link to download window broken

Attached patch brings DocumentListener back and listens for both KeyEvents as well as for "Document Events". And should make everyone happy :)

by xeen, 15 years ago

Attachment: FixInsertingViaMouse.patch added

Adds DocumentListener back in, so it reacts to pastings as well

comment:5 by anonymous, 15 years ago

Resolution: fixed
Status: newclosed

Applied in r1345.

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.