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 Changed 15 years ago by Teemu Koskinen <teemu.koskinen@…>

The bug was introduced in r1336

comment:2 Changed 15 years ago by xeen

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 Changed 15 years ago by xeen

…or maybe a bit later :)

comment:4 Changed 15 years ago by xeen

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 :)

Changed 15 years ago by xeen

Attachment: FixInsertingViaMouse.patch added

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

comment:5 Changed 15 years ago by anonymous

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.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.