The art of setting text to KStatusNotifierItem

Andriy Rysin arysin at
Sat Aug 7 14:09:33 BST 2010

2010/6/7 Aaron J. Seigo <aseigo at>

> On June 5, 2010, Andriy Rysin wrote:
> > Though now I have one more problem (unrelated to text shadow): if the
> text
> > is wide enough the pixmap generated seems to get bigger than the space
> for
> > the icon in systray, and seems like KStatusNotifierItem does not scale it
> > or clip it but just does not show anything at all... or am I doing
> > something wrong (again :) )?
> hm.. how much bigger is it? it could be that it's painting the top-left
> corner
> of the resulting pixmap. looking at the code, it should be clipping it ...
> alternatively, for whatever reason, in
> kdelibs/plasma/widgets/iconwidget.cpp,
> IconWidgetPrivate::decoration could be returning a null pixmap...
> still there and very easy to reproduce - just go to keyboard config and
change the label for one of the layouts to be long/big, e.g. WW or XXX, the
label will disappear from the tray icon.

I'll try to debug it myself if I have time but any help here is appreciated.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the kde-core-devel mailing list