Strnage fff-by-one error

Dimitrie O. Paun dpaun at rogers.com
Sun Apr 18 11:23:11 CDT 2004


Folks,

This is weird one. The Winelib build of AbiWord exposes an off-by-one
error. However, the Win32 build of AbiWord works perfectly (without
this very problem) under Wine/ReactOS/Windows. AbiWord builds flawlessly
under Winelib, not even a warning, so my guess one of our constants
is off by one. The bug must appear in their code while building it, 
since our code to execute the Winelib app and the Win32 app is byte
for byte identical.

I've attached a few screenshots to demonstrate what happens when you
open a menu/dialog/etc and then you close it. Namely, the invalidation
(or rather painting) is off by one at right & bottom of the invalidated
rectangle.

-- 
Dimi.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: abiword-with-menu.png
Type: image/png
Size: 41498 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20040418/2e5629c4/abiword-with-menu.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: abiword-after-menu.png
Type: image/png
Size: 27289 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20040418/2e5629c4/abiword-after-menu.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: abiword-after-dialog.png
Type: image/png
Size: 26842 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20040418/2e5629c4/abiword-after-dialog.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: abiword-with-dialog.png
Type: image/png
Size: 19731 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20040418/2e5629c4/abiword-with-dialog.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: abiword-after-many-menus.png
Type: image/png
Size: 33454 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20040418/2e5629c4/abiword-after-many-menus.png


More information about the wine-devel mailing list