Modify

Opened 2 years ago

Closed 2 years ago

#18313 closed defect (fixed)

Registered toolbar action imagery_xxx overwritten org.openstreetmap.josm.actions.AddImageryLayerAction

Reported by: stoecker Owned by: Don-vip
Priority: normal Milestone: 19.11
Component: Core imagery Version:
Keywords: menu shortcut Cc:

Description

Each time (except the first time :-) the imagery menu is called for each dynamic item following line is printed. Seems the action cleanup somehow does no longer work as expected.

2019-11-11 18:16:50.517 INFO: Registered toolbar action imagery_Deutsche Bahn VzG lines January 2017 overwritten: org.openstreetmap.josm.actions.AddImageryLayerAction gets org.openstreetmap.josm.actions.AddImageryLayerAction
2019-11-11 18:16:50.517 INFO: Registered toolbar action imagery_Deutsche Bahn VzG lines Nov 2015 overwritten: org.openstreetmap.josm.actions.AddImageryLayerAction gets org.openstreetmap.josm.actions.AddImageryLayerAction
2019-11-11 18:16:50.517 INFO: Registered toolbar action imagery_OpenStreetMap (Basque Style) overwritten: org.openstreetmap.josm.actions.AddImageryLayerAction gets org.openstreetmap.josm.actions.AddImageryLayerAction
2019-11-11 18:16:50.518 INFO: Registered toolbar action imagery_OpenStreetMap (Breton Style) overwritten: org.openstreetmap.josm.actions.AddImageryLayerAction gets org.openstreetmap.josm.actions.AddImageryLayerAction
2019-11-11 18:16:50.518 INFO: Registered toolbar action imagery_OpenStreetMap (Occitan Style) overwritten: org.openstreetmap.josm.actions.AddImageryLayerAction gets org.openstreetmap.josm.actions.AddImageryLayerAction
2019-11-11 18:16:51.676 INFO: Registered toolbar action imagery_Deutsche Bahn VzG lines January 2017 overwritten: org.openstreetmap.josm.actions.AddImageryLayerAction gets org.openstreetmap.josm.actions.AddImageryLayerAction
2019-11-11 18:16:51.676 INFO: Registered toolbar action imagery_Deutsche Bahn VzG lines Nov 2015 overwritten: org.openstreetmap.josm.actions.AddImageryLayerAction gets org.openstreetmap.josm.actions.AddImageryLayerAction
2019-11-11 18:16:51.677 INFO: Registered toolbar action imagery_OpenStreetMap (Basque Style) overwritten: org.openstreetmap.josm.actions.AddImageryLayerAction gets org.openstreetmap.josm.actions.AddImageryLayerAction
2019-11-11 18:16:51.677 INFO: Registered toolbar action imagery_OpenStreetMap (Breton Style) overwritten: org.openstreetmap.josm.actions.AddImageryLayerAction gets org.openstreetmap.josm.actions.AddImageryLayerAction
2019-11-11 18:16:51.677 INFO: Registered toolbar action imagery_OpenStreetMap (Occitan Style) overwritten: org.openstreetmap.josm.actions.AddImageryLayerAction gets org.openstreetmap.josm.actions.AddImageryLayerAction

Happens with an empty JOSM config as well. OS info:

Revision:15520
Is-Local-Build:true
Build-Date:2019-11-11 18:12:39

Identification: JOSM/1.5 (15520 SVN en) Linux openSUSE Tumbleweed
Memory Usage: 2144 MB / 5990 MB (1313 MB allocated, but free)
Java version: 11.0.4+11-suse-1.2-x8664, Oracle Corporation, OpenJDK 64-Bit Server VM
Screen: :0.0 1920x1200, :0.1 1920x1200
Maximum Screen Size: 1920x1200
Java package: java-11-openjdk:x86_64-11.0.4.0

Attachments (0)

Change History (2)

comment:1 Changed 2 years ago by Don-vip

Component: CoreCore imagery
Keywords: menu shortcut added
Milestone: 19.11
Owner: changed from team to Don-vip
Status: newassigned

comment:2 Changed 2 years ago by Don-vip

Resolution: fixed
Status: assignedclosed

In 15521/josm:

fix #18313 - proper toolbar cleanup when JOSM actions are destroyed

Modify Ticket

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