Modify

Opened 14 years ago

Closed 14 years ago

#5235 closed enhancement (fixed)

[PATCH] problems with middle-click paste of bbox url

Reported by: Upliner Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: Cc:

Description

Usual way of opening the location in the Unix world is to select the url in the browser and paste it to the "Bounding box" tab in the download dialog with middle mouse button. Unfortunately, JOSM doesn't automatically clear the url textarea and when one use the middle mouse button for copy-paste he cannot clear the textarea by hand because it would change the X selection buffer. There are several solutions of this problem: to clear the textarea at every opening of the download dialog or to create a button that allows to manually clear the textarea. I've implemented the second solution in the attached patch.

Attachments (1)

bboxclear.diff (1.4 KB ) - added by Upliner 14 years ago.

Download all attachments as: .zip

Change History (6)

by Upliner, 14 years ago

Attachment: bboxclear.diff added

comment:1 by anonymous, 14 years ago

Actually there is no need to clear the text area at all for this case. Simply add the url text somewhere, it will be detected properly.

comment:2 by Upliner, 14 years ago

If there are two urls in the textbox, how it can be detected which to use?

comment:3 by stoecker, 14 years ago

It uses the first one.

comment:4 by Komzpa, 14 years ago

Tried inserting this line into that textarea:

http://openstreetbugs.schokokeks.org/?lat=53.9238583434&lon=27.6296925545&zoom=18http://latlon.org/maxi?zoom=13&lat=61.92907&lon=63.01861&layers=B0

Haven't helped.
A one-click button to clear it will be very useful.

comment:5 by stoecker, 14 years ago

Resolution: fixed
Status: newclosed

(In [3424]) fix #5235 - patch by Upliner - button to clear URL dropbox

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
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.