discuss-gnustep
[Top][All Lists]
Advanced

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

Bug in NSWindow - isVisible method ?


From: Jan Trembulak
Subject: Bug in NSWindow - isVisible method ?
Date: Tue, 10 Apr 2001 11:40:57 +0000

 I think, that there is a bug in NSWindow -isVisible method. When the
window (NSWindow) is miniaturized, the method  '-(BOOL) isVisible'
returns 'YES'. On Openstep for Mach 4.2 this method returns 'NO' .

The result of incorrect implementation of the above method can be
spontaneous deminiaturization of the miniaturized window when the
application attempts to assign the state of keywindow after closing
another key window.

Possible solution would be to set the flag: '_f.visible' to NO in method
'miniaturize' and to set the same flag to 'YES' in method
'deminiaturize' (gui/Source/NSWindow.m).

Jan Trembulak.





reply via email to

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