[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Fwd: Re: Division by Zero in Qt progressbar style code.
From:       "F () lk Brettschneider" <gigafalk () yahoo ! com>
Date:       2002-03-22 7:55:44
[Download RAW message or body]

Waldo Bastian wrote:

> FYI, I commited the TrollTech version to qt-copy. (rev 1.17)
>
> ----------  Forwarded Message  ----------
>
> Subject: Re: Division by Zero in Qt progressbar style code.
> Date: Fri, 22 Mar 2002 08:03:49 +0100
> From: qt-bugs@trolltech.com
> To: bastian@kde.org
> Cc: qt-bugs@trolltech.com
>
> Hi Waldo,
>
> > The change below to Qt causes a division by zero when ts == 1. E.g. i> > n all 
> > progressbars with totalSteps() = 1.
> >
> > Changing to:
> > 	tnu = nu = t_s > 1 ? p_v * u / (t_s - 1) : p_v * u;
> >
> > fixes the crash.
> >
> > This bug is grave because it causes the KDE splash screen to crash.
> >
> > RCS file: /home/kde/qt-copy/src/styles/qcommonstyle.cpp,v
> > @@ -727,15 +731,18 @@ void QCommonStyle::drawControl( ControlE

Yes. I've already seen KDevelop-2.1-KDE3 crashing as I pressed the 'Build'
button in the toolbar. Somehow it tried to repaint a progressbar (in the
statusbar) and it often crashed in QCommonStyle like described above (but only
in QtWindows style, KDE default style seems work stable).
IMHO updating qt-copy to a new Qt version just a few days before a major KDE
release isn't a good idea.

Ciao
F@lk



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic