Dynamic priority depending on presence state

Bug #144863 reported by sander
10
Affects Status Importance Assigned to Milestone
Coccinella
New
Wishlist
Mats

Bug Description

The priority value should automatically change if the user changes his presence state (or because the auto away feature does). In this way messages are more likely to be routed to the right client when the user is connected with multiple accounts on different locations.

Use case:
* Mats is during the day connected to his XMPP account using the client on his mobile phone. This client has priority 5.
* Mats starts his desktop computer and he starts Coccinella. He is online and his priority is 6. All messages to Mats are now automatically routed by the server to Coccinella instead of his mobile phone. Mats will save money because he has to pay a lot more more for mobile traffic.
* Mats goes to the local shop. He (or the auto away feature) changes the presence state of Coccinella on his desktop to away. Away is mapped with a priority of 4. All messages now will be routed to the mobile phone client of Mats, including the message of his wife: "Can you also bring some eggs? I forgot to ask you this."

How to implement in the interface:
* In the preferences dialog there should be a new page called "Auto Priority"
* This pages lists all Presence states vertically in the first column
* In the second column there will be a priority field

See also Bug #180132 to my long comment regarding this!

Related discussion: http://bugs.kde.org/show_bug.cgi?id=97998

sander (s-devrieze)
Changed in coccinella:
assignee: nobody → matsben
importance: Undecided → Wishlist
sander (s-devrieze)
description: updated
sander (s-devrieze)
description: updated
buzzdee (sebastia)
Changed in coccinella:
milestone: none → 0.96.18
Revision history for this message
buzzdee (sebastia) wrote :

I think this auto-priority should be added to the preferences.

Need to figure out, how to actually change the priority of a running session.

What to do when a priority is set in the profile other than the default?

Completely disable the auto-priority feature?
Or maybe using some calculation to dynamically calculate the priority for the different presence states?

Revision history for this message
sander (s-devrieze) wrote :

Maybe the profile-based priority feature should be removed when auto-priority is added?

buzzdee (sebastia)
Changed in coccinella:
milestone: 0.96.18 → 0.96.20
buzzdee (sebastia)
Changed in coccinella:
milestone: 0.96.20 → 0.96.22
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.