Opened 3 days ago

Last modified 3 days ago

#20380 new defect

Toolbar buttons for easypreset-created presets are disabled until you once enter toolbar editing settings panel

Reported by: pgavrilov Owned by: maripogoda
Priority: minor Milestone:
Component: Plugin EasyPresets Version: tested
Keywords: toolbar preset easypreset Cc:


What steps will reproduce the problem?

Bug appears after upgrade JOSM to version 17428

  1. Install easypreset plugin
  2. Open data layer and create tagged object that you will use as a sample for future preset. Select created object.
  3. Create preset using easypreset plugin (menu Presets->Create preset).
  4. Rename created preset using easypreset plugin (menu Presets->Manage custom presets) - it is minority bug of easypreset plugin, it creates new preset, but always names it as New Preset
  5. Add toolbar button for created preset (menu Edit->Preferences->Toolbar; all easypreset-created presets placed into submenu actions->presets->custom presets)
  6. Toolbar button is created and works fine. You can use it to change tagging for any appliable objects.
  7. Restart JOSM and open data layer. All created at step 5 buttons are disabled and cannot be used.
  8. Open toolbar editing settings panel again (menu Edit->Preferences->Toolbar) and immediately close it by pressing OK.
  9. All created at step 5 buttons become enabled and now works fine.

What is the expected result?

Before JOSM upgrade to version 17428 was not any strange buttons disabling at JOSM restart.

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

Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2020-12-28 22:03:23 +0100 (Mon, 28 Dec 2020)
Build-Date:2020-12-30 02:30:55
Relative:URL: ^/trunk

Identification: JOSM/1.5 (17428 ru) Windows 7 64-Bit
OS Build number: Windows 7 Professional (7601)
Memory Usage: 786 MB / 1820 MB (105 MB allocated, but free)
Java version: 1.8.0_151-b12, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Look and Feel:
Screen: \Display0 1920×1080 (scaling 1,00×1,00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→32×32, 32×32→32×32
Dataset consistency test: No problems found

+ FastDraw (35640)
+ apache-commons (35524)
+ buildings_tools (35669)
+ easypresets (1605041256)
+ imagery_offset_db (35640)
+ photo_geotagging (35640)
+ reltoolbox (35640)
+ utilsplugin2 (35674)

Tagging presets:
+ C:\Program Files (x86)\JOSM\PG-JOSM-presets.xml

Map paint styles:

Last errors/warnings:
- 00009,969 E: Не удалось найти изображение «presets\place\isolated_dwelling.svg»
- 00009,970 W:  null: Could not get presets icon presets\place\isolated_dwelling.svg
- 00010,001 E: Не удалось найти изображение «pics/icons/Russian_Post.svg»
- 00010,001 W: [NODE, CLOSEDWAY, MULTIPOLYGON] Russian Post: Could not get presets icon pics/icons/Russian_Post.svg
- 00010,164 E: Испорченная заготовка тегов "surface-Surface" - количество элементов в 'display_values' должно быть такое же, как и в 'values'
- 00010,165 E: Подробная информация: [Entry1, Entry2, Entry3] <> [trunk, motorway]

Attachments (1)

JOSM bug - easypreset buttons are disabled.png (106.2 KB) - added by pgavrilov 3 days ago.
JOSM after restart and new data layer opening. Internal preset buttons are enabled, easypreset-created buttons are disabled

Download all attachments as: .zip

Change History (2)

Changed 3 days ago by pgavrilov

JOSM after restart and new data layer opening. Internal preset buttons are enabled, easypreset-created buttons are disabled

comment:1 Changed 3 days ago by GerdP

Component: CorePlugin EasyPresets
Owner: changed from team to maripogoda

Modify Ticket

Change Properties
Set your email in Preferences
as new The owner will remain maripogoda.
as The resolution will be set.
to The owner will be changed from maripogoda to the specified user.
The owner will change to pgavrilov
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from maripogoda to anonymous.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.