Opened 9 years ago
Closed 8 years ago
#12666 closed defect (wontfix)
Items in advanced settings displayed with yellow color, despite they values set to defaults
Reported by: | openstreetmap.org-user-d1g | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | |
Keywords: | windows | Cc: |
Description (last modified by )
steps for testing are in message 6, without non-core plugins.
Applies to: 10025, 10029
Windows 7/10, regardless of Java version I guess
Attachments (4)
Change History (14)
by , 9 years ago
Attachment: | ex1-before-reset.png added |
---|
by , 9 years ago
Attachment: | ex1-after-reset.png added |
---|
by , 9 years ago
Attachment: | ex2-before-reset.png added |
---|
by , 9 years ago
Attachment: | ex2-after-reset.png added |
---|
follow-ups: 3 5 comment:2 by , 9 years ago
If you could provide a step-by-step instruction, how to reproduce this problem, that would help. (preferably starting with fresh preferences)
comment:3 by , 9 years ago
Replying to bastiK:
If you could provide a step-by-step instruction, how to reproduce this problem, that would help. (preferably starting with fresh preferences)
I had no steps at the moment of reporting. Yes, I managed to 100% reproduce it:
- java -jar josm-latest.jar --reset-preferences
- F12 > Plugins, install opening_hours
- add new layer, add one tag less node, edit OH using tool, SET checkbox "12 hours format" > OK > OK
- select tag less node again, edit OH using tool, UNSET checkbox "12 hours format" > OK > OK
- F12 > enable expert mode > search for "ohe.clocksystem"
- select single item, reset it
- observe that new ("TWENTYFOUR_HOURS", default) value is equal to old yellow value ("TWENTYFOUR_HOURS")
comment:4 by , 9 years ago
BTW, ohe.clocksystem=TWENTYFOUR_HOURS property survives --reset-preferences switch...
Help/Preferences#Windows
I removed %APPDATA%\JOSM folder, but this key ohe.clocksystem is still persists?.. I cannot see this key in core core.
I also removed \Users\USERNAME\Application Data\JOSM folder, I tried 1-7 steps - same issue. I tried only 1,2,3,5,6,5,6,7 same issue.
comment:5 by , 9 years ago
Replying to bastiK:
If you could provide a step-by-step instruction, how to reproduce this problem, that would help. (preferably starting with fresh preferences)
I tried 10029 on another PC, where JOSM was never installed. Win 10 / Java 1.7.0_80
I repeated (without reset first) 2,4,5,6,7 with following differences: default value was "TWELVE_HOURS". I.e. you can get this bug, but checkbox in dialogue will be checked by default (TWELVE_HOURS).
At second run, --reset-preferences won't erase ohe.clocksystem, then repeat a bug using 1,2,4,5,6,7 without JOSM restart.
comment:6 by , 9 years ago
Again, more simple steps to reproduce:
1st test:
- open JOSM
- create new layer
- detach "layers" toggle
- close it (place it back)
- F12, expert, expect "layerlist.docked" as YELLOW "true"
- reset this value, get default "TRUE"
2nd test:
After JOSM restart, all .docked values are "true" (white)
3rd test:
After JOSM restart, repeat 1-3, restart.
Expect layers toggle as undocked.
Open expert AS, layerlist.docked is "false" (YELLOW)
Now pin it back and get a bug in next step
Open expert AS, layerlist.docked is "true" (YELLOW)
4th test:
After JOSM restart, all .docked values are "true" (white)
PS. I will take a break at bisecting version, too many steps to test for me, please create a test :-D
comment:7 by , 9 years ago
Description: | modified (diff) |
---|---|
Summary: | Some settings displayed with yellow color, despite they values set to defaults → Items in advanced settings displayed with yellow color, despite they values set to defaults |
comment:8 by , 9 years ago
Description: | modified (diff) |
---|
comment:9 by , 8 years ago
Keywords: | windows added |
---|
comment:10 by , 8 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
- Difficult to reproduce
- nobody else reposted it
- most likely affects only windows
- minor feature
-> closing.
This bug persists even after you uninstall relevant pluing:
(with OH plug-in deinstalled):
ohe.clocksystem=TWELVE_HOURS (displayed as yellow)
ohe.clocksystem=TWELVE_HOURS (use reset button, displayed as green with thin text)
(reopen ADS):
ohe.clocksystem=TWELVE_HOURS (displayed as yellow)
Why?..