GNOME Bugzilla – Bug 169915
When moving (a laptop) to a new internet connection, gdict fails to connect to the server
Last modified: 2006-01-15 00:25:01 UTC
Version details: About box tells me it's 2.10.0 on Ubuntu Hoary Distribution/Version: Hoary Whereas other applications have no problems reconnecting to a new network, I have to remove the gdict applet from the panel and readd it before I can start using it on another network. As a laptop user, I very often switch .
Makes sense.
this is most likely due to the fact that the old dictionary code cached the dictionary server host lookup data as soon as they where found the first time. the new dictionary does the same, unfortunately, as I didn't tought about this use case; I'll add some cache expiration timeout to the GdictClientContext code.
the fix for this bug should be in HEAD. I've introduced a timeout in the dictionary client context: now, the hostname look up is cached with an expiration of five minutes. I can make it shorter, if needed.
I'm closing this bug. feel free to re-open it if a shorter cache expiration is needed.