"Show when offline" doesn't work without "refreshing"
Status: Beta
Brought to you by:
albertzeyer
When I right-click on some buddies and choose "show when offline" (and have the preference of showing offline buddies turned off in general), when Pidgin is started, they are not shown. If the preference of showing offline buddies is turned on and off (through Buddies->Show->Offline Buddies), it works fine.
I do not think this bug is present on Pidgin on Linux. (Wild possibility: this might be somehow related to Bug 2707153, with preferences not being saved?)
Pidgin 2.5.5 Mac
That bug 2707153 (about forced loading plugins) is only because of the static linked plugin load code.
The preferences should be safed, otherwise all other things should also not be saved correctly. (I am not exactly sure right now what other stuff is saved in this prefs.xml; or where exactly it is saved that a user stays visible when offline.)
I am using that feature (show hidden users) myself and it works for me, it's also correct after restart.
From what you describes, it seems that it at least safes it correct but doesn't apply it correct somehow after start.
Right, it seems the preference is correctly saved (in blist.xml, as
<contact>
<buddy ...="">
<setting name="show_offline" type="bool">1</setting>
</buddy>
</contact>.)
This might be related to another bug I see, which I is not perfectly reproducible, that sometimes, when someone changes status or goes offline, the buddy list doesn't get updated, until I go to that particular entry and highlight it / click on it.
Strangely, the "refreshing" can be done even with toggling Buddies->Show->Empty groups, even though I don't have any empty groups!
I think it is definitely related to the redrawing bug I mentioned in the previous comment: toggling one of these forces the buddy list to be redrawn, I guess. (Strangely, collapsing and uncollapsing the group doesn't help.)
Also, when I click on some entry, it appears not to get highlighted: but if I switch to another application and switch back, I find that it is in fact highlighted.
This seems to be very clearly a GTK+ bug. :)
I also noted some drawing bugs whereby I am not sure if they are the same as you described (but they are similar):
Sometimes, the current visible window (esp. that is for the contact list window) doesn't reflect correctly the content of it, e.g. it doesn't show all entries or it shows the entries at the wrong position. When I rightclick somewhere, it often redraws that area in the window and I can see what really there is. This is often at the very start of Pidgin, when it connects and when it loads the whole list. Sometimes (but rarely) I see it also when some user connects/disconnects.
I think that this is also a Gtk+ bug (whereby I didn't looked much at the Pidgin code) and could be also related to your bug.