Modify

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 openstreetmap.org-user-d1g)

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)

ex1-before-reset.png (15.2 KB ) - added by openstreetmap.org-user-d1g 9 years ago.
ex1-after-reset.png (15.5 KB ) - added by openstreetmap.org-user-d1g 9 years ago.
ex2-before-reset.png (14.7 KB ) - added by openstreetmap.org-user-d1g 9 years ago.
ex2-after-reset.png (14.9 KB ) - added by openstreetmap.org-user-d1g 9 years ago.

Download all attachments as: .zip

Change History (14)

by openstreetmap.org-user-d1g, 9 years ago

Attachment: ex1-before-reset.png added

by openstreetmap.org-user-d1g, 9 years ago

Attachment: ex1-after-reset.png added

by openstreetmap.org-user-d1g, 9 years ago

Attachment: ex2-before-reset.png added

by openstreetmap.org-user-d1g, 9 years ago

Attachment: ex2-after-reset.png added

comment:1 by openstreetmap.org-user-d1g, 9 years ago

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?..

Version 0, edited 9 years ago by openstreetmap.org-user-d1g (next)

comment:2 by bastiK, 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)

in reply to:  2 comment:3 by openstreetmap.org-user-d1g, 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:

  1. java -jar josm-latest.jar --reset-preferences
  2. F12 > Plugins, install opening_hours
  3. add new layer, add one tag less node, edit OH using tool, SET checkbox "12 hours format" > OK > OK
  4. select tag less node again, edit OH using tool, UNSET checkbox "12 hours format" > OK > OK
  5. F12 > enable expert mode > search for "ohe.clocksystem"
  6. select single item, reset it
  7. observe that new ("TWENTYFOUR_HOURS", default) value is equal to old yellow value ("TWENTYFOUR_HOURS")
Last edited 9 years ago by openstreetmap.org-user-d1g (previous) (diff)

comment:4 by openstreetmap.org-user-d1g, 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.

Last edited 9 years ago by openstreetmap.org-user-d1g (previous) (diff)

in reply to:  2 comment:5 by openstreetmap.org-user-d1g, 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.

Last edited 9 years ago by openstreetmap.org-user-d1g (previous) (diff)

comment:6 by openstreetmap.org-user-d1g, 9 years ago

Again, more simple steps to reproduce:

1st test:

  1. open JOSM
  2. create new layer
  3. detach "layers" toggle
  4. close it (place it back)
  5. F12, expert, expect "layerlist.docked" as YELLOW "true"
  6. 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

Last edited 9 years ago by openstreetmap.org-user-d1g (previous) (diff)

comment:7 by openstreetmap.org-user-d1g, 9 years ago

Description: modified (diff)
Summary: Some settings displayed with yellow color, despite they values set to defaultsItems in advanced settings displayed with yellow color, despite they values set to defaults

comment:8 by openstreetmap.org-user-d1g, 9 years ago

Description: modified (diff)

comment:9 by openstreetmap.org-user-d1g, 8 years ago

Keywords: windows added

comment:10 by openstreetmap.org-user-d1g, 8 years ago

Resolution: wontfix
Status: newclosed
  1. Difficult to reproduce
  2. nobody else reposted it
  3. most likely affects only windows
  4. minor feature

-> closing.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.