Hello all,

since I encountered focus problems with GNUstep I did some tests:

• I added a menu item "Test" to Finder.app and implemented the 
corresponding method as follows:

- (void)test:(id)sender
{
    BOOL result = [[NSWorkspace sharedWorkspace] 
launchApplication:@"SOObjectBrowser"];
    NSLog(@"result %d", result);
}

• I start Finder.app (SOObjectBroswer is not yet running) and click on 
the test menu item. SOObjectBrowser.app is started as expected and the 
menu (EtoileMenuServer) gets updated correctly.

• I click on a Finder window. Nothing happens. Menu still shows 
SOObjectBrowser. That's wrong!!!

• I click on a Terminal.app window. EtoileMenuServer gets  updated with 
Terminal.

• I click on a Finder window. EtoileMenuServer shows Finder.

• I click on the test menu item again. "result 1" is logged but nothing 
happens. EtoileMenuServer still shows Finder while it should have 
switched to SOObjectBrowser.

Any idea what we can do about that? This is indeed a show stopper (not 
very stable)! :-)

Regards,

  Andreas




_______________________________________________
Etoile-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-discuss

Répondre à