discuss-gnustep
[Top][All Lists]
Advanced

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

Documentation for focus policy ?


From: Yen-Ju Chen
Subject: Documentation for focus policy ?
Date: Mon, 27 Oct 2003 17:51:53 -0500

Hi,

 There is a WindowFocus document in gnustep-back
 though it offers pretty few information.
 I feel that most of the focus problem is due to the lack of document.
 Both GNUstep and window manager try to handle the focus,
 and looking into it on both side is really painful.
 It would be really nice to have some documentation about
 the interaction between GNUstep and window manager.

 For example, iconify doesn't work in StepBox.
 The reason I think is that once StepBox try to iconify
one of GNUstep window, it move the focus to other GNUstep window (or menu).
 When other GNUstep window (or menu) get focus,
 it brought back all the iconified windows.
 So that previously iconified one is deiconified.

 I dump the result from Ink --GNU-Debug=Focus as reference.

 Yen-Ju

=== click on "File" of main menu ===
take focus:4 (current=0, key=0)
Setting focus to 4
Focus already set on 4
8388650 got focus on 4 <=== "File" submenu shows up

=== click on "New Document" on "File" submenu ===
take focus: 6 (current=4 key=0) Setting focus to 7
Setting focus to 7
Focus went to 7 (xwin 8388780)
8388650 lost focus on 4
8388780 got focus on 7

=== Iconify "Untitle-1" window by pressing iconify button
Focus went to 0 (xwin 63)
8388780 lost focus on 7
take focus:1 (current=7 key=0) <=== Focus set back on main menu (by window manager, I guess) take focus:4 (current=7 key=0) <=== Focus set back on "File" submenu (by GNUstep ?)
Setting focus to 7
Setting focus to 7
Setting focus to 7 <=== "Untitle-1" window is deiconified automatically.

_________________________________________________________________
Send instant messages to anyone on your contact list with MSN Messenger 6.0. Try it now FREE! http://msnmessenger-download.com





reply via email to

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