Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 103923

Summary: xchat systray 2.4.5-r2 crashes xchat while detatching query msg and minimizing and restoring
Product: Gentoo Linux Reporter: J <2gunsup>
Component: Current packagesAssignee: Packages in net-irc <net-irc>
Status: RESOLVED UPSTREAM    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: backtrace with full debugging symbols

Description J 2005-08-27 07:59:36 UTC
when i detach a msg query and select minimize under xchat-systray it minimizes
the msg query instead of the main xchat dialog. then when i try to restore
through the xchat systray it closes xchat all together. i am using xchat
2.4.4-r1 and xchat systray 2.4.5-r2

Reproducible: Always
Steps to Reproduce:
1.Run Xchat (make sure you have the systray plugin installed)
2.Connect to a server and /query anyone
3.right click on anyone's name tab and select detach
4.On xchat systray select minimize
5.On xchat systray select restore

Actual Results:  
Xchat closes

Expected Results:  
first instead of minimizing the msg query it shouldve minimized the main xchat
dialog. And when you select restore it shouldve restored the xchat dialog
instead of closing.

i know the xchat version i am using is still masked but im confident that its
the xchat systray ebuild than the xchat one
Comment 1 Sven Wegener gentoo-dev 2005-08-27 09:26:08 UTC
Looking at the source, it looks like xchat-systray issues an "gui hide" command
and xchat treats this as a command to hide the window associated with the active
session, session being a channel/query/whatever. When all sessions are in one
window, this works fine. But when we have multiple windows, we issue an hide
command for a window that is then hidden and the focus goes to another window
that then receives the show command and things get busted.
Comment 2 Sven Wegener gentoo-dev 2005-08-27 09:34:06 UTC
Created attachment 66987 [details]
backtrace with full debugging symbols
Comment 3 Markus Ullmann (RETIRED) gentoo-dev 2007-03-27 09:00:00 UTC
xchat 2.8.1 has support for it, will be in-tree shortly