bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #22261] Window turns black during resizing on Win32/MINGW when GSBa


From: Chris Armstrong
Subject: [bug #22261] Window turns black during resizing on Win32/MINGW when GSBackHandlesWindowDecorations==TRUE
Date: Sat, 09 Feb 2008 01:23:05 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12

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/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]