gnustep-dev
[Top][All Lists]
Advanced

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

Re: Menu in window


From: Germán Arias
Subject: Re: Menu in window
Date: Fri, 07 Jan 2011 12:20:16 -0600

On vie, 2011-01-07 at 13:31 +0100, Fred Kiefer wrote:
> Could you please explain the patch you committed? If I understand the
> issue at hand correctly it is about minimizing a window that has an
> active (in-window) menu. And the solution you made was to close the menu
> whenever the mouse leaves it. Is this correct?

Yes

> This just doesn't sound right to me. Shouldn't we rather try to remove
> the menu when the window is minimized or more generally when it is
> removed from the screen.
> 
> Fred

The problem I see here. Is that when a submenu is displayed, the app
don't notice any other event that isn't related with the menu, because
is in a loop. For that reason when you minimize the window, the method
-miniaturize: isn't called. My solution is just close the menu if the
mouse is outside this. I know this isn't the Gnome behaviour. I will try
other solutions, but for the moment I don't have other idea.





reply via email to

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