Adium

Ticket #10420 (closed defect: fixed)

Opened 20 months ago

Last modified 19 months ago

Show offline contacts does not work if groups are disabled

Reported by: Alex Owned by: zacw
Milestone: Adium 1.3.1 Component: Adium UI
Version: 1.3b7 Severity: regression
Keywords: offline contacts menu item Cc:
Patch Status:

Description

I click on the "Show offline contacts" in the view menu and... My offline contacts don't appear. Then I click "Hide offline contacts" and my offline contacts show for about 1 millisecond then disappear. Hmm...

Attachments

show_offline_contacts.png (55.2 KB) - added by Alex 20 months ago.
Show offline contacts (before)
hide_offline_contacts.png (55.1 KB) - added by Alex 20 months ago.
Hide offline contacts (after)
Adium Log.txt (4.8 KB) - added by Alex 20 months ago.
Adium Log

Change History

Changed 20 months ago by zacw

Can you screenshot your view menu before and after clicking Show Offline Contacts?

Changed 20 months ago by jas8522

  • pending changed from 0 to 1
  • milestone set to Needs feedback from users

Changed 20 months ago by Alex

Show offline contacts (before)

Changed 20 months ago by Alex

Hide offline contacts (after)

Changed 20 months ago by Alex

  • pending changed from 1 to 0

I chose "Show offline contacts" and nothing happened. Then I restarted Adium then... Poof! They were there. But, when I said "Hide offline contacts:, they went, then I chose "Show offline contacts" again and it didn't work.

Changed 20 months ago by jas8522

  • pending changed from 0 to 1

Does anything show up in the console log from the exact time that you click on "Show offline contacts" and/or "Hide offline contacts" ?

If not, please see CurrentAdiumDebug for how to get a debug log of the event occurring.

Changed 20 months ago by Alex

  • pending changed from 1 to 0

Yes, I attached the log to the file attachments. When you find "**FRIENDS IM**" in the log, it means that my friends IM's address was there.

Changed 20 months ago by Alex

Adium Log

Changed 20 months ago by Sebbe

The same happen in b9 and in Adium 1.2.7

You should be able to reproduce the problem, if you can't then I will attach 2 pictures that show my contact list and the "Hide Offline Contacts" button

oh and btw, I have only tested with msn and facebook chat (at same time)

Changed 20 months ago by Sebbe

another update. Users that get on and then go off again don't show up as offline in the contact list

if you log off and on again then everybody that are offline are in the contact list again

Changed 20 months ago by Robby

  • milestone changed from Needs feedback from users to Adium X 1.3

Changed 20 months ago by jas8522

  • milestone changed from Adium X 1.3 to Adium X 1.3.1

Changed 20 months ago by Sebbe

You can watch offline people (after they logg off or if you click "Show offline messages") IF you have checked for "Show groups"

Short summary "Show offline contacts" only works if you have checked "Show groups"

Maybe that will help you to find what the problem is

Changed 19 months ago by Alex

Thank you! That did solve my problem; and you can then click "Hide groups" and the offline contacts still show.

Changed 19 months ago by berdan

  • pending changed from 0 to 1
  • milestone changed from Adium X 1.3.1 to Needs feedback from users

So this ticket can be closed then?

Changed 19 months ago by zacw

  • owner changed from nobody to zacw
  • status changed from new to assigned
  • pending changed from 1 to 0
  • milestone changed from Needs feedback from users to Adium X 1.3

No, this is an actual bug. Workarounds in situations like this (where expected behavior isn't happening) don't count as fixes.

Let's add this to my "please god let me have some free time this week" queue.

Changed 19 months ago by jas8522

  • keywords offline contacts item added; offline, contacts, item, fault removed
  • severity changed from normal to regression
  • summary changed from Show offline contacts not working properly to Show offline contacts does not work if groups are disabled

Changed 19 months ago by zacw

Is anyone able to reproduce this?

Changed 19 months ago by Sebbe

Someone else than me? If you mean anyone then yeah If groups are on, turn that off. Then choice "Hide offline contacts" and then "Show offline contacts" and voila, they don't show up (I just did this, just to make sure :))

Changed 19 months ago by zacw

What service are the contacts on? I can't cause it to happen doing that.

Changed 19 months ago by Sebbe

Msn and facebook... but I guess facebook are not supposed to be there anyway so I have only tested with MSN :)

Changed 19 months ago by zacw

This appears to be a more extensive bug than just as this ticket indicates. CFM reported idle contacts behaving the same way. Something isn't updating visibility correctly.

Changed 19 months ago by Sebbe

I'm not sure what you mean, but my Idle contacts show just fine

Changed 19 months ago by jas8522

Using 1.3b12 here is what I have found (with both MSN contacts and Gtalk contacts). Groups are disabled for all these tests.

Show All Contacts menu option chosen (such that it now shows "Hide Certain Contacts" in the view menu):

  1. All my online AND offline contacts appear in the list.
  2. Hide Certain Contacts and Show Offline Contacts specified - all my contacts except blocked ones are showing.
  3. Hiding idle contacts also works fine.

Therefore I cannot reproduce this issue.

Changed 19 months ago by zacw

I'll put some debug logging into a test build tonight and throw it in this ticket. Let's see if it's something weird or not. It might just not be updating all visibility on changes, or something strange like that, under certain conditions.

Changed 19 months ago by Sebbe

If I understud you right jas, then you had on groups then disabled that right? But you didn't click "hide offline contacts" and then "show offline contacts"? Offline contacts show if you either log on, or choice "show groups", but if "show groups" are not on then ppl that go offline will not show up

hm, I think I missed something, but can't remamber that right now

Changed 19 months ago by Robby

  • milestone changed from Adium X 1.3 to Adium X 1.3.1

Pushing.

Changed 19 months ago by Robby

  • priority changed from normal to high

Changed 19 months ago by evands

  • status changed from assigned to closed
  • resolution set to fixed

(In [25102]) Fixed and cleaned up a little bit handling of visibility preference changes as they relate to offline contacts and the offline contact group. Man, this code is ridiculous. Fixes #10420

Changed 19 months ago by evands

(In [25103]) Merged [25102]: Fixed and cleaned up a little bit handling of visibility preference changes as they relate to offline contacts and the offline contact group. Man, this code is ridiculous. Fixes #10420

Note: See TracTickets for help on using tickets.