From kde-devel Tue Jul 16 18:01:47 2002 From: David Faure Date: Tue, 16 Jul 2002 18:01:47 +0000 To: kde-devel Subject: Re: kaboodle bug (Re: Problem when embedding ReadOnly parts) X-MARC-Message: https://marc.info/?l=kde-devel&m=102684259704138 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday 16 July 2002 19:37, Björn Sahlström wrote: > On Tuesday 16 July 2002 16.47, David Faure wrote: > > I don't know why it crashes. But according to the code in > > componentfactory.h, the problem is that kaboodle doesn't provide a > > KParts::Factory (so it goes to the "error" case, which unloads the > > library). Actually, I was wrong - looking at kaboodle_factory shows that it obviously uses KParts::Factory. I see nothing wrong in kaboodle about this, at first sight. Especially since it loads fine in e.g. Konqueror.... I don't know why the dynamic_cast fails. You need to investigate (what's the type of 'factory' - use typeid(*factory).name() to find out, or factory->className(), also, check whether the KaboodleFactory is actually created or not. > Is there any good way to work around this ? Were should i look ? I need a > generic way to handle all mimetypes since I don't want to distinguish between > them. I can't wait for this to be fixed since I want KBear to work with all > 3.x.x. Yeah you want it all, and you want it now ;) First find the real bug, then think about the workaround. Not the other way round. - -- David FAURE, david@mandrakesoft.com, faure@kde.org http://people.mandrakesoft.com/~david/ Contributing to: http://www.konqueror.org/, http://www.koffice.org/ KOffice-1.2-beta2 is out! http://dot.kde.org/1025176121/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9NF+N72KcVAmwbhARAlX/AJ0W2cQBgqfDTyC448sNjVss2RO26QCfQa3Z gx1w9FDQg2YaFR/WUKFBur4= =3Oq+ -----END PGP SIGNATURE----- >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<