http://bugs.winehq.org/show_bug.cgi?id=4729
Summary: Resizing out-of-sync window freezes and then crashes wine. Seen in Photoshop. Product: Wine Version: 0.9.9. Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: wine-programs AssignedTo: wine-bugs@winehq.org ReportedBy: jeff@storago.com
I rated the severity here as major since this completely crashes the application, and causes the entire system to suspend for several seconds.
To reproduce: In Photoshop 7 (and other versions as well) on Wine 0.9.9, and also 0.9.8, and possibly all prior versions, open with default settings, create a new file, grab the bottom edge of the layer palette and pull up to resize. This will cause the crash.
Observations: The buttons normally along the bottom of the layer panel are not showing either. Noting this, I decided to mess around - so I clicked on the "Paths" tab in the same tool palette, and the window instantly expands to a different, longer size, now including the missing buttons! Once i've done this, I can resize the palette - at least for the moment - with no crash. Future adjustments to the number of layers and so forth seem to make it crash prone again. My theory is that Adobe is tracking the size the palette "should" be, and using its own mathematics to figure out the internal arrangement of the layer palettes various parts, but the window Wine has is for some reason at variance in its Height from what Adobe thinks it is. This difference causes perhaps a negative number in the math calculating the resize of the window, and the program enters a negative loop. Possibly some recursion/overflow involved, since it bails out after a few seconds with a complete crash?
This bug is particularly nasty because you can easily lose all your work if you don't save constantly.