bugGNUstep - Bugs: bug #6215, NSApp runModalSession does not...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #6215: NSApp runModalSession does not return when no events

Submitted by:  Adam Fedor <fedor>
Submitted on:  Tue 28 Oct 2003 03:49:34 AM UTC  
 
Category: Gui/AppKitSeverity: 2 - Minor
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: Richard Frith-Macdonald <CaS>
Open/Closed: Closed

Thu 19 May 2005 12:05:46 PM UTC, comment #3:

Marked as closed as there was no follow up since the in-test state.

Fred Kiefer <FredKiefer>
Project Member
Thu 08 Jan 2004 12:24:06 PM UTC, comment #2:

I thinkt that this problem did get fixed by Richards patch on exactly that day. What I am not sure about is, if we are using the correct RunLoopMode here. I rather would expect it to be NSModalPanelRunLoopMode.

Fred Kiefer <FredKiefer>
Project Member
Tue 28 Oct 2003 11:09:24 AM UTC, comment #1:

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.

Richard Frith-Macdonald <CaS>
Project MemberIn charge of this item.
Tue 28 Oct 2003 03:49:34 AM UTC, 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: -unavailable-

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.

Adam Fedor <fedor>
Project Administrator

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 6 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Thu 19 May 2005 12:05:46 PM UTCFredKieferStatusNone=>Fixed
  Open/ClosedIn Test=>Closed
Thu 08 Jan 2004 12:24:06 PM UTCFredKieferOpen/ClosedAnalyzed=>In Test
  Carbon-Copy-=>Added richard --AT-- brainstorm --DOT-- co --DOT-- uk
Tue 28 Oct 2003 11:09:24 AM UTCCaSAssigned toNone=>NA
  Open/ClosedOpen=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1