Opened 7 years ago
Last modified 7 years ago
#16205 new defect
map paint style menu in JOSM - icon changes when enabling a setting
Reported by: | wulfmorn | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core mappaint | Version: | |
Keywords: | Cc: |
Description (last modified by ) ¶
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 (6)
by , 7 years ago
Attachment: | no_settings_enabled.PNG added |
---|
by , 7 years ago
Attachment: | edit-icon-on-style.PNG added |
---|
this is what i ended up with, but I dont know exactly how :(
comment:1 by , 7 years ago
Description: | modified (diff) |
---|
Probably not obvious, but thanks for the report.
comment:2 by , 7 years ago
Component: | Core → Core mappaint |
---|
Clearly a bug, but clearly not obvious. The random problems are the worst!
comment:4 by , 7 years ago
This bug happens to me too. You can also "kill" the icon by using a local style file and then right click on the style and click reload from file.
(This bug is an old one, I thought I mentioned this already a few years ago in a comment but even after a deep search I can't find it anymore.)
this is what it normally looks like