From kde-core-devel Wed Jan 30 08:21:00 2002 From: Lubos Lunak Date: Wed, 30 Jan 2002 08:21:00 +0000 To: kde-core-devel Subject: Re: [PATCH] Menu's not painted correctly. X-MARC-Message: https://marc.info/?l=kde-core-devel&m=101237928517529 On Wed 30. January 2002 08:17, Waldo Bastian wrote: > Dear friends, > > Last weekends up date of qt-copy has caused the return of the dreaded > "Menubar doesn't get completely painted when application starts up". Not > all applications seems to suffer from it, but the effect can be experienced > in e.g. ksirc. > > The reason that we had to live without this bug for many weeks is the first > attached patch [qmenubar.pacth], courtesy of Lubos Lunak > It should be noted that this patch doesn't really try > to fix this particular bug, it merily seems to do so as a side-effect. > [snip] > > The solution then seems to be to process the resize events before the > calculateRects call in QMenuBar::show() Which leads to the second path > attached [qmenubar2.patch] this does indeed solve the problem for ksirc. > > Please review and include in Qt 3.0.2 > I've already sent an improved version of my qmenubar patch to qt-bugs@ on Jan 7th , the one that was in qt-copy (and attached in your mail) is a bit older. -- Lubos Lunak llunak@suse.cz ; l.lunak@kde.org http://dforce.sh.cvut.cz/~seli