To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=112102





------- Additional comments from pmla...@openoffice.org Mon Jun 14 15:14:07 
+0000 2010 -------
As Rene already mentioned, it is related to the fix for the issue #107945 and
the code:

--- cut ---
        int size = kapp->style()->pixelMetric(QStyle::PM_LayoutLeftMargin);
        pTempClipRegion = XCreateRegion();
        XRectangle xRect = { widgetRect.left(), widgetRect.top(),
widgetRect.width(), widgetRect.height() };
        XUnionRectWithRegion( &xRect, pTempClipRegion, pTempClipRegion );
        XLIB_Region pSubtract = XCreateRegion();
        xRect.x += size;
        xRect.y += size;
        xRect.width -= 2* size;
        xRect.height -= 2*size;
        XUnionRectWithRegion( &xRect, pSubtract, pSubtract );
        XSubtractRegion( pTempClipRegion, pSubtract, pTempClipRegion );
        XDestroyRegion( pSubtract );
--- cut ---

QStyle::PM_LayoutLeftMargin is 9 in Plastic, so the xRect.height overflow for
too small widgets and X-server is not happy with it.

pTempClipRegion defined are area above the frame border. PM_LayoutLeftMargin
does not work well. I suggest to use PM_DefaultFrameWidth instead.

Also, I suggest to add check for the overflow.

I'll attach a patch that solved the problem here.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@gsl.openoffice.org
For additional commands, e-mail: issues-h...@gsl.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to