Systray problem

Andras Mantia amantia at kde.org
Thu Oct 23 09:12:23 BST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

There is another problem with Systray: the keyboard layout indicator appears 
on the upper left corner of the screen instead of the systray...

Andras

On Wednesday 22 October 2003 21:40, Andras Mantia wrote:
> Hi,
> 
>  I noticed some possible bug in the systray after today's update. For 
example
> the KPPP icon in the systray appears after the first successful connection,
> but it doesn't appear anymore after disconnectin/reconnecting and I get some
> X errors like:
> X Error: RenderBadPicture (invalid Picture parameter) 168
>   Major opcode:  152
>   Minor opcode:  8
>   Resource id:  0x4000159
> 
> 
> Looking at the code I realized that KPPP has a widget which inherits
> KSystemTray and the connection icons are drawn in this widget's paintEvent
> and the errors are coming when it draws the pixmaps with bitblt. It works
> correctly until this widget is hidden and shown again. And this is what KPPP
> does:
> - created the KSystemTray widget
> - show when connected
> - hide when disconnected
> - show again when connected and so.
> 
> If I change the KPPP code to delete the widget instead of hiding it and 
create
> it again before showing it works as before, no problems. But I believe it's
> still more a workaround than a fix, but if it doesn't get fixed in kdelibs I
> will commit the attached changes to KPPP.
> 
> Andras
> 
> --
> Quanta Plus developer - http://quanta.sourceforge.net
> K Desktop Environment - http://www.kde.org
> 

- -- 
Quanta Plus developer - http://quanta.sourceforge.net
K Desktop Environment - http://www.kde.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQE/l41rTQdfac6L/08RArwxAKDnLIgAUtzSyZduY+YXC/M6hrb3XQCg5zDc
HKbauNdR0G3z1pvUcevUUjc=
=JGCp
-----END PGP SIGNATURE-----




More information about the kde-core-devel mailing list