Bug 138295 - pygtk gtk.StatusIcon hide/show gives blank space in KDE systemtray
Summary: pygtk gtk.StatusIcon hide/show gives blank space in KDE systemtray
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kicker
Classification: Plasma
Component: systemtray (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Aaron J. Seigo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-03 15:05 UTC by Mathias Nedrebø
Modified: 2009-09-08 00:01 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
reproducer written in python (1.45 KB, text/plain)
2006-12-05 22:28 UTC, John Dennis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mathias Nedrebø 2006-12-03 15:05:12 UTC
Version:            (using KDE KDE 3.5.5)
Installed from:    Unlisted Binary Package
Compiler:          gcc Precompiled binary from Arch Linux, not sure what gcc version, but at least 4.0 or higher
OS:                Linux

When creating a gtk.StatusIcon in pygtk it shows up in the system as normal. But if I invoke the set_visible(False) method the icon is supposed to disappear and the free space should collapse. The icon disappears, but it leaves a blank space. Then, if i invoke set_visible(True) the icon does not reappear. I'm not sure where to fill this bug, but as this does not seem to happen in the Gnome tray, XFCE tray or the Pypanel tray, I felt this was the right place. I have made a little program(34 lines) demonstrating this bug, you need (at least) gtk 2.10 for the program to run, as gtk.StatusIcon is a new feature in that version. You can download the program from here: http://www.nedrebo.org/traytest.demo
Comment 1 John Dennis 2006-12-05 22:28:51 UTC
Created attachment 18806 [details]
reproducer written in python

I'm seeing the same problem. Attached is a simple reproducer. You can give it a
command line argument -c for count, for how many times to iterate, by default
it iterates once. The first time the icon is displayed, all subsequent times it
isn't.

Also, I've seen unsual scaling of the icon, sometimes its big, sometimes small,
sorry, but I can't figure out what the exact pattern of the funny scaling is,
other than perhaps first time displayed in a session (?).
Comment 2 John Dennis 2006-12-05 22:32:43 UTC
Opps, sorry, I forgot to add the reproducer test program works in gnome.
Comment 3 Tim 2007-01-17 11:14:38 UTC
I'm seeing the same problem too. It would be great if it can be fixed in KDE-3.5.6 upstream release. Thanks
Comment 4 dexter 2007-04-20 05:13:08 UTC
Both test programs still show the broken behavior in 3.5.6-3.fc7 Fedora.
 
Comment 5 Tim 2007-05-02 18:51:30 UTC
it's not fixed in the KDE-3.5.6. Aaron, it would be great if the bug could be fixed in next KDE-3.5.7. Thanks

Comment 6 Garry Williams 2007-09-22 19:26:36 UTC
*** This bug has been confirmed by popular vote. ***
Comment 7 matsei 2009-04-13 17:54:11 UTC
I just ran the reproducer, and it works ok in 4.2.2 (icons flicker with what looks like either garbage or unrelated icons, but that clears itself up quickly). Works just fine on a fairly recent trunk build (no flicker or temporary garbled icons).
Maybe this should be closed?
Comment 8 FiNeX 2009-09-08 00:01:50 UTC
Kicker is no more mantained and all bugs/wishes will not be fixed/implemented in KDE3. A list of the most interesting/unresolved issues which is still valid for KDE4 has been created. Before reopening old kicker bugs on KDE4 Plasma, please try the new KDE 4.3.1, check the current behaviour and, only if you find new bugs or if you need a particular feature, open a new bug report.

Remember that KDE 4 is a full rewrite of KDE 3 so some old features will not be re-implemented because the behaviour has be changed a lot on some sides.

Thanks for the comprehension and enjoy the new KDE 4!

-- 
FiNeX & D. Andres