[Bug 20164] New: Regression : Icons incorrectly rendered in RSTAB

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Sep 26 05:30:29 CDT 2009


http://bugs.winehq.org/show_bug.cgi?id=20164

           Summary: Regression : Icons incorrectly rendered in RSTAB
           Product: Wine
           Version: 1.1.30
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: winex11.drv
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: max at veneto.com
                CC: thunderbird2k at gmail.com


Created an attachment (id=23761)
 --> (http://bugs.winehq.org/attachment.cgi?id=23761)
Bad (above) and correct (below) behaviour of icons in RSTAB toolbar

this patch :

http://source.winehq.org/git/wine.git/?a=commit;h=004eabfbd398192c0de92bafe1b31381a07d7a9c

caused a regression in RSTAB application, as shown by attached image.

Commenting out XRender code here (in winex11.drv/bitblt.c around line 1440

[code]
    if (useSrc)
    {
        wine_tsx11_lock();
        pixmaps[SRC] = XCreatePixmap( gdi_display, root_window, width, height,
                                      physDevDst->depth );
        wine_tsx11_unlock();

//        if(!X11DRV_XRender_GetSrcAreaStretch( physDevSrc, physDevDst,
pixmaps[SRC], tmpGC,
//                                              widthSrc, heightSrc, widthDst,
heightDst,
//                                              &visRectSrc, &visRectDst))
//        {
            if (fStretch)
                BITBLT_GetSrcAreaStretch( physDevSrc, physDevDst, pixmaps[SRC],
tmpGC,
                                          xSrc, ySrc, widthSrc, heightSrc,
                                          xDst, yDst, widthDst, heightDst,
                                          &visRectSrc, &visRectDst );
            else
                BITBLT_GetSrcArea( physDevSrc, physDevDst, pixmaps[SRC], tmpGC,
                                  &visRectSrc );
//        }
    }

[/code]

makes things working again.

Ciao

Max

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list