Pavel Sanda schreef:
Vincent van Ravesteijn wrote:
Juergen, maybe I should apply the patch you didn't like anyway ?

174 // see bug #5957: http://www.lyx.org/trac/ticket/5957 175 if (params.scale == 50) 176 scale += 0.0001;

i think this should be applied; if it was only 4.5.0 thing we could
assume that all sensible distros will quickly went for newer version
without making it stable package. this is no more true with 4.5.2.

have you reported it back to trolltechs?

pavel
I dit now.

Subject
   Crash when scaling to 50%
Steps to reproduce / test case
   #include <QtGui>

   int main(int argc, char** argv)
   {
   QImage image(400,511,QImage::Format_RGB32);
   QMatrix m;
   m.scale(1, 0.5);
   image.transformed(m);
   return 0;
   }
More information
   This program crashes if the scaling is set to exact 0.5 (I can't
   confirm for any other scale) and if the height of the image is some
   odd value (I can't confirm for all odd heights).

   The crash occurs in Qt4.5.0, and Qt4.5.2. Strangely, it didn't show
   up in Qt4.5.1.

Vincent

Reply via email to