https://bugs.freedesktop.org/show_bug.cgi?id=45981

Julien Nabet <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW
                 CC|                            |[email protected],
                   |                            |[email protected]

--- Comment #14 from Julien Nabet <[email protected]> ---
Florent: Your trace is really helpful, thank you!
Interesting part is there:
#2  0x00007fffeac8b5a3 in QPaintEngine::drawImage(QRectF const&, QImage const&,
QRectF const&, QFlags<Qt::ImageConversionFlag>) () from
/usr/lib64/libQtGui.so.4
#3  0x00007fffead53802 in ?? () from /usr/lib64/libQtGui.so.4
#4  0x00007fffeaca4027 in QPainter::drawImage(QRectF const&, QImage const&,
QRectF const&, QFlags<Qt::ImageConversionFlag>) () from
/usr/lib64/libQtGui.so.4
#5  0x00007fffecce9c3a in drawImage (this=0x1ca7100, type=<value optimized
out>, part=<value optimized out>, rControlRegion=<value optimized out>,
nControlState=32769, value=<value optimized out>) at
/usr/include/QtGui/qpainter.h:927
#6  KDESalGraphics::drawNativeControl (this=0x1ca7100, type=<value optimized
out>, part=<value optimized out>, rControlRegion=<value optimized out>,
nControlState=32769, value=<value optimized out>

then source code of 3.6 shows this:
    633         paint.drawImage( widgetRect.left(), widgetRect.top(), *m_image,
    634             0, 0, widgetRect.width(), widgetRect.height(),
    635             Qt::ColorOnly | Qt::OrderedDither | Qt::OrderedAlphaDither
);


I noticed the code above is called only if IMAGE_BASED_PAINTING is defined.
Then I read this:
    212 #if QT_VERSION >= QT_VERSION_CHECK( 4, 5, 0 )
    213 #define IMAGE_BASED_PAINTING
    214 #else
    215 #undef IMAGE_BASED_PAINTING
    216 #endif

The problem is api + bt show that drawimage function expects 4 args and we call
with more than that. I must recognize I don't understand or missed something...

Michael/Caolán: any idea?

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to