GNOME Bugzilla – Bug 642087
The order of favorite rooms listed in menu items of Room menu change automatically sometimes
Last modified: 2011-05-09 14:21:49 UTC
This should not happen and they should remain stable when user has made no change to the list of added rooms (ie. by adding or removing any room)
I think replacing the G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT isn't justified here as any change either by writing, moving, renaming the file or unmounted filesystem should be checked upon. But this is happening even when I do not do any such thing!
I think I have figured this out. Presently we are updating chatrooms.xml every time a change is made in any of the properties in chat-rooms, even for those properties which the file doesn't and shouldn't care about, like "tp-chat" which causes all chat-rooms to be reloaded into the main window's Rooms menu(even changing their order sometimes) when a channel is obtained and set. My branch to fix this annoying behaviour: https://gitorious.org/glassrose-gnome/empathy/commits/save-chatrooms.xml-only-when-needed
I'd add a comment explaining that you only watch the properties exported in the saved file. Except that, look good!
Done :)
Merged to master; thanks ! This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.