Bug 57230

Summary: behaviour of shared library libtaskbar.so is unpleasant
Product: [Plasma] kwin Reporter: psane <sane_purushottam>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: RedHat Enterprise Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description psane 2003-04-14 20:44:35 UTC
Version:            (using KDE KDE 3.1.1a)
Installed from:    RedHat RPMs
OS:          Linux

I  am writing a plugin framework which has nothing to do with KDE (or any other window manager for that matter). My framework tries to open all the shared libraries in the directory it is pointed to. After loading the shared object, it looks for the libraries using my framework. If the loaded library is not written with the framework, it immediately closes it. I pointed this application to /usr/lib directory, since some of my plugins reside there. libtaskbar.so terminated my application with message "QPaintDevice: Must construct a QApplication before a QPaintDevice".

I have fair idea what's happening here. There's some code in the _init routine within libtaskbar.so is determining that it's not loaded within right context and hence (must be) calling abort.

I don't think this is the right way to handle things. Merely loading this library should not terminate (any) application.
Comment 1 Lubos Lunak 2003-04-14 20:58:35 UTC

*** This bug has been marked as a duplicate of 56251 ***