System tray problems in HEAD
Aaron J. Seigo
aseigo at olympusproject.org
Mon Feb 24 20:27:47 GMT 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Monday 24 February 2003 05:03, Lubos Lunak wrote:
> > problem is that mod.stackingOrder().last() NEVER equals pw->winId... i'm
> Obviously ... the topmost window in the stacking order is usually Kicker.
right, so the widget associated with the system tray icon is *always* raised
and never hidden when this code branch is executed.
if the widget isVisible (e.g. not hidden, but somewhere on the current
desktop) and kicker is the topmost window then it will set the widget
associated with the systray icon as the active window. this happens even when
that widget is clearly the topmost window, is plainly visible, even has
keyboard focus.
in other words, clicking on the system tray icon does not hide it.
in the words of monty python, "this is a dead parrot!"
> > the top-most windw on the desktop. no matter what, though, it always
> > evaluates to true and the window is ALWAYS raised. even if it is plainly
> > visible; even if the window in question has keyboard focus!
>
> And why exactly is this problem?
because it shouldn't be raised, it should be hidden. the systray isn't working
because it never hides the widget.
> Raising a window that cannot be raised
> more should be a no-op.
fine, but it still doesn't hide it ;-)
> The code in KSystemTray::toggleMinimizeRestore()
> looks strange to me anyway (for example the hide()+show() combo). Does it
> work better with the attached patch?
no, it still doesn't work and for the same reasons.
- --
Aaron J. Seigo
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43
KDE: The 'K' is for 'kick ass'
http://www.kde.org http://promo.kde.org/3.1/feature_guide.php
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+WoBE1rcusafx20MRApVxAKCwhY/k2dwKbDqTlh2utTpm6JgLbQCeIjXo
+DjjpTGC7HxQCinIX3yxw2I=
=ztLD
-----END PGP SIGNATURE-----
More information about the kde-core-devel
mailing list