From kde-bugs-dist Mon Jun 30 20:47:35 2003 From: Olivier Goffart Date: Mon, 30 Jun 2003 20:47:35 +0000 To: kde-bugs-dist Subject: [Bug 59541] Kopete crashes when switching tabs in chatwindow X-MARC-Message: https://marc.info/?l=kde-bugs-dist&m=105700614527499 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. http://bugs.kde.org/show_bug.cgi?id=59541 ogoffart@tiscalinet.be changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED ------- Additional Comments From ogoffart@tiscalinet.be 2003-06-30 22:47 ------- Subject: kdenonbeta/kopete/kopete/chatwindow CVS commit by ogoffart: CCMAIL: 59541-done@bugs.kde.org I Had aproximatively the same backtrace when I ported the Action menu to KXMLGUI. #7 0x40811fca in KXMLGUIFactory::removeClient () from /usr/lib/libkdeui.so.4 #8 0x40811955 in KXMLGUIFactory::addClient () from /usr/lib/libkdeui.so.4 The factory does not allow you to have a client connected to two different UI so it remove to one in the previous window. But the previous chatwindow does not exist anymore. I hope this patch fix this bug. M +1 -0 kopetechatwindow.cpp 1.21 --- kdenonbeta/kopete/kopete/chatwindow/kopetechatwindow.cpp #1.20:1.21 @@ -674,4 +674,5 @@ void KopeteChatWindow::slotDetachChat( i //if we don't do this, we might crash + createGUI(0L); guiFactory()->removeClient(detachedView->msgManager());