KRecentFilesAction improvement

David Faure faure at kde.org
Mon Jul 18 19:39:23 BST 2005


On Sunday 22 May 2005 20:48, Andras Mantia wrote:
> On Sunday 22 May 2005 17:58, David Faure wrote:
> > On Tuesday 10 May 2005 13:02, Andras Mantia wrote:
> > > Hi,
> > >
> > >  I suggest the following improvement for KRecentFilesAction: be
> > > able to specify a nice name for the entries when an URL is added.
> > > Useful in case of projects, but also for single files as well. If
> > > such a name is specified the entry will look like:
> > > Name [url]

This change broke the "recent files" dialog in koffice, which shows broken icons with no texts now.
The reason is that it parses the [RecentFiles] group itself, and treats every FileN entry as a url, 
which it's not anymore. Behavior compatibility is as important as binary compatibility :(

Well, too late to back down now, I'll fix the parsing in koffice; just something to
keep in mind later: it's hard to know what exactly will be broken by changing the format of 
a KConfig file...

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).





More information about the kde-core-devel mailing list