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 Unconfirmed
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category core
  • Assigned To No-one
  • Operating System Linux
  • Severity Medium
  • Priority Normal
  • Reported Version irssi 0.8.14
  • Due in Version Undecided
  • Due Date Undecided
  • Votes 0
  • Private No
Attached to Project: Irssi core bugs
Opened by Elladan (Elladan) - 2009-12-09

FS#725 - window move up/down loses windows

Perform the following operation:

1. /window new
2. Alt-down or otherwise move to the original window
3. /join #foo
4. /window move up

The bottom (original) window is destroyed, and existing channel/window mappings get lost.

This has been driving me nuts for years, so I finally broke down and fixed it.

Please see attached patch to fix this bug.

This task does not depend on any other tasks.

Elladan (Elladan)
Monday, 14 December 2009, 06:42 GMT
That patch wasn't quite safe. You could get it to segfault with the following sequence:

1. Create some windows
2. /window kill in the top window
3. alt-up/down

The up/down would emit a signal, but the active_window would be NULL.

The attached (ugly) patch seems to fix it. I didn't see any crashes, and /window move up/down worked.

Loading...