bug-gnustep
[Top][All Lists]
Advanced

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

[bug #34789] performSelector:withObject:afterDelay not working while a s


From: Fred Kiefer
Subject: [bug #34789] performSelector:withObject:afterDelay not working while a sheet is displayed
Date: Sun, 13 Nov 2011 19:58:04 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1

Follow-up Comment #2, bug #34789 (project gnustep):

Actually you did not attach any example code to this bug report. That way I
can only speculate about that actual code.

If your code is using the NSApplication  method beginSheet:modalForWindow:...
then the behaviour you get is what would be expected from AppKit in 10.5.8.
Here the documentation reads:

"It also does not perform any tasks (such as firing timers) that are not
associated with the modal run loop."

If you need your action method to work for sheets you should use the method
performSelector:withObject:afterDelay:inModes: and supply the
NSModalPanelRunLoopMode in modes as well.

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/




reply via email to

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