HI Yen-Ju,

>>>> As I said, the first half of the issue is that GNUstep cannot find 
>>>> the
>>>> focused window while it is unmapped. So it deactivates itself.
>>>> This patch transfers the focus to another window in the
>>>> same GNUstep application before it is unmapped,
>>>> therefore, fixes the problem.
>>>>
>>>> The second half of the problem is that after the unmapping,
>>>> window manager tends to actively find another window to focus on,
>>>> therefore, even GNUstep transfers the focus, it still loses it.
>>>> So there is nothing GNUstep can do about it.
>>>> It has to be fixed on window manager.
>>>>
>>>> This patch works for me, but may need to improvement.
>>>
>>> Thanks for working on this!
>>>
>>> After applying your patch I can no longer switch between applications
>>> via clicking on application windows. The clicked window is not put to
>>> foreground!? :-(
>
>   O.K. I can see why it happens. It's another racing issue. :(
>   Well, the patch may need to move to up stream.

Just to complete the picture. I reapplied your patch and installed 
latest Azalea. It does not seem to fix the key focus problem for me. I 
double click on Finder which launches InterfaceBuilder. 
InterfaceBuilder appears in the menu, but Command-n gives me a new 
Finder window. I double click another icon on Finder which launches 
TextEdit.app. TextEdit appears in the menu. I press Command-n and get 
an InterfaceBuilder window. :-)

And there's still this flickering problem when clicking back and forth 
between overlapping windows of different applications (it does not 
occur while staying in the same application).

Obviously a lot racing going on here. :-)

Regards,

   Andreas


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

Répondre à