GNOME Bugzilla – Bug 540356
Problem with NetworkManager interaction
Last modified: 2008-08-14 07:54:52 UTC
To reproduce: 1 Make sure mission-control is not running 2 Unselect the "Enable wireless" checkbox in the NetworkManager applet 3 Start empathy 4 Select the "Enable wireless" checkbox in the NetworkManager applet -> empathy is offline, and not available as expected We are running into this in OnlineDesktop where we start empathy through gnome-session (and so often before NetworkManager is connected)
The problem is that empathy.c calls empathy_idle_set_state (idle, MC_PRESENCE_AVAILABLE); while network manager is not connected, so it gets ignored.
Created attachment 113479 [details] [review] Remember states set when we are disconnected I attached a patch that fixes this problem by saving the state in set_presence, if we are disconnected from NetworkManager. I can't think of any bad side effect, but then that code is very complicated and I could be very well missing something.
This patch is not enough, there is complex cases with interaction of auto-away feature. I made a more complete rework of that code in my idle-rework git branch: http://git.collabora.co.uk/?p=user/xclaesse/empathy.git;a=shortlog;h=refs/heads/idle-reworked
Thanks. When is this planned to land on the trunk?
When it's reviewed
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.