Modify

Opened 2 years ago

Closed 23 months ago

Last modified 23 months ago

#6255 closed defect (fixed)

[patch] 'Open Recent' file list contains relative paths

Reported by: lonvia Owned by: team
Priority: normal Component: Core
Version: latest Keywords:
Cc: skyper

Description

If a file is loaded into the josm via the command line, the file appears in the 'Open Recent' list with its relative position (i.e. exactly with the path that was given during startup). If josm is later started from a different directory, the 'Open Recent' entries don't work anymore.

To reproduce:

  • change to directory 'foo'
  • start 'josm foo.gpx'
  • end josm
  • change to another directory
  • start josm without any commandline options
  • try to open 'foo.gpx' from 'Open Recent'

Attachments (1)

no-relative-paths.patch (1.6 KB) - added by xeen 23 months ago.
easy enough fix. Also sneaks in some other small goodies :)

Download all attachments as: .zip

Change History (8)

comment:1 Changed 2 years ago by stoecker

Ticket #6469 has been marked as a duplicate of this ticket.

comment:2 Changed 2 years ago by skyper

  • Cc skyper added

Changed 23 months ago by xeen

easy enough fix. Also sneaks in some other small goodies :)

comment:3 Changed 23 months ago by xeen

  • Summary changed from 'Open Recent' file list contains relative paths to [patch] 'Open Recent' file list contains relative paths

comment:4 Changed 23 months ago by stoecker

You have an own SVN account, don't you?

comment:5 Changed 23 months ago by xeen

  • Resolution set to fixed
  • Status changed from new to closed

In [4247/josm]:

fix #6255

comment:6 Changed 23 months ago by xeen

I do, but I also value the benefits of patch reviews.

comment:7 Changed 23 months ago by stoecker

Patch review, what an ancient concept. We are working on the live product. Makes much more fun :-)

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.