History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: GLB-6
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Richard Hult
Reporter: Ulrik Sverdrup
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
GNOME Launch Box

Recent FIles module lists files that don't exist

Created: 25/Jan/06 02:14 PM   Updated: 28/Jan/06 11:19 AM
Component/s: None
Affects Version/s: 0.2
Fix Version/s: 0.2

File Attachments: 1. Text File issue-35-patchv1.patch (0.7 kb)
2. Text File issue-35-patchv2.patch (1.0 kb)



 Description  « Hide
Searching often returns files in the list that can't be opened.

The cause is that the recents files module adds files without checking if they exist.



 All   Comments   Change History      Sort Order:
Ulrik Sverdrup - [25/Jan/06 02:16 PM ]
Patch to simply check if the file exists before adding it

Ulrik Sverdrup - [25/Jan/06 03:30 PM ]
Cleaner patch.

Consequences: Filename-representation is used for searching and display, so that we get rid of the URL encoding (%20 etc)
Recent URIs that don't start with file:/// are skipped, and invalid URIs are skipped.
Only files that exist are listed.


Richard Hult - [28/Jan/06 11:19 AM ]
Thanks, I've committed this.