stickster/irssi-libnotify

Notifications shouldn't appear if the irssi window has focus.

GoogleCodeExporter opened this issue · 5 comments

What steps will reproduce the problem?
1. Give the irssi window focus
2. Have someone say your name
3. Notifications will appear.

What is the expected output? What do you see instead?
Since the window has focus, all that should happen is that the nick of the
person who said your name should be highlighted (standard irssi behaviour).
However, instead, a libnotify popup appears. This can be somewhat annoying,
especially if it covers the irssi window.


What version of the product are you using? On what operating system?
0.1 from svn. Ubuntu Gutsy.


Original issue reported on code.google.com by graham.b...@gmail.com on 11 Oct 2007 at 11:55

This is very useful when using bitlbee with irssi.

Not sure if the script is still in development

Original comment by lainme...@gmail.com on 24 Feb 2011 at 11:56

This should be much less an annoyance if (1) you're running GNOME 3, and you 
use the version now in trunk.  Refer to the README.txt for more information.

I'll keep this issue open for a little while so you can try the new version and 
see if it makes your life a little better.

Original comment by sticks...@gmail.com on 2 Mar 2012 at 2:02

irssi doesn't have any way of knowing about the window it's running in. It's a 
command line application which you're running from either an SSH session, a 
putty client window, a terminal, etc. You would have to add a custom hook into 
your GUI to trigger something in irssi which tells it that it has come into 
focus.

Original comment by chrisjoh...@gmail.com on 6 Jan 2012 at 6:47

OK, not having seen any further input here, I'm going to close this as wontfix. 
 There are some complicated hacks I could add for this, but they'd be ugly and 
very fragile.

Original comment by sticks...@gmail.com on 29 May 2012 at 5:38

  • Changed state: WontFix
Also, chrisjohnson0 correctly diagnosed the problem.  It's difficult enough 
that I'm not likely to invest a lot of time into fixing it myself -- I use it 
the exact same way as you guys.  GNOME 3 has pretty much solved the problem for 
us with better notifications, thankfully.

And one more thing -- sorry for being so slow at responding here.  I've had 
very little time to code on my own fun projects lately.  I'll try to do better, 
since I have some other additional helpful features I want to add to this code 
shortly.

Original comment by sticks...@gmail.com on 2 Mar 2012 at 2:04