Linked by Eugenia Loli-Queru on Sun 5th Mar 2006 01:54 UTC, submitted by Dylan
Permalink for comment 101445
To read all comments associated with this story, please click here.
To read all comments associated with this story, please click here.





Member since:
2005-07-06
Also, sometimes the break is elsewhere. For example, WinRAR quit working with WINE due to increased checking in X11. WinRAR tries to open an offscreen bitmap to hold toolbar icons; it tries to make it huge in case the person (idiot) adds an insane number of icons to the toolbar, so it asks for a bitmap just under 33000 pixels wide. X11 only allows bitmaps to be 32767 wide since all coordinates in X11 are a 16bit word.
Now under old versions of X11, it never checked if the bitmap asked for was too large - it simply made it. New versions check the boundaries and fail if they are greater than 32767. So now when WinRAR tries allocate its bitmap, it fails causing WinRAR to fail where it used to work.
The WINE folks and the XOrg folks have been arguing over who needs to fix what. The XOrg folks think that the WINE folks should make some kind of work-around for huge bitmaps, and the WINE folks think the XOrg folks should allow bitmaps to be created at any size.