[PATCH] Ghost Shadows

Till Krech till at snafu.de
Sat Oct 5 10:45:02 BST 2002


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 ?

regards, Till
-- 
Till Krech from Berlin, Germany is happy with
SuSE Linux 8.0 (i386) 2.4.18-64GB-SMP * KDE: 3.0.8 (KDE 3.1 beta2)
Qt: 3.1.0-b2 * gcc version 3.2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdelibs-kdefx-kstyle.diff
Type: text/x-diff
Size: 594 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20021005/08b17ee7/attachment.diff>


More information about the kde-core-devel mailing list