Modify

Opened 13 years ago

Closed 13 years ago

#5757 closed enhancement (fixed)

[patch] Getting rid of not existing files in "Open Recent"

Reported by: anonymous Owned by: anonymous
Priority: normal Milestone:
Component: Core Version:
Keywords: Cc:

Description

Newer JOSM have the "Open Recent" entry in the Files menu. That's a simple but greatly appreciated feature.

Though I'm often saving and reopening files locally and delete them when uploaded for sure. And in those cases it's getting a bit since deleted files stay in the menu until they get kicked out when enough new files get added.

Therefore I'd like JOSM to kick them out as soon as it notices they don't exist anymore. E.g. if the user clicks on the entry, JOSM wants to load but notices that the file's gone.

Attachments (2)

RecentFiles.patch (717 bytes ) - added by anonymous 13 years ago.
Prevent moving up files in the list which failed loading
RecentFiles2.patch (2.1 KB ) - added by anonymous 13 years ago.
Not only not adding files which failed to load but also removing the from the history if already there

Download all attachments as: .zip

Change History (6)

by anonymous, 13 years ago

Attachment: RecentFiles.patch added

Prevent moving up files in the list which failed loading

comment:1 by anonymous, 13 years ago

I just added a patch that at least prevents moving up files in or adding files to the history list which weren't loaded.
This is a one liner and should be the minimum of what should be done. It's for people who worry about removing a file just because it might not be there right now but come back later - the poor fily.

by anonymous, 13 years ago

Attachment: RecentFiles2.patch added

Not only not adding files which failed to load but also removing the from the history if already there

comment:2 by anonymous, 13 years ago

This second patch follows a more radical approach. Not only doesn't it add files which haven't loaded successfully. It also removes them from the history if they're already in it.

comment:3 by anonymous, 13 years ago

Owner: changed from team to anonymous
Summary: Getting rid of not existing files in "Open Recent"[patch] Getting rid of not existing files in "Open Recent"

comment:4 by bastiK, 13 years ago

Resolution: fixed
Status: newclosed

In [3924/josm]:

applied #5757 - Getting rid of not existing files in "Open Recent" (anonymous contribution)

Modify Ticket

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