Opened 14 years ago

Last modified 3 years ago

#6725 closed defect

Missing tool definition in utilsplugin2 when item placed in toolbar — at Version 2

Reported by: rickmastfan67 Owned by: team
Priority: normal Milestone: 22.02
Component: Core Version: latest
Keywords: toolbar plugin button Cc:

Description (last modified by Zverikk)

Just found something left over from the old "dumbutils" plugin that was merged into utilsplugin2.

Whenever you place the "Replace Geometry" icon into the "toolbar", this message pops up when you start up JOSM via the command line.

Could not load tool definition dumbutils/replacegeometry

Just thought you would like to know about it and fix it if you want to as it doesn't seem to have any problems in the toolbar, even with that message showing up.

Also, that message still shows up when you disable utilsplugin2, but shows up a second time after all the other plugins load. And it keeps showing up in the CL when you hit "F12" to pull up the preferences.

NOTE: To get this message to show up the first time in the CL, you must first put the "Replace Geometry" icon into your toolbar and restart JOSM. Then, when it restarts, you'll see the message for the first time.

Change History (2)

comment:1 by Zverikk, 14 years ago

Owner: changed from team to Zverikk
Status: newassigned

comment:2 by Zverikk, 14 years ago

Component: Plugin utilsplugin2Core
Description: modified (diff)
Owner: changed from Zverikk to team
Priority: trivialminor
Status: assignednew

This is not the plugin's bug. JOSM tries to load tool definitions for toolbar buttons before it loads plugins, and, obviously, fails. Everything works fine after plugins are loaded.

Note: See TracTickets for help on using tickets.