potatomushclient / potato

A Graphical MUSH Client for Windows, Linux and Mac OS X -
http://www.potatomushclient.com
30 stars 3 forks source link

Feature Request - "no activity" for events #204

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It would be great if users could configure Events so that they do not trigger 
the activity reporting mechanisms visible from outside the current world in 
Potato (e.g. systray flashing when minimised, 'New Activity' messages in other 
worlds).

The event text would still appear in the relevant world's window though (if not 
also suppressed by the event), under the New Activity banner there. This would 
be similar to the 'noactivity' attribute in TinyFugue.

An example application of this feature would be to ignore channel chatter and 
"GAME:" messages for the purposes of reporting activity, but still show them 
when the user switches to the relevant world window.

Original issue reported on code.google.com by d...@huz.org.uk on 29 Dec 2011 at 11:28

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Here's a patch to the SVN head (currently revision 289) that does roughly what 
I want. I haven't done much testing beyond ensuring that an event triggered by 
channel chatter no longer makes my taskbar icon flash, so take it with a pinch 
of salt. :)

Use the new functionality by defining an event. You can specify that you want 
text matching the event to be omitted from "Activity". At the moment, this 
means that the following things are suppressed:
- Taskbar flashing
- Systray flashing
- "Activity in World X" messages in other worlds

But you will still get:
- Coloured dot on the world tab changing colour to signify new activity
- World added to the 'active' list to the right of the input boxes

This seems like a good compromise between no activity notifications at all, and 
the notifications simply being more low-key.

I'm not sure whether it can break your potato.ini, so you might want to take a 
backup of yours first. Mine was reset to factory settings while I was playing 
around with this patch.

Original comment by d...@huz.org.uk on 29 Jan 2012 at 10:11

Attachments:

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r298.

Original comment by mike@keyboardzombie.com on 5 Apr 2012 at 2:56

GoogleCodeExporter commented 9 years ago
Much obliged. I added to your patch everso slightly - the world files have a 
basic versioning system, so I added a check so they know whether or not to set 
a default noActivity value. Otherwise, went in as-is. 

Original comment by mike@keyboardzombie.com on 5 Apr 2012 at 2:59