Description of problem: While trying to get on an IRC server and automatically have it join channels for me, I noticed that the last few channels in the list/string wasn't being joined properly. There was no indication as to why this was the case, so I ended up digging into source :P Version-Release number of selected component (if applicable): xchat-2.0.9-1 How reproducible: Always Steps to Reproduce: 1. Start X-Chat 2. X-Chat -> Server List 3. In the Join Channels: dialog, enter a list of channels (#channelname,#channel2,#channel3) and so on 4. Make it exceed 202 characters - there is no visual feedback that the string limit is 202 characters, it allows you to type till more 5. So I go on typing, and get to 209 characters 6. When it connects to the server, it just cuts off everything after 202 characters. And there is no error message as to why this is done. So joing a channel like #fedora-devel, can become #fed and thats it Actual results: Last channel in the 202 limit gets its string cut off (like #fedora-devel becomes #fed where, the 'd' is char #202). Channels afterward just don't show as being automatically joined, and now I have to manually join them Expected results: It joins all my channels in the Join Channel: list Additional info: Seems src/common/xchat.h has a hard defined limit at 202 - who decided on this arbritrary number ? Attached is a patch to rebuild it, at a limit of 300. Why did I choose 300? Because on a standard 1024x768 display, that seems like a good average. Otherwise, there must be a visible limit, and the user must get feedback that the limit exists while entering information into the Join Channels: dialog
Created attachment 101576 [details] new chanlen limit patch
Created attachment 101577 [details] new spec file for rebuilding
This should probably be submitted to the xchat author directly, in case there is a specific reason the code has this limit.
This has been migrated upstream: http://sourceforge.net/tracker/index.php?func=detail&atid=100239&aid=1002292&group_id=239