Modify

Opened 18 years ago

Closed 18 years ago

#121 closed defect (fixed)

Preferences folder in wrong location on Windows

Reported by: anonymous Owned by: imi
Priority: minor Milestone:
Component: Core Version: tested
Keywords: Cc:

Description

JOSM puts its preferences folder in the wrong place when running on Windows.

The location it chooses is:
<user home>/.josm

This is correct on Linux, but on windows the location should be:
<user home>\Application Data\JOSM

It's true that most open source software originating from the nix world also gets this wrong. On Windows XP the user's home directory isn't really visible (the user is presented with the My Documents folder as the lowest level) so this isn't really a problem. However, on Windows Vista this has changed and <user home> is now obvious and contains "Documents", "Pictures", "Music" etc, and now ".josm" too, which isn't by default hidden.

Attachments (0)

Change History (1)

comment:1 by imi, 18 years ago

Resolution: fixed
Status: newclosed

Windows localize the names for the different folders, so it is not "Application Data" everywhere. ;-)

Now, I use the environment variable "APPDATA" if present, which I believe is always set under Windows and generally unused under unix/linux.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain imi.
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.