[PATCH] Ghost Shadows

Karol Szwed gallium at iprimus.com.au
Mon Oct 7 15:09:57 BST 2002


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

Till Krech <till at snafu.de> wrote:
>Hi,
>
>since yesterday evening the menu shadows remain on top of the screen if "Drop 
>Menu Shadows" is enabled. This is rather strange (and ugly ;).
>In kdelibs/kdefx/kstyle.cpp where these shadows are handled. I can see that 
>the function TransparencyHandler::createShadowWindows is called _twice_ but 
>TransparencyHandler::removeShadowWindows is called only once.
>The problem is that the QPopupmenu gets two QEvent:Show events.
>It seems to be unrelated to the chosen style. Happens with KDE default style 
>as well as with keramik.
>
>The atached Patch fixes the problem. Ok to commit ?

Can we try to find the cause of this bug instead of patching the adverse 
effects? This is a Qt introduced problem that is affecting more than just 
menu shadows. I suggest turning them off until Qt is fixed.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9oZW5oLuHAsOLrzIRAlUjAJsEJdQYB6Lx9rQ5xR+OvCgJ4uWHmwCeIbhT
XsCXTvkHpLLIqzkSEU5tUx4=
=XzUX
-----END PGP SIGNATURE-----





More information about the kde-core-devel mailing list