[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #4410] NSDocumentController's -application:openFile: can't work
From: |
nobody |
Subject: |
[bug #4410] NSDocumentController's -application:openFile: can't work |
Date: |
Tue, 22 Jul 2003 06:23:26 -0400 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 |
=================== BUG #4410: FULL BUG SNAPSHOT ===================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4410&group_id=99
Submitted by: esersale Project: GNUstep
Submitted on: Tue 07/22/2003 at 13:23
Category: Gui/AppKit Severity: 5 - Major
Bug Group: None Resolution: None
Assigned to: None Status: Open
Summary: NSDocumentController's -application:openFile: can't work
Original Submission: If you take a not document-based application, for example
ImageViewer, you will see that -application:openFile: is implemented in the app
controller, in this case "AppController.m".
When the app is not active and an other app or tool calls its
-application:openFile: through DO, ImageViewer creates a new window and shows
it:
[window orderFrontRegardless];
[window makeKeyWindow];
[window display];
this doesn't work for document-based applications, because
-application:openFile, implemented in NSDocumentController, calls -showWindow:
in NSWindowController. And NSWindowController's -showWindow: calls
-makeKeyAndOrderFront: for its window.
But NSWindow's -makeKeyAndOrderFront: returns without doing anything if, as in
this case, the app is not active. And the new window is newer shown.
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=4410&group_id=99
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #4410] NSDocumentController's -application:openFile: can't work,
nobody <=