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: Tue, 28 Oct 2003 06:09:25 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20031010 Debian/1.4-6

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

Changes by: Richard Frith-Macdonald <address@hidden>
Date: Tue 10/28/03 at 11:09 (GMT)

            What     | Removed                   | Added
---------------------------------------------------------------------------
         Assigned to | None                      | CaS
              Status | Open                      | Analyzed


------------------ Additional Follow-up Comments ----------------------------
Looks like a valid problem ... but a good fix has quite a wide scope (changes 
to code well outside the actual method are needeed) ... I'm working on it.



=================== BUG #6215: FULL BUG SNAPSHOT ===================


Submitted by: fedor                   Project: GNUstep                      
Submitted on: Tue 10/28/03 at 03:49
Category:  Gui/AppKit                 Severity:  3                          
Bug Group:  Bug                       Resolution:  None                     
Assigned to:  CaS                     Status:  Analyzed                     

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 <address@hidden>

To: address@hidden





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.



Follow-up Comments
*******************

-------------------------------------------------------
Date: Tue 10/28/03 at 11:09         By: CaS
Looks like a valid problem ... but a good fix has quite a wide scope (changes 
to code well outside the actual method are needeed) ... I'm working on it.


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]