Opened 8 years ago
Last modified 8 years ago
#16205 new defect
map paint style menu in JOSM - icon changes when enabling a setting — at Initial Version
| Reported by: | wulfmorn | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core mappaint | Version: | |
| Keywords: | Cc: |
Description
The following is true for JOSM v. 13265:
A) Sometimes when i enable a Map Paint Style setting the icon (defined in the mapcss file) changes into a pen icon (seems to be the default icon when no icon is defined by the style). I had this nailed down to being true when enabling a setting, but after some testing i found it only happens SOMETIMES and I cant figure out when.
I ended up just clicking style settings from several different styles on and off at random. Eventually i clicked on style settings in JOSM default and the icon changed to a pen, but I am unable to reproduce.
I am no longer able to get the JOSM default icon back (unless I restart JOSM), presumably until i randomly click enough styles for it to switch back.
I'm sorry I cant be more precise. Hopefully the bug is obvious in the code.
B) If one of the styles is my own style I am able to reset the icon without restarting JOSM by saving styles mapcss anew.
I dont know if this a bug in JOSM or a mapcss problem.
Change History (2)
by , 8 years ago
| Attachment: | no_settings_enabled.PNG added |
|---|
by , 8 years ago
| Attachment: | edit-icon-on-style.PNG added |
|---|
this is what i ended up with, but I dont know exactly how :(



this is what it normally looks like