Bug 241459

Summary: Excessive messages output by plasma-desktop
Product: [Plasma] plasma4 Reporter: Laurent Bonnaud <L.Bonnaud>
Component: widget-kickoffAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: mgraesslin, notmart
Priority: NOR    
Version: 4.5 and older   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: output of the command plasma-desktop

Description Laurent Bonnaud 2010-06-11 19:33:16 UTC
Version:           CVS (using Devel) 
OS:                Linux

Hi,

I started plasma-desktop in a terminal and each time I put the mouse pointer on the K menu, more than 1000 error messages are displayed in the terminal.  Here is a sample:

QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::save: Painter not active
QPainter::scale: Painter not active
QPainter::save: Painter not active
QPainter::worldTransform: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::worldTransform: Painter not active
QPainter::setWorldTransform: Painter not active
QPainter::brush: Painter not active
QPainter::setBrush: Painter not active
QPainter::pen: Painter not active
QPainter::pen: Painter not active
QPainter::setPen: Painter not active
QPainter::opacity: Painter not active
QPainter::brush: Painter not active
QPainter::pen: Painter not active
QPainter::setPen: Painter not active
QPainter::setOpacity: Painter not active
QPainter::setPen: Painter not active
QPainter::setOpacity: Painter not active
QPainter::setBrush: Painter not active
QPainter::setPen: Painter not active
QPainter::setWorldTransform: Painter not active
QPainter::restore: Unbalanced save/restore
QPainter::save: Painter not active
QPainter::worldTransform: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setRenderHint: Painter must be active to set rendering hints

This would quickly produce an enormous ~/.xsession-errors file!


Reproducible: Always

Steps to Reproduce:
1. kill plasma-desktop (or wait for it to crash :>)
2. start plasma-desktop in a terminal
3. put the mouse pointer on the K menu


Actual Results:  
more than 1000 error messages are displayed


Expected Results:  
0 error message
or 1 error message if something is really wrong


This is with KDE SC 4.5 beta2 in Ubuntu lucid.
Comment 1 Christoph Feck 2010-06-12 19:01:17 UTC
"each time I put the mouse pointer on the K menu"

Do you mean after clicking on the K icon, or just hovering over the K icon?
Comment 2 Laurent Bonnaud 2010-06-14 12:51:52 UTC
Hovering over the K icon is enough to trigger the error messages.
Comment 3 Marco Martin 2010-06-14 20:20:35 UTC
is the icon correctly painted?
does the highlight animated effect work?
Comment 4 Laurent Bonnaud 2010-06-16 08:27:02 UTC
Yes and yes.

Similar error messages are also displayed when hovering above the clock, too.
Comment 5 Giorgos Tsiapaliokas 2010-12-30 14:23:54 UTC
Created attachment 55378 [details]
output of the command plasma-desktop

@Laurent Bonnaud

are u still facing the same issue?

i tried to reproduce the bug but i couldn't.in the attachment there is a file with the output of the commands killall plasma-desktop && plasma-desktop.
i saw some other errors,but not these that were mentioned above.

my box's specifications are,

Qt: 4.7.1
KDE Development Platform: 4.5.4 (KDE 4.5.4)
os:gentoo ~amd64
Comment 6 Martin Flöser 2011-12-08 20:29:40 UTC
we need to know whether this is still an issue in a recent version, e.g. 4.7.4.
Comment 7 Myriam Schweingruber 2012-05-17 11:27:41 UTC
Closing for lack of feedback. Please feel free to reopen this report if you can still reproduce this with KDE 4.8.3 or later.
Comment 8 Laurent Bonnaud 2012-10-05 20:32:57 UTC
With KDE 4.9 plasma displays much less error messages.  Thanks for the fix!