bug-gnustep
[Top][All Lists]
Advanced

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

[bug #6215] NSApp runModalSession does not return when no events


From: nobody
Subject: [bug #6215] NSApp runModalSession does not return when no events
Date: Mon, 27 Oct 2003 22:49:35 -0500
User-agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.2.1) Gecko/20030228

=================== BUG #6215: FULL BUG SNAPSHOT ===================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=6215&group_id=99

Submitted by: fedor                   Project: GNUstep                      
Submitted on: Mon 10/27/2003 at 20:49
Category:  Gui/AppKit                 Severity:  3                          
Bug Group:  Bug                       Resolution:  None                     
Assigned to:  None                    Status:  Open                         

Summary:  NSApp runModalSession does not return when no events

Original Submission:  Originally a tech support request:

-----------------------------------



Subject: Bug or feature? NSApp runModalSession

Date: Mon, 17 Feb 2003 16:25:58 +0100 (CET)

From: Marko Riedel <mriedel@neuearbeit.de>

To: discuss-gnustep@gnu.org





Hi folks,



I am using Apple's Cocoa documentation, which says this

about

NSApplication's runModalSession:



Runs a modal session represented by session, as defined

in a previous

invocation of beginModalSessionForWindow:. A loop using

this method is

similar to a modal event loop run with

runModalForWindow:, except with

this method the application can continue processing

between method

invocations. When you invoke this method, events for

the NSWindow of

this session are dispatched as normal. This method

returns when there

are no more events. You must invoke this method

frequently enough that

the window remains responsive to events.



The GNUstep implementation is different: IT DOES NOT RETURN

IMMEDIATELY when there are no events for the window. It

waits

instead. The only way I can get it to return is to

generate a few

MouseMoved-Events by moving the mouse.





No Followups Have Been Posted


CC list is empty


No files currently attached


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=6215&group_id=99

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





reply via email to

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