xchat disconnect then reconnect loses channel info

Bug #215078 reported by Caroline Ford
30
This bug affects 3 people
Affects Status Importance Assigned to Milestone
xchat (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Binary package hint: xchat

If you disconnect from a server and then reconnect xchat doesn't join any channels, however it does send the nickserv password.

If you have xchat set up to automatically join channels when you connect to a server you get a different behaviour when you reconnect, to if you disconnect then reconnect.

If you have to restart your modem (for example) you will lose your IRC connection. If you choose reconnect (without previously disconnecting) from the menu xchat will rejoin the server, and the channels you have open. You will be logged in as your second choice name.

If you choose to disconnect, and then reconnect xchat will log you in as your first choice name (as the server knew you disconnected) but won't connect you to any channels. A window is displayed with "in the server list window, no channel has been entered to be automatically joined for this network". In both cases you have channels to be joined automatically, in the disconnect-reconnect case it ignores them.

If you have disconnected and want to automatically join channels you have to close the program and restart it. Only then will it join channels automatically.

Revision history for this message
Caroline Ford (secretlondon) wrote :

This is xchat (not xchat-gnome) 2.8.4-0ubuntu7. It is running on hardy beta.

Revision history for this message
Caroline Ford (secretlondon) wrote :
Revision history for this message
Andreas Moog (ampelbein) wrote : Still an issue?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thank you for reporting this bug and helping to make Ubuntu better.
Could you test this with the latest Xchat 2.8.6? I can't reproduce this
behavior. Thank you.

 status incomplete
 subscribe

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkiulzgACgkQ06FgkPZwicRtmwCgz0X4PcmVkjOYE11t5T3IZ0eq
b3IAn3AKj657b8xH5BJjmy2YxQIqfWH5
=Uja/
-----END PGP SIGNATURE-----

Changed in xchat:
status: New → Incomplete
Revision history for this message
Usama Akkad (damascene) wrote :

I have the same problem when I /quit or /discon it disconnects, but if I /reconnect it just connect to the server (for example) irc.freenode and will not connect to the channel that was opened.

Revision history for this message
s.O.f.o.s (sogomaru) wrote :

it is still a bug in 2.8.6 ...
any fixes?

Revision history for this message
Andreas Moog (ampelbein) wrote :

I can't reproduce.

Steps I tried:

1. connected to server, autojoin channel #testchannel.
2. /reconnect - disconnects, connects and joins the channel.
3. restart DSL-Connection, xchat notes connection loss, reconnects with 2nd choice nick and joins the channel.
4. closing xchat, starting xchat, connects to the channel.

Which of those does not work for you?

What does apt-cache policy xchat say?

Changed in xchat (Ubuntu):
importance: Undecided → Low
Revision history for this message
v3rt (v3rt) wrote :

@Andres Moog: To reproduce:

1. Connect to server, autojoin #testchannel.
2. /quit - disconnects.
3. /reconnect - reconnects, does NOT autojoin #testchannel.

Tested on XChat 2.8.7c.

Revision history for this message
Usama Akkad (damascene) wrote :

The steps above are enough to reproduce and you can try the /disconnect command too
this bug have confirmed duplicate in
https://bugs.launchpad.net/ubuntu/+source/xchat/+bug/273853

Daniel T Chen (crimsun)
Changed in xchat (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Alonso Andres (alo-and) wrote :

I was also having this issue and I patched it myself. I posted the patch at http://forum.xchat.org/viewtopic.php?f=5&t=5797

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.