Additionally, I can receive files from the same DCC bot using irssi,
both manually and with  dcc_autoget = on. (I set up a copy of iroffer on
my local machine for testing purposes.) I used this to tentatively
conclude that the problem is on xchat-gnome's end of things.

After toggling the autoreceive settings, it started to work, and I
couldn't get it to fail again. I went back and deleted
~/.xchat2/xchat.conf, and the problem showed itself again. Attached find
a diff between xchat.conf~ (the working version) and xchat.conf (the
broken version).

The difference appears to be that xchat-gnome sets dcc_auto_send to 2 by
default; when the setting is set manually, it's set to 1.
("dcc_auto_send" is a misnomer; it should be called "dcc_auto_receive".)
However, when autoreceive is disabled, it's set to 0, not 2. To sum up:

dcc_auto_send = 0 -> Receive isn't autostarted; confirmation dialog pops up.
dcc_auto_send = 1 -> Receive is autostarted.
dcc_auto_send = 2 -> Receive isn't autostarted; confirmation dialog doesn't pop 
up.

I'm looking into the source now to see why this might be, and what the
right fix is. I'm bearing in mind that we need to maintain compatibility
with xchat--the options in xchat are "never autostart", "always
autostart" and "browse for save folder for each file", so we'll likely
have to seamlessly map the last one to "always autostart" in xchat-
gnome.

** Attachment added: "Diff between working and broken (default) xchat-gnome 
config files."
   http://launchpadlibrarian.net/21065319/xchat.conf.diff

-- 
Autoaccepted DCC transfers fail; manually-accepted ones work.
https://bugs.launchpad.net/bugs/315549
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to xchat-gnome in ubuntu.

-- 
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to