URL:
<http://savannah.gnu.org/bugs/?22261>
Summary: Window turns black during resizing on Win32/MINGW
when GSBackHandlesWindowDecorations==TRUE
Project: GNUstep
Submitted by: carmstrong
Submitted on: Saturday 09/02/08 at 01:23
Category: Backend
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
On a MINGW target, the contents of a window turns black during resizing,
staying black during the resize (even if you don't move the mouse). It
restores the contents of the window after the resize.
This only occurs when the user default GSBackHandlesWindowDecorations is set
to 'TRUE' or '1'.
Environment:
gnustep-startup-0.19.0 (includes gnustep-back-0.13.0, gnustep-gui-0.13.0)
MINGW (MSYS 1.0.11)
Steps:
1. Setup on a MINGW target
2. Set the user default GSBackHandlesWindowDecorations to true i.e.:
defaults write NSGlobalDomain GSBackHandlesWindowDecorations 1
3. Startup a GNUstep application (I have been testing with Gorm). The windows
in the application should have native window decorations (not drawn by
GNUstep).
4. Position the mouse cursor over a window edge and then click down the mouse
button. The window should turn black.
5. Release the mouse button. The window will restore its contents.
6. Repeat step 4 & 5, but drag the mouse around to resize the window. The
results should be the same.
Attached is a patch that corrects the problem. This patch operates by setting
a flag whenever the backing store is flushed and needs redrawing.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Saturday 09/02/08 at 01:23 Name: gnustep-back-0.13-blackwindows.patch
Size: 3kB By: carmstrong
A patch against gnustep-back 0.13 that corrects the problem.
<http://savannah.gnu.org/bugs/download.php?file_id=15005>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?22261>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep