Modify

Opened 18 years ago

Closed 18 years ago

#87 closed defect (fixed)

When osm server is not responding during "Downloading data", attempt to cancel hangs

Reported by: johnw Owned by: imi
Priority: major Milestone:
Component: unspecified Version:
Keywords: Cc:

Description

When osm server is not responding during "Downloading data", attempt to cancel just sits there showing "Aborting...". There seems to be no way to get out of JOSM in this situation. Switching away to another task and returning later, the main JOSM window is displayed, but not the dialog. Using alt+tab, 2 'things' can be seen, no doubt the main window and the dialog, but this still doesn't redisplay the dialog. Minimising the main window restores the dialog, then restoring the main window still retains the dialog, so display is ok again. But this is irrelevant, what is important is that 5 minutes later the abort still hasn't happened.
Version was downloaded 2007-01-21.

Attachments (0)

Change History (1)

comment:1 by imi, 18 years ago

Resolution: fixed
Status: newclosed

I did not found a clean way in Java to cancel an HttpUrlConnection. Calling to disconnect() blocks and the described problem occours.

Now, a timeout of a minute or so should close the dialog box and the "try to disconnect" will be backgrounded, removing most of the problems. (Note, that you also can just close the dialog by pressing the close button in the dialog's title bar).

Modify Ticket

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