Ticket #3497 (closed enhancement: fixed)

Opened 2 years ago

Last modified 14 months ago

"Show Only Active Contacts"

Reported by: lists+gajim@… Owned by: asterix
Priority: normal Milestone: 0.13
Component: roster Version: hg
Severity: normal Keywords:
Cc: Blocked By:
OS: All Blocking:

Description

Many of my buddies are online but never active. Sometimes I want to see only the buddies that are active.

This patch adds a menu item "View -> Show Only Active Contacts" that will make the roster display only buddies that are in the status "Free for Chat" or "Online".

Attachments

show_only_active_contacts.patch (3.8 KB) - added by Danie Roux 2 years ago.
show_only_active_contacts.2.patch (4.2 KB) - added by Danie Roux <lists+gajim@…> 2 years ago.

Change History

follow-up: ↓ 4   Changed 2 years ago by asterix

what about change the menuitem to Show unactive contacts, checked by default. This way it's the same logic as show offline contacts.

follow-up: ↓ 3   Changed 2 years ago by steve-e

Imho, this should wait untill the modelfilter patch is stable.

in reply to: ↑ 2   Changed 2 years ago by Danie Roux

Replying to steve-e:

Imho, this should wait untill the modelfilter patch is stable.

Are you referring to #1201? The redraw of the roster is a pain. This patch however does not make it any worse, it might even ease the pain in most cases.

Changed 2 years ago by Danie Roux

in reply to: ↑ 1 ; follow-up: ↓ 5   Changed 2 years ago by Danie Roux

Replying to asterix:

what about change the menuitem to Show unactive contacts, checked by default. This way it's the same logic as show offline contacts.

That could word, except that the logic for Offline contacts is that you don't want to see them by default.

Most people would want to see inactive users by default because that is the behaviour of other clients. Taking an active step to hide the inactive ones would be closer to what they expect.

in reply to: ↑ 4   Changed 2 years ago by m_gol

Replying to Danie Roux:

Most people would want to see inactive users by default because that is the behaviour of other clients. Taking an active step to hide the inactive ones would be closer to what they expect.

I cannot fully agree with that. I often want to send a message to an inactive person and I cannot do this with a view that disables inactive users.

  Changed 2 years ago by Danie Roux

I think we are in agreement :-)

This is how I think it should work from a clean install of gajim:

  • "Show Offline Contacts" and "Show Only Active Contacts" are not checked.
  • If you check "Show Offline Contacts", the offline contacts appear.
  • If you check "Show Only Active Contacts" it will hide everyone that is not "Free for Chat" or "Available".
  • If you uncheck "Show Only Active Contacts", it will return the previous state, showing all inactive and offline users.

So if you don't select any of these views, you will get the default situation which is:

  • Hide Offline users
  • Show all other users, whether they are active or not.

Changed 2 years ago by Danie Roux <lists+gajim@…>

  Changed 2 years ago by asterix

we'll include that in modelfilter patch (#1201), no need to include it now, I hope #1201 will be in next release

  Changed 14 months ago by asterix

I have a patch ready, but a question remain, what to do when both show_offline and show_only_active are enabled ...

maybe they should be radiobuttons instead of checkbuttons? so that they cannot be checked together? but how to disable both?

a submenu 'show contacts' which contains

  • Conencted contacts
  • all contacts
  • active contacts

which solutions sounds the best?

  Changed 14 months ago by m_gol

We could also do it this way - there would be 2 options:

  • Show inactive users, checked by default
  • Show offline users - an option active only when the first one is chosen.

That is, the second option couldn't be chosen if the first wasn't.

  Changed 14 months ago by asterix

we could also do it with "show offline" and "show only active": when one is selected, unsensitive the other. That's a good solution. let's go for that. Thanks.

  Changed 14 months ago by asterix

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to 0.13

(In [1e795627025a8b07b01ec4a4e3f7970696787409]) new show_only_active_contact option. Fixes #3497

Add/Change #3497 ("Show Only Active Contacts")

Author


E-mail address and user name can be saved in the Preferences.


Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
Next status will be 'needinfo'
 
Note: See TracTickets for help on using tickets.