• Bug#265924: libqt3c102-mt: setBackgroundOrigin(AncestorOrigin) fails wi

    From Luke Kenneth Casson Leighton@1:229/2 to All on Sun Aug 15 21:30:11 2004
    From: [email protected]

    Package: libqt3c102-mt
    Version: 3:3.3.91-0+cvs20040706
    Severity: normal


    i found a code fragment in superkaramba that indicates a bug in
    libqt3:


    void Systemtray::updateBackgroundPixmap ( const QPixmap & pixmap)
    {
    TrayEmbed *emb;
    setPaletteBackgroundPixmap (pixmap);
    for (emb = m_Wins.first(); emb != 0L; emb = m_Wins.next()) {

    //Stupid stupid stupid work around for annoying bug
    //TrayEmbed ignores setBackgroundOrigin(AncestorOrigin)....
    QPixmap bug = QPixmap(emb->size());
    bitBlt(&bug, 0, 0, &pixmap,
    emb->parentWidget()->x()+emb->x(),
    emb->parentWidget()->y()+emb->y(),
    emb->width(), emb->height(),Qt::CopyROP, false);
    emb->setPaletteBackgroundPixmap (bug);

    }

    QPoint topPoint = mapToGlobal(QPoint(0,0));
    Window hack = XCreateSimpleWindow(qt_xdisplay(), winId(), 0,0,
    width(), height(), 0, 0, 0);
    XRaiseWindow(qt_xdisplay(), hack);
    XMapWindow(qt_xdisplay(), hack);
    XUnmapWindow(qt_xdisplay(), hack);
    XDestroyWindow(qt_xdisplay(), hack);
    }


    thought you might want to know.

    -- System Information:
    Debian Release: testing/unstable
    Architecture: i386
    Kernel: Linux highfield 2.6.7-selinux1 #4 Fri Aug 6 10:18:54 BST 2004 i686 Locale: LANG=C, LC_CTYPE=C

    Versions of packages libqt3c102-mt depends on:
    ii fontconfig 2.2.1-13 generic font configuration library ii libaudio2 1.6b-1 The Network Audio System (NAS). (s ii libc6 2.3.2.ds1-13 GNU C Library: Shared libraries an ii libfontconfig1 2.2.1-13 generic font configuration library ii libfreetype6 2.1.7-2 FreeType 2 font engine, shared lib ii libgcc1 1:3.4.1-4 GCC support library
    ii libice6 4.3.0.dfsg.1-6 Inter-Client Exchange library
    ii libjpeg62 6b-9 The Independent JPEG Group's JPEG ii libmng1 1.0.5-1 Multiple-image Network Graphics li ii libpng12-0 1.2.5.0-6 PNG library - runtime
    ii libsm6 4.3.0.dfsg.1-6 X Window System Session Management ii libstdc++5 1:3.3.4-2 The GNU Standard C++ Library v3
    ii libx11-6 4.3.0.dfsg.1-6 X Window System protocol client li ii libxext6 4.3.0.dfsg.1-6 X Window System miscellaneous exte ii libxft2 2.1.2-5 FreeType-based font drawing librar ii libxrandr2 4.3.0.dfsg.1-6 X Window System Resize, Rotate and ii libxrender1 0.8.3-5 X Rendering Extension client libra ii libxt6 4.3.0.dfsg.1-6 X Toolkit Intrinsics
    ii xlibs 4.3.0.dfsg.1-6 X Window System client libraries m ii zlib1g 1:1.2.1-3 compression library - runtime

    -- debconf-show failed



    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)