Modify

Opened 4 years ago

Closed 4 years ago

#2974 closed defect (invalid)

JOSM writes color.* values to preferences when they don't differ from the default

Reported by: avar Owned by: avar
Priority: minor Component: Core
Version: latest Keywords:
Cc:

Description

  1. Start a fresh JOSM
  2. Customize some color entry, e.g. the color of a node
  3. Revert it to the default
  4. JOSM will wastefully write this to the preferences:
$ grep ^color .josm/preferences 
color.node=#FF0000

Presumably JOSM will then continue to use #FF0000 if and when the default changes at some later date.

Instead the entry should be deleted from preferences when it matches the default.

Attachments (0)

Change History (2)

comment:1 follow-up: Changed 4 years ago by stoecker

  • Owner changed from team to avar
  • Status changed from new to needinfo

Can't reproduce. And #FF0000 is not the default for nodes.

Please retry.

comment:2 in reply to: ↑ 1 Changed 4 years ago by anonymous

  • Resolution set to invalid
  • Status changed from needinfo to closed

Replying to stoecker:

Can't reproduce. And #FF0000 is not the default for nodes.

I can't reproduce it either now. Closing as invalid.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.