Ticket #577 (reopened Enhancement)

Opened 4 years ago

Last modified 4 months ago

Show a badge on the dock icon reflecting the number of unread messages

Reported by: max@… Owned by: timothy
Priority: Normal Milestone: Colloquy 2.3
Component: Colloquy (Mac) Version: 2.1 (Mac)
Severity: Normal Keywords:
Cc: Auria

Description

It would be nice if Colloquy could (optionally?) display a badge on the dock icon (similiar to Mail.app, Proteus and other apps including chat programs and rss readers) that gives an indication that there are unread messages. It would display the number of "unread" messages. The color of the badge could be used to indicate whether any of those messages are in a query (=message directed directly at the user), resp. the messages contained any highlights / the users nickname.

Conversation, another Mac OS X IRC client, implements this, see < http://homepage.mac.com/philrobin/conversation/page2.html>.

Attachments

ColloquyBadgePlugin.zip (16.4 KB) - added by Tlalox 3 years ago.
ColloquyBadgePlugin1.1.zip (44.3 KB) - added by DerekS 3 years ago.
Updated version with Leopard support, multiple indicators.
ColloquyBadgePlugin1.1-b.zip (60.4 KB) - added by Auria 10 months ago.

Change History

Changed 4 years ago by anonymous

I agree that this would be a nice enhancement.

Basically, anything that lets me keep Colloquy in the background but still stay tuned to activity will greatly improve user experience.

Changed 4 years ago by xApple

  • severity changed from blocker to normal

Yes that would indeed be very sweet, and a nice OS integration option.
Also, Adium now does it, you should too.

Great Program.

Changed 4 years ago by OneSadCookie

I've written a simple plug-in that does this. Source at  http://onesadcookie.com/svn/repos/ColloquyDockIconPlugIn ; binary at  http://onesadcookie.com/~keith/DockIcon.plugin.zip . No warranty! In particular, I haven't checked for memory leaks.

Changed 3 years ago by timealterer

What I do for a rough approximation to this behaviour is leave some room for Colloquy's room listings to one side of my display. Then, when there's room activity, the unread counts are visible over on the side. When there's a lot going on in a room, this is a 10x better experience than having a noise every time there's a message.

As such, I think the unread-count-in-dock feature would be incredibly useful and Mac-like. Not having unread counts in the dock is becoming like not having tabs.

Changed 3 years ago by Tlalox

Changed 3 years ago by Tlalox

Attached you can find an updated plugin from Keith Bauer that fixes #577. It works fine with the current version of Colloquy and OS-X 10.4.10 (Intel and PowerPC). It is not added to the "Extras > Plugin & Scripts" directory on colloquy.info by now.
In my opinion Colloquy is a extremely good client but doesn't integrate very well into OS-X with the tickets #577 and #904 open.

Changed 3 years ago by DerekS

Updated version with Leopard support, multiple indicators.

Changed 3 years ago by DerekS

I discovered the badge plugin didn't work on Leopard so I fixed it. While I was in there, I added support for red/blue badges (for highlight/unread messages respectively) and changed some of the timings to make it more responsive.

I'd like to see someone roll all this into the client itself, something I may do if I can find time.

Changed 3 years ago by DerekS

I rolled it into the client and submitted it to Timothy. With luck we'll see this ticket closed shortly. :)

Changed 20 months ago by Rinoa

  • version changed from 2.0 (Mac) to 2.1 (Mac)

Valid as of latest build.

Changed 13 months ago by akempgen

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to Colloquy 2.3

Added in [4553].

Changed 10 months ago by Auria

  • cc Auria added
  • status changed from closed to reopened
  • resolution fixed deleted

Sorry to be the annoying person that reopens the closed ticket, but I believe the issue originally described was only partly fixed.

The reason for the original is, IMO, very well described in #1218 , and it to have a way to quickly see if there is any unread activity. The current feature (apart from being hidden) only counts private and highlighted messages, and as such does not help monitoring activity in general.

It is my impression that the 1.1 plugin posted above does that, however the link is broken (and the previous version does not work on recent system versions)

Changed 10 months ago by Auria

I added a re-make of the 1.1 plugin whose link is broken -- hopefully this one won't get lost.

The installer installs the file to /Library/App Support/Colloquy/PlugIns, but for some reason Colloquy doesn't seem to pick it up even though its docs mention it should. On failure just manually copy the plugin to ~/Library/App Support/Colloquy/PlugIns

Changed 10 months ago by Auria

Changed 4 months ago by peiKiss

None of these version work on Snow Leopard OS X 10.6.3. If someone could make a working badgeplugin it would be really great!

Note: See TracTickets for help on using tickets.