bug-gnustep
[Top][All Lists]
Advanced

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

[bug #16688] "NSInvalidArgumentException: stopModalWithCode: when not in


From: Richard Frith-Macdonald
Subject: [bug #16688] "NSInvalidArgumentException: stopModalWithCode: when not in modal session" when hitting return in textfield.
Date: Mon, 29 May 2006 06:23:20 +0000
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/418 (KHTML, like Gecko) Safari/417.9.3

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

I believe that the 'fix' of disabling -performKeyEquivalent: is incorrect,
since the method is supposed to be sent to all windows.  Certainly in
NexTstep it used to be sent to off-screen panels, not just visible ones.  The
reason for this is that key equivalents for menu items should operate whether
the item is visible or not, and the 'fix' means that menu item key
equivalents no longer work for menus on hidden windows.
Arguably the change breaks more than it cures.

The old NeXTstep documentation suggests that hidden panels should deal with
receiving perfrormKeyEquivalent: messages (see the last para of the
documentation on the old commandKey: method at
http://www.channelu.com/NeXT/NeXTStep/3.3/nd/GeneralRef/02_ApplicationKit/Classes/Panel.htmld/index.html)
and the latest Apple documentation still says that the message should be sent
to every window:
http://developer.apple.com/documentation/Cocoa/Conceptual/BasicEventHandling/Concepts/KeyEquiv.html

This suggests that the bug is in the save panel .. though it's not clear to
me where the correct fix would be.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=16688>

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





reply via email to

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