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

List:       kdevelop-bugs
Subject:    [Bug 194035] Crash after closing tab with image
From:       Andreas Pakulat <apaku () gmx ! de>
Date:       2009-05-25 15:05:45
Message-ID: 20090525150545.D5A661658D () immanuel ! kde ! org
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=194035


Andreas Pakulat <apaku@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #4 from Andreas Pakulat <apaku gmx de>  2009-05-25 17:05:43 ---
SVN commit 972747 by apaku:

Allow to disable ownership of the created widget in Sublime::View. This
is apparently needed for some KParts to work properly as they expect to
keep the onwership of their widgets (and react very badly if the widget
is deleted before the kpart itself).

However Kate's document/view setup doesn't seem to have such a problem
and here we probably need to delete the widgets ourselves. So take
ownership for Text documents, but not for Part documents.

Note: I didn't valgrind this, so it might create a leak with some
kparts, but in that case I think the error is in the kpart which should
take ownership of its widget.
BUG:194035

 M  +1 -1      shell/textdocument.cpp  
 M  +4 -2      sublime/view.cpp  
 M  +5 -1      sublime/view.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=972747

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

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