Modify

Opened 11 years ago

Last modified 4 years ago

#10537 new defect

Imagery menu hangs when an external layer icon cannot be loaded

Reported by: bundesrainer Owned by: team
Priority: normal Milestone:
Component: Core imagery Version: tested
Keywords: menu icon connection download asynchronous Cc: stoecker

Description (last modified by Don-vip)

What steps will reproduce the problem?

  1. Have imagery layer activated, of which the corresponding icon cannot be loaded via network (in my case: OpenPTMap)
  2. Select the imagery menu from the menu bar

What is the expected result?

  • The menu should open at once

What happens instead?

  • The menu takes about 15 seconds to open

Please provide any additional information below. Attach a screenshot if
possible.

  • When the imagery layer with the failing icon is deactivated, everything runs smoothly
Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2014-08-31 21:55:55
Last Changed Author: Don-vip
Revision: 7480
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2014-08-31 23:51:24 +0200 (Sun, 31 Aug 2014)
Last Changed Rev: 7480

Identification: JOSM/1.5 (7480 de) Windows 7 32-Bit
Memory Usage: 60 MB / 247 MB (9 MB allocated, but free)
Java version: 1.7.0_67, Oracle Corporation, Java HotSpot(TM) Client VM

Plugins:
- DirectDownload (30416)
- DirectUpload (30416)
- PicLayer (30436)
- alignways (30416)
- buildings_tools (30416)
- download_along (30416)
- gpxfilter (30416)
- log4j (30416)
- mapdust (30416)
- measurement (30416)
- routing (30416)
- turnrestrictions (30454)
- utilsplugin2 (30460)
- waydownloader (30416)

Last errors/warnings:
- E: Fehler beim Laden des Bildes 'http://openptmap.de/favicon_pt.png'
- W: Already here java.net.SocketTimeoutException: connect timed out
- E: Fehler beim Laden des Bildes 'http://openptmap.de/favicon_pt.png'

Attachments (1)

josm-background-defect-01.png (32.3 KB ) - added by bundesrainer 11 years ago.
Dialog box at startup, informing that JOSM failed to load an icon

Download all attachments as: .zip

Change History (5)

by bundesrainer, 11 years ago

Dialog box at startup, informing that JOSM failed to load an icon

comment:1 by Don-vip, 11 years ago

Cc: stoecker added

while you're in icon stuff, another similar ticket :) The background loading done in r7687 should be applied to imagery menu as well.

comment:2 by stoecker, 11 years ago

Hmm, in AddImageryLayerAction.java it is asynchronous, bit not in Imagery Layer loading. Again this is more complicated and passing the ImageProvider back is probably required. See also #10688.

comment:3 by Don-vip, 7 years ago

Component: CoreCore imagery
Description: modified (diff)
Keywords: menu icon added; background wms removed
Summary: Background menu hangs when an external layer icon cannot be loadedImagery menu hangs when an external layer icon cannot be loaded

comment:4 by skyper, 4 years ago

Keywords: connection download asynchronous added

See also #11481.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to bundesrainer.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


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