[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 59541] Kopete crashes when switching tabs in chatwindow
From:       Olivier Goffart <ogoffart () tiscalinet ! be>
Date:       2003-06-30 20:47:35
[Download RAW message or body]

------- 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());
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic