GNOME Bugzilla – Bug 150306
egg-recent-item URI corruption
Last modified: 2006-05-07 22:53:40 UTC
I have entries in my .recently-used which have mal-formed URIs in them, e.g.: <RecentItem> <URI>http://o-for-CS.pdf</URI> <Mime-Type>application/pdf</Mime-Type> <Timestamp>1089837322</Timestamp> <Groups> </Groups> </RecentItem> This should have had the following for the URI line: <URI>file:///home/lhutchis/hunter-bio-for-CS.pdf</URI> Other examples include: <URI>http://ger(1).pdf</URI> <URI>http://lides.ppt</URI> <URI>http://pm_R1b.svg</URI> <URI>http://re.zip</URI> Some of these are old files, so I don't remember their full names, but I know at least of two of them, again in my home directory or a subdir: Slides.ppt and graphm_R1b.svg. I think that somewhere, egg-recent-item is corrupting strings before it adds them to .recently-used. This is actually causing me to get locked out of my proxy server frequently, because the Panel then tries to access these as domain names when it updates its list of recently used files. This may be related to a crash of gnome-panel, reported as: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=129658
N.B. another Linux user here, on a different box, is also sending these malformed URLs to the proxy server, so it is not an isolated problem. I don't know if this is a bug in Nautilus, gnome-vfs2, or libegg. BTW the other bug I mentioned may not actually be related.
Nah, its a different bug from the Fedora one you mention - the other bug is a crasher caused by uri's which gnome-vfs doesn't recognise. See bug #150218.
I have just seen this problem too. In my .recently-used file I have <RecentItem> <URI>file://action=view</URI> <Mime-Type>text/html</Mime-Type> <Timestamp>1107442926</Timestamp> <Groups> <Group>gedit</Group> </Groups> </RecentItem> Note also that I have two items with the same broken URI: [paolo@elilix paolo]$ grep "<URI>file://action=view</URI>" .recently-used <URI>file://action=view</URI> <URI>file://action=view</URI> [paolo@elilix paolo]$
Paolo -- interestingly, "action=view" is very likely to be the end of a Bugzilla URL for an attachment. Can you reliably duplicate this problem for any Bugzilla attachment you click on?
I have a ton of these in my .recently-used file on a different GNOME installation than I originally reported this for. If anyone wants to verify they're seeing this, you just need to search for "http://" in .recently-used. Most of what comes up is *not* a URI that was fetched over HTTP, it's actually supposed to start with "file:///". The initial half to two-thirds of the URI, starting from the first path slash, is cropped, and "file:" is replaced with "http:".
Could you please verify which app added them (the Group tag)?
gpdf, eog, gedit, as well as some blank entries, i.e. without a specified group. There are valid http:// entries in the file, where a file was genuinely fetched from a web resource. Then there are the truncated file ones that are prefixed with http:// . gpdf has examples of both valid and invalid URIs. The fact that other apps are involved probably indicates it's happening in a library somewhere (libegg/gnome-vfs2?).
Is this bug still happening with recent versions of gnome-vfs/libegg?
I haven't seen this yet in 2.12, but I saw it as recently as 2.10 I believe.
I have just see it again with 2.10. <RecentItem> <URI>file://action=view</URI> <Mime-Type>text/html</Mime-Type> <Timestamp>1121766260</Timestamp> <Groups> <Group>gedit</Group> </Groups> </RecentItem> <RecentItem> <URI>file://ctype=ics</URI> <Mime-Type>text/calendar</Mime-Type> <Timestamp>1122976605</Timestamp> <Groups> <Group>gedit</Group> </Groups> </RecentItem>
egg-recent is deprecated, and GtkRecent does not use gnome-vfs anymore. closing as OBSOLETE.