bug-gnustep
[Top][All Lists]
Advanced

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

Re: Panel focus problem


From: Adam Fedor
Subject: Re: Panel focus problem
Date: Fri, 18 Oct 2002 21:35:12 -0600
User-agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.0.0) Gecko/20020610

Enrico Sersale wrote:

After these changes, I'm getting some focus problems with GWorkspace.
The problem consists in a "focus loop" (I don't know how to define
exactly this in English) between the app main window and the
app menu.
If I do a file operation, for example I want to delete a file, an alert
panels shows to get confirmation from the user. When this panel closes,
the menu and the window get alternately the focus until I click on the
window.



Stefan Böhringer wrote:
> On a fresh CVS snapshot the key window is deactivated when I click and
> release on the main menu, which should not be the case.
> Is it a matter of the Window Manager (WindowMaker 0.80)?


I fixed these problems, but not in the way I would like. I'd like to have the app icon get focus (as a last resort) when there are no other key windows, but some focus interaction with WindowMaker prevented me from doing this - It seems like when the app icon is the only key window, WindowMaker will spuriously unfocus it (and sometimes this will cause a wierd focus look that Enrico describes). WindowMaker doesn't treat the app icon the same as other windows so perhaps this is why.

Instead I let the main menu be key, but in most cases it will only become key as a last resort - if there are no other possible key windows.

Try to test it and let me know of any issues. You can try

openapp MyApp.app --GNU-Debug=Focus

to see what's going on with the Focus mechanism.

--
Adam Fedor, Digital Optics Corp.      | I'm glad I hate spinach, because
http://www.doc.com                    | if I didn't, I'd eat it, and you
                                      | know how I hate the stuff.





reply via email to

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