Follow-up Comment #4, bug #27088 (project gnustep):

Ok, worked on this a bit more. Attached is a patch that implements proper
menu opening and closing. The main remaining problems are:
1. If the user decides to click on a non-GNUstep window to stop the menu
loop, the menus get stuck.
2. User can change focus and drag around windows without the menu loop being
aborted.

I think the main solution to these problems is to cause the menu loop in
-[NSMenuView trackWithEvent:] to be aborted if the mouse is clicked on a title
frame or outside the GNUstep windows.

The patch probably needs review, because the way it achieves what it does is
a little weird.

(file #19512)
    _______________________________________________________

Additional Item Attachment:

File name: GNUstep-GUI-20100118-separate_in_menu_windows.diff Size:16 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?27088>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to