KDE 4.2 Plasma (Panel & Widgets) crash

I just upgraded from KDE 4.1.3 to KDE 4.2, on openSUSE 11.1. Initial session was okay, but after logging in second time and trying to add a ‘widget’ to the panel (after unlocking it), the panel crashed and all the panel icons and widget got spread out over the desktop.

I tried this script as recommended by some on this forum, but did not help:

kquitapp plasma && rm ~/.kde4/share/config/plasma* && plasma &  

How can the Panel & Widgets be repaired ?

OK So you are trying 4.2 again.

Logout to CLI and do rename of the .kde4

mv /home/username/.kde4 .kde4_old

Prior to trying a reinstall (moving the .kde4 directory, which I had already done once before), I tried out the following, as somebody had earlier reported success with it (Suse screw up my panel? - openSUSE Forums).

The code and results are in the box below-


user@linux-4a48:~> kquitapp plasma
user@linux-4a48:~> rm ~/.kde4/share/config/plasma-appletsrc
user@linux-4a48:~> plasma &                                
[1] 4516                                                      
user@linux-4a48:~> plasma(4519)/libplasma Plasma::AppletPrivate::mainConfigGroup: requesting config for "Plain Desktop" without a containment!                                                                                                                         
plasma(4519)/libplasma Plasma::AppletPrivate::mainConfigGroup: requesting config for "Panel" without a containment!                  
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout                                                      
plasma(4519)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/kde4/services/sysinfo.protocol"  has Type= "Application"  but no Exec line                                                                                                     

Unrecognized character: /
Unrecognized character: /
ERROR: syntax error      
plasma(4519)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(-2, -1) 
plasma(4519)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(-2, -1) 
plasma(4519)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(-2, -1) 
Object::connect: Attempt to bind non-signal TaskManager::TaskGroup::editRequest() 
Object::connect: Attempt to bind non-signal TaskManager::TaskGroup::editRequest() 
QCoreApplication::postEvent: Unexpected null receiver                             
plasma(4519)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 18)  
plasma(4519)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0)   
plasma(4519)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 18)  
plasma(4519)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0)   
plasma(4519)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 18)  
plasma(4519)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0)   
plasma(4519)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 18)  
plasma(4519)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0)   
plasma(4519)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(-16, 18) 
plasma(4519)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0)    
plasma(4519)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(-16, 18) 
plasma(4519)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0)
QGraphicsLayout::addChildLayout: layout already has a parent
QGraphicsLayout::addChildLayout: layout already has a parent
user@linux-4a48:~> link g3502 hasn't been detected!
link g3502 hasn't been detected!
link g3502 hasn't been detected!
Couldn't resolve property: linearGradient3679
Couldn't resolve property: linearGradient3681
Couldn't resolve property: linearGradient3941
Couldn't resolve property: linearGradient5184
Couldn't resolve property: linearGradient4745
Couldn't resolve property: radialGradient5077
Couldn't resolve property: linearGradient4636
Couldn't resolve property: linearGradient4592
Couldn't resolve property: linearGradient4247
plasma(4519)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 18)
plasma(4519)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0)
plasma(4519)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 18)
plasma(4519)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0)
plasma(4519)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 18)
plasma(4519)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0)
plasma(4519)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 18)
plasma(4519)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0)
plasma(4519)/libplasma Plasma::AppletPrivate::mainConfigGroup: requesting config for "Network Management" without a containment!
QDBusObjectPath: invalid path ""
plasma(4519)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(-16, 18)
plasma(4519)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0)
plasma(4519)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(-16, 18)
plasma(4519)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0)
QCoreApplication::postEvent: Unexpected null receiver
plasma(4519)/libplasma Plasma::AppletPrivate::mainConfigGroup: requesting config for "Network Management" without a containment!
*
[cursor stops here...press 'Enter' (Carriage return)]*

[1]+  Done                    plasma
user@linux-4a48:~>

This restored a basic panel & then I was able to add the extra shortcuts & widgets as before.

PS:
What the user has to enter at cmd prompt is in blue text.