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)
Change History (6)
by , 13 years ago
Attachment: | RecentFiles.patch added |
---|
comment:1 by , 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 , 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 , 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 , 13 years ago
Owner: | changed from | to
---|---|
Summary: | Getting rid of not existing files in "Open Recent" → [patch] Getting rid of not existing files in "Open Recent" |
Prevent moving up files in the list which failed loading