Modify ↓
Opened 4 years ago
Last modified 4 years 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 button github | Cc: |
Description
What steps will reproduce the problem?
Bug appears after upgrade JOSM to version 17428
- Install easypreset plugin
- Open data layer and create tagged object that you will use as a sample for future preset. Select created object.
- Create preset using easypreset plugin (menu Presets->Create preset).
- 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
- Add toolbar button for created preset (menu Edit->Preferences->Toolbar; all easypreset-created presets placed into submenu actions->presets->custom presets)
- Toolbar button is created and works fine. You can use it to change tagging for any appliable objects.
- Restart JOSM and open data layer. All created at step 5 buttons are disabled and cannot be used.
- Open toolbar editing settings panel again (menu Edit->Preferences->Toolbar) and immediately close it by pressing OK.
- 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.
URL:https://josm.openstreetmap.de/svn/trunk 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 Revision:17428 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: com.sun.java.swing.plaf.windows.WindowsLookAndFeel 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 Plugins: + FastDraw (35640) + apache-commons (35524) + buildings_tools (35669) + easypresets (1605041256) + imagery_offset_db (35640) + photo_geotagging (35640) + reltoolbox (35640) + utilsplugin2 (35674) Tagging presets: + https://josm.openstreetmap.de/josmfile?page=Presets/Quick-highways&zip=1 + C:\Program Files (x86)\JOSM\PG-JOSM-presets.xml + https://raw.githubusercontent.com/ruosm-presets/literan-moscow/master/russian_shops.xml Map paint styles: - https://github.com/bastik/mapcss-tools/raw/osm/mapnik2mapcss/osm-results/mapnik.zip - https://www.dropbox.com/s/qo3ai47fpv241jf/Styles_Fixme_and_Notes.zip?raw=1 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)
Change History (7)
by , 4 years ago
Attachment: | JOSM bug - easypreset buttons are disabled.png added |
---|
comment:1 by , 4 years ago
Component: | Core → Plugin EasyPresets |
---|---|
Owner: | changed from | to
follow-up: 4 comment:2 by , 4 years ago
Could be a problem with user defined toolbar items in core. See #20665.
comment:3 by , 4 years ago
Keywords: | button added |
---|
comment:4 by , 4 years ago
comment:6 by , 4 years ago
Keywords: | github added |
---|
also reported there https://github.com/maripo/JOSM_easypresets/issues/53
Note:
See TracTickets
for help on using tickets.
JOSM after restart and new data layer opening. Internal preset buttons are enabled, easypreset-created buttons are disabled