bug-gnustep
[Top][All Lists]
Advanced

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

[bug #25472] NSDocumentController doesn't bring an already-open document


From: Fred Kiefer
Subject: [bug #25472] NSDocumentController doesn't bring an already-open document to the front
Date: Wed, 04 Feb 2009 17:42:18 +0000
User-agent: Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.9 (like Gecko) SUSE

Update of bug #25472 (project gnustep):

                  Status:               Need Info => Invalid                
             Open/Closed:                    Open => Declined               

    _______________________________________________________

Follow-up Comment #5:

So we have reached an agreement that the window is ordered front, it even
gets the key focus for a short time, but in your case it looses that sometimes
again.

As far as gui is concerned things are fine then. We call makeKeyAndOrderFront
on NSWindow, which is what needs to be done. The rest of your problem stems
from the window manager your are using. Newer window managers think that they
know better, which window should have the focus. When an application switches
the focus between windows this code in the window manager prevents the switch
from actually happening.

Last year in a Google Summer of Code project a student tried to resolve this
problem for us. And the situation has improved a lot through his code. Looks
like he didn't succeed for all window managers.

What you may do now is either file another bug report for back, where you
list your window manager and the actual behaviour you are getting. Or if you
want to see any real progress here, start to debug the problem in back
yourself. The starting point is setinputfocus: in the file
back/Source/x11/XGServerWindow.m.





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?25472>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/





reply via email to

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