[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug in NSWindow - isVisible method ?
From: |
Adam Fedor |
Subject: |
Re: Bug in NSWindow - isVisible method ? |
Date: |
Mon, 16 Apr 2001 21:23:08 -0600 |
Jan Trembulak wrote:
>
> 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.
>
I think I agree that visible should be unset in -miniaturize (
deminiaturize would automatically set it when it is ordered front).
Although I don't think it solves any AppKit buts - the
-canBecomeKeyWindow checks if the window is miniaturized, so a miniature
window couldn't become key - unless you know of any specific examples
where this does happen.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Bug in NSWindow - isVisible method ?,
Adam Fedor <=