Irssi core bugs

Notice: Undefined index: tasklist_type in /var/www/bugs.irssi.org/includes/class.tpl.php(128) : eval()'d code on line 85 Notice: Undefined index: tasklist_type in /var/www/bugs.irssi.org/includes/class.tpl.php(128) : eval()'d code on line 90
  • Status New
  • Percent Complete
    0%
  • Task Type Support Request
  • Category
  • Assigned To No-one
  • Operating System
  • Severity Low
  • Priority Normal
  • Reported Version
  • Due in Version Undecided
  • Due Date Undecided
  • Votes 0
  • Private No
Attached to Project: Irssi core bugs
Opened by Rado Q (Rado) - 2006-10-14
Last edited by Wouter Coekaerts (coekie) - 2006-11-02

FS#464 - server connection msgs go to 2 windows rather than just 1 or many more

I've setup 1 window per server with this setting:

immortal = "yes"; level = "SNOTES WALLOPS"; name = "-o-"; servertag = "oftc";

"name" + "servertag" vary per server.
Now, when OFTC reconnects, the msgs generated appear in its window as expected.
When all the other networks/ servers reconnect like freenode, undernet, quakenet, ircnet, then for each of them their msgs appear in the last of such defined windows.

Now, if _all_ including OFTC would be munged into 1 window, I'd assume "feature of separate server msgs" is not intended/ supported.
But given that it works for OFTC _only_, it appears to me as if generally separating by server _is possible_, only that the other servers are treated differently somehow.

What can I do to investigate this further with my 0 knowledge of irssi code?! :-)

This task does not depend on any other tasks.

Wouter Coekaerts (coekie)
Tuesday, 24 October 2006, 16:13 GMT
are those servers really active in those other windows? (see /window)
do the others have an item (query, channel) in them?
Rado Q (Rado)
Tuesday, 24 October 2006, 17:08 GMT
- 1 local server, not active, no items.
The munged output from all non-working servers mostly comes here.
It's the last #88.
- IRCnet, no items, has been disconnected occasionally for longer periods. I don't remember anymore whether the munged output went here occasionally, too, when it was inactive/ reconnecting at that time.
This is #87.
- dal + ef, have items, but not active, #85 + #86
- quake+freenode+undernet have items and are active, #84,#82,#83
- oftc (the only working server+window) is active but has no items. #81

Working window:
Window : #81
Name : -o-
Size : 150x52
Immortal: yes
Level : SNOTES WALLOPS
Server : oftc (sticky)

The non-working windows are the same, except they have items (or non for IRCnet, which doesn't work either). Names are '-X-' with X per network.
Rado Q (Rado)
Tuesday, 24 October 2006, 20:32 GMT
Now that I witnessed a reconnect _LIVE_, I get the impression irssi takes the _last_ accessed server window for all servers but oftc, while oftc's reconnect messages _always_ go to its own.
OR, it was all the times just pure luck, but it was far too often (~20 times and always oftc works while the others write to a random /last active server window).
Wouter Coekaerts (coekie)
Friday, 27 October 2006, 11:11 GMT
windows that don't have items get prefered for such messages over windows that have items. So "except they have items" explains that.
Also, make sure the server is set *sticky* in those windows too. (/window server -sticky <tag>)
Rado Q (Rado)
Friday, 27 October 2006, 12:04 GMT
Update:
oftc is _not_ the only window without items! IRCnet is without items, too, still the server msgs don't remain there.

Au contraire, I actually learned that I can reproduce it simply by /disconnect + /connect. -u- for UnderNet was active window, it has query items in it, still IRCnet's msgs appeared _there_ in -u-!!!

As already said (although not clearly, sorry), all servers are set sticky in their window.
Wouter Coekaerts (coekie)
Thursday, 02 November 2006, 10:48 GMT
Right, I can reproduce it here. Don't know yet why it happens though.

Loading...